/* Update error code */ hcan->ErrorCode |= HAL_CAN_ERROR_PARAM; return HAL_ERROR; } check the differences in my code, its almost the same, just syntax differences if ((CAN->TSR & CAN_TSR_TME0) == CAN_TSR_TME0) // ready to transmit in this mailbox. 0 Kudos Reply Dick ...