2018-12-04 01:00 PM
I am using an STM32F4xx processor. I just worked through and tracked down a logic inversion between CubeMX and the HAL implementation, that does not show up in any of my searches. It looks like it got introduced when the CAN libraries were upgraded. In the CubeMX CAN setup page the parameter "No-Automatic Retransmission" actually does the opposite. In the re-written driver, the structure member is "AutoRetransmission" (not No-Auto Retransmit). Looking into stm32f4xx_hal_can.c code, ENABLE for AutoRetransmission clears NART.
2019-03-26 02:29 AM
I stumbled across the same problem on the V1.10.0 firmware package of an STM32F3 processor, and from the things I heard of a colleague working with an STM32F1 I strongly suspect the inversion is also a problem there.