Skip to main content
Visitor II
Apr 10, 2024 6:16 AM UTC
Solved

CANdriver not getting initialised after integrating FREERTOS in AVAS Compact system

We have integrated FREERTOS in the project and checked the communication but getting TXERROR.

CAN Driver itself is not getting initialized.

This topic has been closed for replies.
Max VIZZINI
Max VIZZINIBest answer
ST Technical Moderator
Apr 10, 2024 10:29 AM UTC

Hi,

The code is not structured to be run "as it is" under freeRTOS.

Therefore, it is not enough to add the freeRTOS component but the code needs to be changed.

A specific Init task has to be created to manage all the peripheral initializations.

 

Best Regards,

AutoDevKit Team

1 reply

Max VIZZINI
Max VIZZINIBest answer
ST Technical Moderator
Apr 10, 2024 10:29 AM UTC

Hi,

The code is not structured to be run "as it is" under freeRTOS.

Therefore, it is not enough to add the freeRTOS component but the code needs to be changed.

A specific Init task has to be created to manage all the peripheral initializations.

 

Best Regards,

AutoDevKit Team