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

cross mob
Anony
Level 3
Level 3
25 replies posted 10 questions asked 50 sign-ins

Hello,

I have implemented the Lin communication function based on the example " ASCLIN_LIN_Master_1_KIT_TC397_LK", but I found a problem. Because the Lin communication rate is relatively low, I found a problem with the function shown in the following figure. There is a while (asclin->acknowledgmentFlags.rxResponseEnd != 1)  function in this interface. It needs to be in a waiting state during operation, which will cause other tasks to be delayed.  I want to optimize this interface function. What should I do?

1661175505724.png

0 Likes
1 Reply
Di_W
Moderator
Moderator
Moderator
1000 replies posted 250 solutions authored 100 likes received

Hi Anony,

This flag is set by hardware as below:

dw_0-1661321678466.png

dw

0 Likes