cancel
Showing results for 
Search instead for 
Did you mean: 

HAL_CAN_Transmit behavior for CAN Bus OFF

krishr
Associate II

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!

0 REPLIES 0