I'm trying the can test of TMS570LS3137 Device.
Tx, Rx Interrupt method.
Tx Interrupt does not occur.
Does not call to the Interrupt routine.
I think, wrong setting value at CAN initialization.
please, review My Code. ㅡ.ㅜ;
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.
I'm trying the can test of TMS570LS3137 Device.
Tx, Rx Interrupt method.
Tx Interrupt does not occur.
Does not call to the Interrupt routine.
I think, wrong setting value at CAN initialization.
please, review My Code. ㅡ.ㅜ;
Hello hwang,
Please refer to the example code explaining the set-up for Can communication using interrupts which comes along with Halcogen (example_canIntCommunication.c).
Hope that helps.
thank you..
yes, I'm trying test to example_canInitCommunication.
but TX Interrupt does not occur.
while(tx_done == 0){}; <- waiting (infinite loop)
CAN1 : Message Box1, id : 1, TX, (IF1)
CAN2 : Message Box2, id : 1, RX, (IF2)
use IF2 in canGetData() of can.c . so CAN2 is using MessageBox2.
define in order to test. (66 line from "#if 1" to "#if 0" in ht_can.c )