9S12XEP100 LIN issue with linstack

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

9S12XEP100 LIN issue with linstack

938 Views
coezhang
Contributor I

I used a 9s12xep board for the LIN bus and I find I can hardly get signals from the LIN bus.

1.I downloaded the Lin_stack and used the example program 'XEP100_Gateway'.

2. My board used SCI0 and SCI1 for the Lin bus. So I changed the .npf file.

3.The CANoe cannot get any signals from the board.

There is a big difference between the Demo board and my board. The demo board used the MC33905S for LIN bus, and my board used the TJA1020.

I checked my board by a segment of code without lin_stack, the CANoe got the message.

Are there any difference between the two chips? And any solutions? 

Besides, the last segment of tim_init() should be TIM_TSCR1_TEN = 1, right?

Thanks a lot!

0 Kudos
Reply
2 Replies

918 Views
coezhang
Contributor I

TJA1020 is the reason. NSLP have to be set.

Tags (1)
0 Kudos
Reply

905 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @coezhang,

Does it mean it has been resolved?

 

BR, Daniel

0 Kudos
Reply