AnsweredAssumed Answered

UART / CAN Transfer examples

Question asked by Fabio Benevento on Jun 22, 2020
Latest reply on Jul 7, 2020 by Fabio Benevento

Based on FRDM-K64 example I use UART and CANBUS in Transfer mode. In this examples (respectively frdmk64f_uart_interrupt_transfer and frdmk64f_flexcan_loopback_transfer), however, in callback only a few status 

are managed, tipically TxIdle and RxIdle, while the actual states are many more. Sometimes the callback return other status, like RxOverrun/TxOverrun or Error and it gets stuck in these states.

How should these states be managed and / or how can I prevent these situations?

Are there more in-depth examples for both the UART and the CANBUS?

 

Thank you in advance!

Outcomes