2024-07-10 05:38 AM
Hi,
When i use HAL_CAN_Transmit to send a CAN message on STM32F4, if say I am in error passive or bus off condition, what error does the API return? If I am in error passive, what is the best way to reset the error count to 0?
Where can i get the error flags related to this as the HAL_CAN_Transmit does not return the error status such as passive or bus off?
There are only two nodes on the bus.
Thanks in advance!