Not applicable
Nov 28, 2016
10:52 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov 28, 2016
10:52 PM
Hello!
First of all, sorry if I post in the wrong place, I didn't find an specific place for TLE Microcontrollers. I am facing a Problem, and maybe you could help me.
I try to use LIN Communication, but it doesn't work correctly. I configured everything and I get to Interrupt when I receive Information via LIN. For understanding the different steps of the data I receive, I have to work with Flags (EOFSYN and BRK), but These Flags are never set. When I read them, they are always 0.
SYNEN Bit is also enabled. Where could be the Problem? If it is more complicated than a possible easy mistake, and you need the code I wrote, I will kindly update with it!.
UPDATE: The Problem is solved. The cause was a bad configuration of BGSEL for Synch detection!. But I have a question. When Flags SYNCH and BRK are set, it means that the next Byte is the id, but when I read it at SBUF Returns me 0. What could it be?
Thank you.
Kind Regards.
Mjag
First of all, sorry if I post in the wrong place, I didn't find an specific place for TLE Microcontrollers. I am facing a Problem, and maybe you could help me.
I try to use LIN Communication, but it doesn't work correctly. I configured everything and I get to Interrupt when I receive Information via LIN. For understanding the different steps of the data I receive, I have to work with Flags (EOFSYN and BRK), but These Flags are never set. When I read them, they are always 0.
SYNEN Bit is also enabled. Where could be the Problem? If it is more complicated than a possible easy mistake, and you need the code I wrote, I will kindly update with it!.
UPDATE: The Problem is solved. The cause was a bad configuration of BGSEL for Synch detection!. But I have a question. When Flags SYNCH and BRK are set, it means that the next Byte is the id, but when I read it at SBUF Returns me 0. What could it be?
Thank you.
Kind Regards.
Mjag
Labels
- Labels:
-
ispn:8003:1:0
-
l1:408:1:0
-
l2:146:1:0
-
l3:921:1:0
- Tags:
- IFX
1 Reply
Not applicable
Feb 06, 2018
12:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 06, 2018
12:44 AM
If i could ask for the code for LIN frame, can you share it?I am facing the similar problem, It would be great help, thanks in advance.