Hi Vince Toledo
I am working on a project involving LIN communication. LIN module is working in Slave mode.
There were two types of message which i am using for my project:
when the master sends ID(0x10) with DATA, this LIN slave has to just receive the data.
when the master sends only the ID(0x11), this LIN slave has to send the response data.
When I am working, i am confused about how to set the HGEN CNTRL value.
i have used the below link as reference
I am having the problem exactly as in the above link even now.
In the latest manual reference(SPRUI33F) i found the below at 27.3.1.9
But however in the section 27.7.2.21
It is confusing as both were contradict to each other in the manual. which one is right?
1. Since the LIN module is a slave mode what is the value which needs to be set to HGEN CNTRL( 0 or 1?). HGEN CNTRL needs to be 1 for slave mode right?
2. what value to be set for TX mask, RX mask, IDSlaveTask ( for the two types of message explained above) as in the manual explanation were contradict to each other as highlighted in the attached image?
Thanks in Advance!
Regards,
Akshaya Chokkalingam Ramanathan