CANRIER/CSCIE interrupt

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CANRIER/CSCIE interrupt

1,488 Views
patti
Contributor I
Hi, am having a problem with CANRIER/CSCIE
when I set
CANRIER = 0x7F;
and try to transmitt to a CAN-network that is not connected, the debugger says Event Occured.
What should I do?
I have redirrected all CAN error interrupts to a xgate routine.
Thanks In advance
Labels (1)
0 Kudos
Reply
1 Reply

601 Views
Nabla69
Contributor V
Hello,

If the CAN node is not connected to a network, nobody will acknowledge the transmission.

When there is not ACK, a Receive Error occurs, incrementing the RX ERROR counter.
After a while, the module will switch to Error Passive and then Bus Off stopping all transmission.

Chico.
0 Kudos
Reply