Announcements

Help us improve the Power & Sensing Selection Guide. Share feedback

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
Rahul_Infineon
Employee
Employee
First reply posted 10 sign-ins First question asked

Hi,

I downloaded the "Multicore_Empty_App" example project in MTB and added FreeRTOS library to each of the cores and made the necessary changes.

However, I found that the FreeRTOS runs in only one of the cores at any time.

I have created a new function "initSystem(uint8 initType)" where passing "RTOS" will initialize the core to run FreeRTOS, and passing "BARE_METAL" will configure it to run in bare metal mode.

If I start all the cores in BARE_METAL mode then only the CM7_core1 is toggling the LED and other cores are not. If I run any two cores in BARE_METAL mode then the remaining core works as expected.

Please check the attached project.

Thanks,

Rahul 

0 Likes
2 Replies
Gautami_12
Moderator
Moderator
Moderator
50 likes received 100 solutions authored 250 replies posted

Hi @Rahul_Infineon ,

I imported your project and tried building it and found an error.

Gautami_12_0-1715840773731.png

It seems like you have not added the FreeRTOS library. You can add it from the library manager.

You can refer to mtb-example-xmc7000-blinky-freertos code example as the application looks similar.

Warm Regards,
Gautami J

0 Likes
Rahul_Infineon
Employee
Employee
First reply posted 10 sign-ins First question asked

Hi @Gautami_12,

It's building for me, I downloaded the same zip file, extracted it and built it on MTB v3.2. Below is the screenshot of the same.

Rahul_Infineon_0-1715843878849.png

 

0 Likes