Senior III
March 31, 2021
Solved
SMT32CubeMX Can-Setup STM32F446 Auto Retransmit Flag mismatch between Cube and generated code
- March 31, 2021
- 4 replies
- 2158 views
In CubeMX the name for the Automatic Retransmission of CAN-Messages is named:
"NO-AUTOMATIC Retransmission"and is set to "DISABLE"
When reading this I interpreted it as: Automatic Retransmission is done if set to DISABLE
In the generated code however the corresponding setting is:
hcan1.Init.AutoRetransmission = DISABLE;
Which leads to "no Automatic retransmission" and therefore to missing messages in case of high busload !!!
Please correct the wording in STMCubeMX so other users are not falling into the same problem.
BR GS

