Skip to main content
Visitor II
April 10, 2024
Solved

CANdriver not getting initialised after integrating FREERTOS in AVAS Compact system

  • April 10, 2024
  • 1 reply
  • 662 views

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

CAN Driver itself is not getting initialized.

Best answer by Max VIZZINI

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
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