AnsweredAssumed Answered

MCF5235 FlexCAN transmits continuously

Question asked by Julien PONNOU on Dec 16, 2010
Latest reply on Sep 26, 2011 by Riccardo Gennari

Hello,


I'm running into a very strange problem with the FlexCAN. Quick example:

- I'm trying to transmit 0x18DAEEFB | 02-10-7E-FF-FF-FF-FF-BB. It is sent once, no errstat or errcnt, it works fine.

- I'm trying to transmit 0x18DAEEFB | 02-10-7E-FF-FF-FF-FF-CC. FlexCAN is transmitting continuously, errcnt is inscreasing, BIT1ERR, BUSOFF and others bit error are set (BUSOFF interrupt is disabled). The Control/Status register of the MB remains activate. The only way to stop this mess is to set the MB to inactive state by myself. Of course, the frame is sent to the same target, and there are no differences between those two frames for the target. In addition, the target is answering many times as well.

- All the frames are transmitted well (once) using LoopBack mode.

 

This is just one example, but it is doing the same with many frames. My functions are in attachment.

 

Do I do something wrong?

Outcomes