Open TobiNakamura opened 6 years ago
See section 2.3 of DN500 and the infiniteLink example.
Interrupt: GDO is set to mode 2 which will inform the OBC to top up the TX FIFO. GDO transitions to low when the contents of the FIFO falls below the number of bytes specified in register 0x03: FIFOTHR.
This might be a good candidate for a FreeRTOS stream buffer: https://www.freertos.org/RTOS-stream-message-buffers.html (just a thought, I don't know much about them)
They're not available until v10 (we're currently on v9), but upgrading is fairly easy and we'll upgrade for CSDC5/CCP.
CHIME calibration signal will use the infinite packet mode to continuously transmit arbitrary lengths of Gold's Code. Current implementation only supports fixed length packet mode with packet length < FIFO length.