2017-12-14 12:39 PM
Hello!
I think in HAL CAN driver have error in function
HAL_CAN_Transmit_IT
I put part of driver here
on line 13 we see
__HAL_LOCK
(
hcan)
;
next on line 29 we see
if
(
transmitmailbox!=
CAN_TXSTATUS_NOMAILBOX)
and next execute only if statement true
__HAL_UNLOCK
(
hcan)
;
If system haven't free mailbox hcan instense not unlocked. And i cant execute any funtion because his instanse locked.
I'm not sure that I'm right. If I'm not right, explain why it's written like that.
#lock #can-hal_can_transmit_it #can2017-12-15 03:12 AM
Hello ,
Could you precise in which firmware package are you facing this issue ?
Best Regards
Imen
2017-12-18 01:09 AM
STM32L4 1.10.0
2017-12-27 06:57 AM
Hello
_.VBKesha
,We have already passed CAN issues along to our development team.
We would inform you that HAL CAN driver will be reworked in our future releases for 2
Thank you for your contribution.
Kind Regards,
Imen
2017-12-28 12:58 PM
did you fix your issue ?