- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I have questions about ASCLIN communication in TC36x.
I want to send response to header of master node in slave mode for LIN communication using RX interrupt.
I configure to enable interrupt when EVB receives header from masternode by setting FLAGSENABLE.RHE bit.
actually the interrupt occurs when the EVB received header, but doesn't happend exactly.
I expected to happen interrupt after STOP bit of ID field in header frame, but interrupt is occured before STOP bit.
so now, I implemented to send response function in RX interrupt service routine. Sometimes, It has frame error problem that response frame overlaps the end of header frames (overlaps stopbit of ID field). I checked this situation with a scope.
I don't know what I am missing to configure. I want solution about this problem.
thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please refer to 36.3.7.3 LIN Slave Sequences in user manual. If any question please feel free to ask.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello dw, thank you for your reply to me
I refered to 36.3.7.2 LIN Master Sequences in user manual. because I want to send response to the latest header.
Can I use this sequence in RX interrupt service routine? After EVB receives header from master node, It has a RX interrupt and I implement user manual sequence in RX ISR
but I dont know why response frame overlaps the end of header frame(exactly stopbit of ID Field) that is transmitted by master node.
So, I guess that RX interrupt is occured earlier than expected. and than EVB sends response before header frame end (stopbit)
- RX interrupt timing in id field of header frame
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Have you checked there is any settings about the delay after Stop Bit? I have not fully examined the part, please read the manual to look up the delay or something else?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello dw,
I can't find delay parameter in this MCU. and I configure stopbit to 1 cuz LIN communication is neccesary 1 stopbit.
I will also read more user manual to find about this situation to configure.
thank you.