cancel
Showing results for 
Search instead for 
Did you mean: 

Logic inversion for CAN NART/AutoTransmission

GSpri
Associate

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.

1 REPLY 1
Blacbird
Associate II

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.