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

MOTIX™ MCU Forum Discussions

wang1
Level 1
5 questions asked 10 sign-ins First like given
Level 1

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 Reply
Raj_JC
Moderator
Moderator 250 sign-ins 25 likes received 50 solutions authored
Moderator

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