Hi,
I wanted to know in some very critical timings restrictions can i transmit a CAN message in the CAN receive interrupt. I have configured the CAN peripheral to be handled by the xgate. Is it advisable to do this way?
Thanks in advance.
Solved! Go to Solution.
Doable. Just don't block interrupts waiting (forever) for transfer complete or for free Tx buffer. Is there free Tx buffer? Then fill it and clear buffer flag. All buffers busy? Then postpone Tx and exit.
Edward
Doable. Just don't block interrupts waiting (forever) for transfer complete or for free Tx buffer. Is there free Tx buffer? Then fill it and clear buffer flag. All buffers busy? Then postpone Tx and exit.
Edward