MSCAN Passive Error Handling by aborting the transmission

Started by venkateshwarlu kacham April 12, 2009
Hi All,

We are using the MSCAN in MPC5200B for my project CAN communication.
I am aborting the CAN message whenever there is a TX PASSIVE Error occurs. I
am creating the PASSIVE error by keeping CAN connection open.

My Question is:

The TX error counter values are never reset to ZERO though I did the CAN
initialization. Does MSCAN Error counter register values become ZERO after
every reset?if yes please let me know the complete RESET procedure.

Hence Error counters are not becoming ZERO CAN controller is marinating its
state in PASSIVE only so further unable to get the passive error interrupt
for the new message transmission by keeping the CAN connection open.

Thanks for your time.

Regards,
Venky


http://www.freescale.com/files/microcontrollers/doc/app_note/AN2283.pdf

"As seen at the beginning of the flowchart the REC and TEC of the MSCAN are
set to 0 out of reset."

-rob

venkateshwarlu kacham wrote:
> Hi All,
>
> We are using the MSCAN in MPC5200B for my project CAN communication.
> I am aborting the CAN message whenever there is a TX PASSIVE Error
> occurs. I
> am creating the PASSIVE error by keeping CAN connection open.
>
> My Question is:
>
> The TX error counter values are never reset to ZERO though I did the CAN
> initialization. Does MSCAN Error counter register values become ZERO after
> every reset?if yes please let me know the complete RESET procedure.
>
> Hence Error counters are not becoming ZERO CAN controller is
> marinating its
> state in PASSIVE only so further unable to get the passive error interrupt
> for the new message transmission by keeping the CAN connection open.
>
> Thanks for your time.
>
> Regards,
> Venky
>
>