Skip to content

problem with device tree overlay at86rf233  #1294

@smlng

Description

@smlng

Hi,

I use the openlabs IEEE 802.15.4 transceiver, which actually is an Atmel at86rf233 connected via SPI. There is a device tree overlay in /boot/overlays/ and if I enable it in /boot/config.txt the kernel correctly identifies the atmel transceiver, using wpan-tools I am able to setup a 6LoWPAN device or monitor. However, all frames are somehow garbled and discarded by the network stack or kernel.

If I configure a monitoring device and use tshark or something similar on it to observer 6LoWPAN traffic between 2 other nodes. I see IEEE 802.15.4 packets but their content is garbled, i.e., src and dst addresses are incorrect and so on. However the observed 2 nodes communicated successfully, its just the monitoring node with the at82rf233 that is unable to receive correct packages. Moreover in dmesg I see lots of message like this:

[   77.614344] ieee802154: bad frame received (type = 0)
[   78.608092] ieee802154: bad frame received (type = 6)
[   79.607217] ieee802154: bad frame received (type = 0)
[   80.625539] ieee802154: bad frame received (type = 0)
[   81.617464] ieee802154: bad frame received (type = 0)
[   82.617518] ieee802154: bad frame received (type = 6)

This only happens when I use Raspbian with default Kernel and the at86rf233 overlay. A self compiled kernel using this guide does work. The major difference is, that it uses bcm2835 configs and not bcm2708 configs for Pi b or b+ and it recompiles device trees, so no overlays involved here.

Has somebody else problems with the at86rf2xy transceivers. I think something is wrong with device tree definition for bcm2708 and the params for SPI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions