The CANX_TX_IRQ is called unexpected cause the HAL_CAN_Receive_IT enables the CAN_IT_TME. As a result every can rx irq also the can tx irq is called.
This costs time and i've some other side effects in my application.
In the F3 Lib the CAN_IT_TME is not enabled in the HAL_CAN_Receive_IT.
Am I wrong ?
Must STM change the Library ?
I've changed the following:
// __HAL_CAN_ENABLE_IT(hcan, CAN_IT_EWG |
// CAN_IT_EPV |
// CAN_IT_BOF |
// CAN_IT_LEC |
// CAN_IT_ERR |
// CAN_IT_TME );
__HAL_CAN_ENABLE_IT(hcan, CAN_IT_EWG |