when I made the miss wire connection of CAN bus the CAN went to bus off state and it never recovers from it. it was recovered only after power cycle. I was tried with both manual and Auto recovery settings in control register
Hi sivakumar
first may be recommended to verify the physical configuration on custom board as
flexcan is very sensitive to it.
The flexcan transmitter may not send any data because the receiver was wrongly
detecting that the bus was currently in use.
The STBY signal may be always on, keeping in low power mode the flexcan module,
therefore, it does not listen to anything.
Flexcan module can be tested with unit tests:
doc\can\test - imx-test - i.MX Driver Test Application Software
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------