Question
How can i get CAN Error code
Dear
I use bxCAN new HAL library
I register notification by calling "HAL_CAN_ActivateNotification" and enable the following
CAN_IT_ERROR and CAN_IT_LAST_ERROR_CODE and CAN_IT_BUSOFF and CAN_IT_ERROR_PASSIVE and CAN_IT_ERROR_WARNING.
I'd implemented HAL_CAN_ErrorCallback this function
I'd try to do the following things
- connect CAN-H to ground
- connect CAN-H and CAN-L PIN
But there's no error notification happening ,
Is there anyone know how to produce CAN ERROR
Thanks
