Join our technical discussions about Freescale Microcontrollers: M68HC12. (Freescale Semiconductor is a Subsidiary of Motorola).
MSCAN Passive Error Handling by aborting the transmission - venkateshwarlu kacham - Apr 12 3:29:59 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
[Non-text portions of this message have been removed]
------------------------------------

(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )
Re: MSCAN Passive Error Handling by aborting the transmission - Rob Milne - Apr 14 0:17:49 2009
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
>
> [Non-text portions of this message have been removed]
------------------------------------
______________________________
Stellaris® MCU Family: New Parts, New Package, New Price.
(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )