Other Parts Discussed in Thread: HALCOGEN
Hi there,
I tried to make a communication between PC and RM46L852 with CAN interface (TCAN1044).
Transmitted data to PC was successfully confirmed using can analyzer.
But no data was not recognized by RM46L "newdata register" when a message sent by can analyzer.
I checked DCAN updated registers before/after sending message and then ErrStat 0x00000007/0x00000010 .
I made a test code based on can demo code (HALCogen).
#define can1 canREG1
/*... wait until message receive on can1 */
while(!canIsRxMessageArrived(can1, canMESSAGE_BOX2));
<- stuck here! even sending message, canMESSAGE_BOX2 ID=2
canGetData(can1, canMESSAGE_BOX2, rx_data); /* receive on can1 */
Which register should I confirm ?
Any advice is helpful for me.
Thanks in advance.