Is there a good example on how to restart CAN after it turns off due to too-many bus errors?
I have a CAN bus with a lot traffic and its quite normal for a particuar device to fail on re-transmit a large number of times.
When it happens, i would like the MCU to detect it and restart the node after a fixed time period.
I dont have a requirement to adhere to any standards in my project.
Also i dont really understand how to "(128 occurrences of 11 consecutive recessive bits monitored on CANRX)" as per the standard documentation with respect to using the ABOM for this.
Im running FreeRTOS and HAL on an STM32F107, but i guess any clue to an stm32 example would be great.