Skip to main content
Visitor II
April 10, 2024
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
April 10, 2024

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
April 10, 2024

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