AnsweredAssumed Answered

LPC54608 Can Driver

Question asked by fatih ozen on May 23, 2018
Latest reply on May 24, 2018 by Kerry Zhou

Hello,

 

I have OM13092 Dev. Board and using mcan_loopback example. I changed it little bit and receiving some datas on canbus. I know what datas should seen on canbus. There is a problem or I miss something. When I use semihost console datas have expected values. In second byte(column) I must see all zeros.But if I use UART console I see there some non-zero values. What does cause this ?
/*

for(int a=0;a<8;a++) {rcv_data[a] = *(rxFrame.data + a);}

 

Can_get_ID = rxFrame.id>>18U;
PRINTF("GET_ID: %x", Can_get_ID);
PRINTF(" DATA: ");
{PRINTF(" %d %d",rcv_data[0],rcv_data[1]);}

*/

Outcomes