Enrico L

Capture CAN "error frame" in S12X

Discussion created by Enrico L on Nov 22, 2010
Latest reply on Jan 24, 2011 by H?kan Dahlberg

hi all,


To be specifc, we are using MS9S12XS256 automotive microcontroller to transmit and receive CAN messages with other nodes within the CAN bus.  We want it to capture and flag every single error frame happening within the CAN bus, but as far as we know, the S12X chip can only generate an interrupt when it goes beyond 96, 128, and 256 error frames.


Is there any way where we can interrupt the chip as soon as it receives a single error frame (just like the Vector Canalyzer)?


Thanks in advance!