Skip to main content
Bertrand1
Senior
August 8, 2018
Question

STM32CUBE F3 V1.10 CAN change?

  • August 8, 2018
  • 3 replies
  • 617 views

Hello,

Where I can find a list of change with this version about HAL_CAN. The compatibility has been broken but there is an exhaustive list of modification?

Thanks

Bertrand

    This topic has been closed for replies.

    3 replies

    Tesla DeLorean
    Guru
    August 8, 2018

    Seem to recall seeing a post the other week breaking down the new CAN model and differences.

    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
    Technical Moderator
    August 9, 2018

    Hello @Bertrand​ ,

    Please find below the main changes noted in the release note for the new HAL CAN driver:

    CAN driver API's compatibility is broken:

    • A new HAL CAN driver has been redesigned with new APIs, to bypass limitations on CAN Tx/Rx FIFO management present with previous HAL CAN driver version.
    • The new HAL CAN driver is the recommended version. It is located as usual in Drivers/STM32F3xx_HAL_Driver/Src and Drivers/STM32F3xx_HAL_Driver/Inc folders. It can be enabled through switch HAL_CAN_MODULE_ENABLED in stm32f3xx_hal_conf.h
    • The legacy HAL CAN driver is also present in the release in Drivers/STM32F3xx_HAL_Driver/Src/Legacy and Drivers/STM32F3xx_HAL_Driver/Inc/Legacy folders for software compatibility reasons. Its usage is not recommended as deprecated. It can however be enabled through switch HAL_CAN_LEGACY_MODULE_ENABLED in stm32f3xx_hal_conf.h

    It would helpful to use a diff between the two versions to see the main changes.

    Hope this helps you.

    With Regards,

    Imen

    In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
    Bertrand1
    Bertrand1Author
    Senior
    August 9, 2018

    Thanks for your reply :

    To Clive : Not enough familiar with this new forum to find any question about it. I will make more effort next time ;)

    To ST : I have obviously read the release note but it is a bit weak to understand whats means "limitations of CAN FIFO...". In the same time, the data structure has change...

    At the end, I spent time to use this version ( because of a bug of CubeMX where it is difficult ( or not possible!?)  to revert to a previous FW version. I am wondernig if I have not forget to implement something with this new version even it seems to work up to now.