Resend : Reading corrupt IEEE 802.15.4 packages with the AT-REB233 and the BeagleBone Black with IWPAN

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear IWPAN Team,

I’m not sure if you received my last mail because it get's declared as spam because of using HTML.
Maybe there is a Problem with the Attachment (I’ve upload it to Dropbox).

Original Mail:
We (university of applied since Munich) are developing a multi-sensor Sniffer for IEEE 802.15.4 Networks, basted on your Linux-WPAN and the AT86RF233 Chip (with the REB233-XPRO). We connect the REB233-XPRO with a BeagleBone Black and implement the AT-REB233 chip as Network interface (via iwpan).
The Beaglebone (BBB) is with at AT-REB233 via a 1Mhz SPI connected.

The AT-REB is so configured, that after a frame has received it send a interrupt to the BBB with can then read out the Frame Buffer. The connection with the BeagleBone Works fine, but sometimes the network interface reads corrupted date. That package starts normal but after +/- 6 Byte the frame gets (at most) periodical byte sequence like (0xff 0 x30 0xf0 0x00 | 0xff 0 x30 0xf0 0x00 | ….).

We could evaluate, that the packages get corrupt after following situation:
- AT-REB233 sends a first interrupt
- The BBB ask what kind of interrupt it is and starts reading the Framebuffer - The AT-REB sends a second interrupt after about the sixed Byte of the Framebuffer. Since this second interrupt the content of the Frame Buffer is corrupt (detectable by the byte sequence). After the BBB has read the (corrupt) framebuffer it starts a new read (because of the second interrupt signalized that there are new data available), usually this is a ACK. Might it be possible that the AT-REB233 received a new Data-Frame and overwrite the current Framebuffer after receiving the new (ACK)Package ? The AT86RF233 does have a Framebuffer Protection (Section 9.3 in the Datasheet of the AT86RF233) (Dynamic Frame Buffer Reg 0x0C bit: 7 section 11.8 in the Datasheet) ore by setting PLL_ON in the TRX_STATE Register (Reg: 0x02 9.3.1)
But I do not see such a configuration. May I have overseen it?

I have a PCAP package and a Logic dump attached. The logic dump could be analysed with the SALEAE Logic Tool(https://www.saleae.com/downloads )
This errors could be seen e.g. at and sec. :
- 10.099
- 11.428
- 11.433
- 28.218
I would be very grateful if you can help us with this problem.

Attachment’s : https://www.dropbox.com/sh/3mj7o7vo8hsjp0j/AADHI__q4fqZ51S1Ib_yyrNja?dl=0
Best Regards
Sebastian Balz

--
To unsubscribe from this list: send the line "unsubscribe linux-wpan" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux