Hi all. I have two devices connected to CAN bus, when I check data stream between devices, all is ok, devices exchanged information. I read RID/ TID and all registers correctly, but I have a problem with CAN1 receive interrupt. I set register CAN1_IE to 1 (allow only Receiver interrupt), define routine of RX, enable RX interrupt, but when I send data from devices 1 to 2, interrupt not occurs, but when I read RID/TID, information is correct. Connection of RX to the VIC is 21. Acceptance filter is disabled CAN_AFMR = 0x00000001. Transmit interrupt works fine. Any sugestions, how to fix the CAN1 RX interrupt, or can you to place any correct code, I compare it. Thanks
Message
CAN 1 receive interrupt
2006-03-03 by Boris Kralik
Attachments
- No local attachments were found for this message.