9S12XEP100 LIN issue with linstack

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

9S12XEP100 LIN issue with linstack

946 次查看
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 项奖励
回复
2 回复数

926 次查看
coezhang
Contributor I

TJA1020 is the reason. NSLP have to be set.

标记 (1)
0 项奖励
回复

913 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @coezhang,

Does it mean it has been resolved?

 

BR, Daniel

0 项奖励
回复