does CAN Receive interrupt works in LOM mode also?
If LOM bit is asserted in Freeze mode, the FlexCAN module enters Listen-Only Mode.
Transmission is disabled, all error counters are frozen and the module operates in a CAN Error Passive mode. Only messages acknowledged by another CAN station will be received. If FlexCAN detects a message that has not been acknowledged, it will flag a BIT0 error, as if it was trying to acknowledge the message. RX interrupts are functional in LOM mode normally.
Attached if simple example I did for TRK-MPC5606B. CAN0 is used to send message, CAN1 to receive it with a help of RXFIFO.
I have added CAN2 to work in LOM mode to receive all standard ID to MB0 and extended IDs to MB1. Interrupt is enabled.
Thank you Petr Stancik.
Assuming that there are only two nodes. one configured in LOM mode and the other in Normal mode transmitting a periodic message.
since there are no other nodes to ACK the message transmitted by Normal mode, will the node in LOM mode will just flag a BIT0 error or will it flag a BIT0 error as well as receive the message in the configured MB.
I am yet to get my evaluation board to do this. will post again once i have the board.
Thanks for your input.
You will get just a Bit error. No message is received.
Retrieving data ...