This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi expert,
My customer would like to receive CAN message without using interrupts. They are looking for registers for polling.
How do you think we are going to use CAN_ES or CAN_GLB_INT_FLG to do that? Please let us know your recommendations here.
Thanks
Sheldon
They can use RxOK bit in CANES register. Please download my Application report http://www.ti.com/lit/sprace5 . I have shown how to do this for a Tx MBX, but the principle is the same.
// // Poll TxOk bit in CAN_ES register to check completion of transmission // while(((HWREGH(CANA_BASE + CAN_O_ES) & CAN_ES_TXOK)) != CAN_ES_TXOK) { }