TLE9844QX microcontroller LIN communication code problems

Announcements

Webinar: Integrated solutions for smaller, simpler low-voltage motor control design.
Join the webinar to experience!

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

cross mob
wang1
Level 4
Level 4
50 questions asked 10 likes given First solution authored

Everybody is good! I am learning to use the single-chip microcomputer TLE9844-2QX. After downloading the official LIN communication code to the single-chip, I can send and receive data. But NOW I need to change the ID, I can't find where in the program I can change it, the default ID is 12 now, I want to change it, please tell me how to do it? Thank you for your attention.

wang1_0-1657106335337.png

Fig1 Source code interface

wang1_1-1657106539522.png

Fig2 The official routine

wang1_2-1657106610678.png

Fig3  ID

 

 

 

0 Likes
1 Solution
Raj_C
Moderator
Moderator
Moderator
250 solutions authored 500 replies posted 50 likes received

Hi @wang1,

Thanks for your patience!!

You can try using the following functions to change the PID of the LIN.

l_set_pid_frame(x,y)

l_sch_change_pid (l_u8 old_pid, l_u8 new_pid);

Please, let us know if this helps.

Thank you

Best Regards

Raj Chaudhari

View solution in original post

0 Likes
1 Reply
Raj_C
Moderator
Moderator
Moderator
250 solutions authored 500 replies posted 50 likes received

Hi @wang1,

Thanks for your patience!!

You can try using the following functions to change the PID of the LIN.

l_set_pid_frame(x,y)

l_sch_change_pid (l_u8 old_pid, l_u8 new_pid);

Please, let us know if this helps.

Thank you

Best Regards

Raj Chaudhari

0 Likes