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.
In CAN_readMessage function from C2000Ware examples, is there any possibility to remove the wait for the busy bit to clear, this while, (while ((HWREGH (base + CAN_O_IF2CMD) & CAN_IF2CMD_BUSY) == CAN_IF2CMD_BUSY)), so the whole program execution to not be delayed?
Cosmin,
That wait is there for a reason (to prevent any contention). It is only for 4 t0 14 clock cycles, so overall impact to application is minimal.