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
khaledhassan
Level 3
Level 3
25 sign-ins First solution authored 25 replies posted

Hi I can use 

sendUARTMessage(msg, count)

 

only from core-1. How to use it from all available cores?

0 Likes
1 Solution

khaledhassan_0-1713856598501.png

After using mutex it is fixed 

boolean flag = IfxCpu_acquireMutex(&lock);

if (flag)

{

sendUARTMessage(msg, strlen(msg));

IfxCpu_releaseMutex(&lock);

}

View solution in original post

0 Likes
2 Replies
Ulises_L
Moderator
Moderator
Moderator
50 solutions authored 100 replies posted 100 sign-ins

Hi @khaledhassan 

This is not an iLLD function, Is this a function from a example program? 
In that case, can you provide the name of the example?

BR,
Ulises

0 Likes

khaledhassan_0-1713856598501.png

After using mutex it is fixed 

boolean flag = IfxCpu_acquireMutex(&lock);

if (flag)

{

sendUARTMessage(msg, strlen(msg));

IfxCpu_releaseMutex(&lock);

}

0 Likes