Part Number: TMS320F2800157
The microcontroller being used is the TMS320F2800157-Q1.
I am looking for a LIN Responder sample program but have been unable to find one.
Please let me know where I can find the sample program.
Part Number: TMS320F2800157
The microcontroller being used is the TMS320F2800157-Q1.
I am looking for a LIN Responder sample program but have been unable to find one.
Please let me know where I can find the sample program.
Hi Yasushi-san,
The expert is out of office today and will respond to you when they return to office on Tuesday, thank you for your patience
Regards,
Peter
Hi Yasushi-san,
Understood, I will relay this information to the expert
Regards,
Peter
Hi Yasushi-san,
The thread linked here has a working LIN responder example at the end. Please use this for reference, it uses an interrupt approach. Converting to polling should be straightforward - just poll for the interrupt flags in the main loop. Let me know if you have any questions.
Best Regards,
Delaney
Thanks for the reply.
The sample you shared uses a polling method.
How can I modify it to use an interrupt-driven approach?
Hi Yasushi,san,
To move to a fully interrupt-driven approach, you can enable the ID interrupt condition on one of the LIN interrupt lines and perform the same code from MainLoop() inside the ISR.

Best Regards,
Delaney