2016-02-16 10:59 AM
2016-02-18 07:21 AM
Hi marco,
I would like to know which CubeMX version are you using?With CubeMX 4.13, you shouldn't face the described issue.This is because there was a bug in the function HAL_CAN_Transmit_IT when no mailbox is available and it was fixed in the STM32CubeF4 V1.11.0 package (the one used by MX 4.13).-Mayla-To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2016-02-18 08:03 AM
I use Version 4.13.0 Firmware Package 1.3.1.
If you check the code, when you have Mailbox full, you will exit from function with ''Process Locked '' and function return HAL_OK. So you can't know if MailBox are full !Regards2016-02-19 08:22 AM
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2017-01-25 06:08 PM
Yes. I also found this bug. Additional, although mailbox is empty, it always shows 'HAL_LOCKED'.
So, we can check the LOCK status and return value after the function is called.
If HAL_LOCK and HAL_OK, it indicates that mailbox is full.
Regards