Hi,
I have no idea how I can get busoff state after CANXTFLG = CANXTBSEL to set TXE as full.
Br
Cindy
Hi Cindy,
The MSCAN module will go into busoff state when TX error counter reach value 255. Several types of error could increase TX error counter, but the simplest way how to get busoff state is transmitting any CAN message while we short CANH and CANL lines.
I hope it helps you.
Have a great day,
Radek
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------