This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I have a question that I’m hoping you can help me with. I’m completely new to LIN and I could use a little help getting a LIN network functioning using a tms320f28035 controller. My setup is a controller attached to a TLIN2029EVM that is connected to another TLIN2029 and controller using the LIN line. One controller is set as the master and the other is set as the slave each having their own firmware based on the “lina_external_loopback” example found in C2000 ware. I am able to get data on the bus from the master but I can't get a response from the slave. I’m not sure how I need to setup up the TXIDMASK, the RXIDMASK the IDSLAVETASKBYTE and the IDBYTE values on both the master and slave sides of the network. Does an example exist that demonstrates how to setup and init both the master and the slave to send and receive data?
Hi Lee,
Let me check to see if there is an internal example that we have written and I will get back to you as soon as possible.
Best,
Marlyn
Hi Lee,
Unfortunately, we do not have an example that demonstrates how to setup and initialize both of the master and slave.
For information on setting up the TXIDMASK, the RXIDMASK the IDSLAVETASKBYTE and the IDBYTE values please refer to the post below. There is an example that can help you setup the masks, while this is for the F28004x device it is also applicable to the F2803x device.
https://e2e.ti.com/support/microcontrollers/c2000/f/171/t/803495#pi320995=1
Best Regards,
Marlyn