2019-12-03 10:53 AM
I want use the CAN on a STM32F103.
I note some difference between HAL documentation I have, and the HAL driver.
The documentation is UM1850 rev 20 (april 2017).
I don't know the version of the HAL driver, it's in STM32CubeIDE 1.0.2
for example, in documentation, there is a "CanTxMsgTypeDef" with StdId, ExtId, IDE, RTR, DLC and Data
in HAL driver, ther is no "CanTxMsgTypeDef" but a "CAN_TxHeaderTypeDef" with StdId, ExtId, IDE, RTR, DLC but without data.
There are some differences like this between documentation and real driver, and it's more difficult to use it.
Does an updated documentation exist ?