S32K144EVB-Q100 LIN

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S32K144EVB-Q100 LIN

1,284件の閲覧回数
tkubincova
NXP Employee
NXP Employee

I have a S32K144EVB-Q100 board that has a MCZ33903 SBC that supports LIN. I would like to use it in an application, but I cannot seem to make the LIN example (Lin_Lpuart_MasterFrameTransfer_S32K144) work. It always ends with a timeout and the T_LinStatus remains in LIN_TX_BUSY. If I look at the LIN_TX line going to the SBC, I can see the sync and the break field get transmitted, but it never transmits the PID.

Screenshot 2025-01-05 175857.png

In the code, the LinCurrentState->CurrentNodeState gets set to LPUART_LIN_IP_NODE_STATE_SEND_SYNC but the Lpuart_Lin_Ip_FrameIrqHandler newer gets called afterwards.

I am assuming that no external connections are needed as there's nothing written in the description file.

Does anyone know what might be causing this?

I am using S32DS 3.5 and S32K1_S32M24X Real-Time Drivers Version2.0.0.

0 件の賞賛
返信
3 返答(返信)

1,229件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi Tereza,

seems you must have some older board, probably FRDMPK144, where MCZ33903 is used. On 
new one simple TJA1027 is used as LIN transceiver. RTD demo does not cover MCZ33903 and seems you will need to enable internal LIN transceiver & LIN termination to make example functional.
Below AN could help I think, 
https://www.nxp.com/docs/en/application-note/AN4770.pdf

BR, Petr

0 件の賞賛
返信

1,216件の閲覧回数
tkubincova
NXP Employee
NXP Employee

Hello,

I found another one that should have TJA1027, but the problem is the same

Screenshot 2025-01-05 161140.png

the break and sync get sent, but nothing else and the example results in timeout.

I cannot find the schematic for the SCH-29248 REV A board, but it's visible that the TJA1027 is there

Media (2).jpgMedia (1).jpg

0 件の賞賛
返信

1,187件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi Tereza,

unfortunately I do not have revA schematic, try revB, it would be similar, https://www.nxp.com/webapp/Download?colCode=S32K144EVB-SCH-29248-RB
Still this looks some very old board, probably with preproduction device. I can recommend to get some new one.
Anyway you need to power board with external 12V so TJA1027 will be powered, and be sure its /SLP pin is held high so transceiver is in Normal mode.

BR, Petr

0 件の賞賛
返信