AnsweredAssumed Answered

Listen Only Mode of CAN Controller LPC1759

Question asked by Gopal Jatiya on Feb 7, 2018
Latest reply on Feb 13, 2018 by jeremyzhou

Hello,

 

I am trying to build a silent listener on the CAN Bus. I have configured the CANMOD to "Listen Only Mode".

I keep on getting the BUS Error. When i look at the details of it in CANICR, I can see that it is a "form Error".

Method of testing:

Using a PCAN I m sending a message on the CAN Bus. I have a CAN transeiver between the CAN lines and the LPC pins. I can see the the message is received in the buffer but the receive interrupt is never hit. I have enabled the receive interrupt and also enabled the CAN interrupt on the NVIC.

Can someone please let me know what am i doing wrong here, as i can see data in the buffer but receive interrupt is never getting hit. Is there something which I am missing. I can share more details if required to solve this issue.

Outcomes