I'm developing a CAN bus app with MK22FX512VLQ12 Kinetis microcontroller with KDS and Processor Expert. I want to handle manually the "Bus off recovery mode" when I detect the "Bus Off" error in the bus. At page 1179, Register CAN0_CTRL1, bit 6 BOFFREC it specified that an automatic recovery request is available (enabled or disabled). My questions are:
1) If I assert this bit so as to enable the automatic recovery mode to, is there any way to detect that the Bus has been recovered successfully? If yes, how?
2) Is the SYNCH bit (CAN0_ESR1 register, page 1186) suitable to detect an automatic bus recovery?
3) And finally, must I reset any register or to do a soft reset of the CAN peripherical?
Thank you very much.