[riot-notifications] [RIOT-OS/RIOT] drivers/cc110x: Complete rewrite from scratch (#10340)

Marian Buschsieweke notifications at github.com
Fri Feb 1 15:28:35 CET 2019


@kaspar030 is 99% right. The TX buffer (called TX FIFO in the data sheet) is indeed 64 Byte in size and up to 255 Bytes (including the length field 256 Bytes) can be send without "large packet mode", but require re-feeding the TX FIFO before it is completely drowned.

The "large packet mode" is a hack. The transceiver has a register than contains the number of bytes still left to send/receive. In normal mode this is decremented for each byte sent/received. In large packet mode this register is not changed, so that the transceiver keeps sending/receiving forever. E.g. if a 1280 byte frame is coming in and 1260 bytes have been received and >= 20 bytes are available in the RX FIFO, the driver could write 20 into that register and instruct the device to leave "large packet mode". Then the transceiver would stop receiving after 1280 bytes and continue with CRC calcuation, would store the LQI and RSSI values as usual. But obviously, timing is very delicate for this to work. If the driver would re-enable normal operation to early or to late, less or more bytes then needed are received/transmitted.

This PR does not implement the "large packet mode", because I believe that 6LoWPAN fragmentation will be more reliable than this.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/10340#issuecomment-459740042
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190201/a5783eae/attachment.html>


More information about the notifications mailing list