KEA128 and LIN Stack can not communicate?

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

KEA128 and LIN Stack can not communicate?

1,187 次查看
2093509122
Contributor I

Question 1:

I downloaded the

FSL_LIN_2.X_STACK\Examples\Kinetis\KEA128\KEA128_LIN_slave program to the KEA128MLH4 (64pin) board. My KEA128 is a slave. I use Vector VN1630 as the LIN host. But I did not see the response signal of KEA128 on the lin bus. The oscilloscope detects UART0 RX, the signal is a LIN format signal, and the oscilloscope observes UART0 TX signal, and the signal is a square wave signal with a 50 ms interval.

VN1630 observation LIN data

VN1630 IG sends data

To sum up, I used to test on the TRK-KEA128 board. The wiring is followed by TRK-KEA128 J14-1  GND, J14-2 floating, J14-3 connecting 5V, and J14-4 connecting to the VN1630 LIN line. I have also observed similar results on the oscilloscope

. Question 2:

       Aside from the problem mentioned above, I used Codewarrior 10.7 to generate code using ProcessorExpert. I found that I had to configure the UART0_Init and FTM1 modules, otherwise the code would enter the PE_Unhandler exception interrupt. I want to know the precautions for porting demo code to my own code, especially interrupting that piece.Note, especially the interruption of the piece. In addition, due to the project reasons, after I finally realized the communication, I had to change the timing of the FTM module to the PIT module. Can it be achieved? My three-module FTM module has been used up.I look forward to your reply, I have been stuck for more than a month.

Best Regards

Mark Zhao

0 项奖励
回复
1 回复

1,066 次查看
Alexis_A
NXP TechSupport
NXP TechSupport

Hi Zhao Hao,

I will answer your question in the following thread:

https://community.nxp.com/thread/506285

Best Regards,

Alexis Andalon

0 项奖励
回复