LIN not working on S32k148EVB-Q176 rev-A

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

LIN not working on S32k148EVB-Q176 rev-A

1,758件の閲覧回数
rishabh_10
Contributor I

Hi,

I am working on s32k148 and was trying out nxp LIN MBDT example.

I went through Introducing the LIN communication blocks of the nxp MBDT & I made the changes according to the datasheet also.

I came across with knowing that there are 2 channels on S32k148evb Q176 rev-A board for LIN(LIN1 & LIN2), but also saw that in nxp MBDT LIN Block(Example:-lin_master_s32k14x) there are 3 channels(0, 1 & 2).

So my question is that why 2 channels on the board & 3 channels in nxp block(for example:-lin_master_s32k14x)?

1.) I am not getting any frame on LIN instance 2 for connections made are follows:-

LIN2 TX - PTA9(LPUART2_TX)

LIN2 RX - PTA8 (LPUART2_RX)

I am checking for frame on PTA9(pin J2-23 according to datasheet) and not getting any frame on logic analyzer.

2.) And when i am checking on LIN instance 0 for connections made are follows:-

LIN1 TX -PTA3(LPUART0_TX) (Why mentioned as LIN1 for LIN instance 0)

LIN1 RX - PTA2 (LPUART0_RX) (PTA3 & PTA2 appears when selected LIN Instance 0)

As i am getting the frame on PTA3(pin J1-4 according to datasheet) on logic analyzer, the problem here is if i select LIN instance 1 then according to the screenshot i attached other pins appear which doesn't have LIN feature on them.

And similarly when i am getting a Frame on PTA3 which is LPUART0_TX but not receiving frame on LIN 1 pin(on logic analyzer) according to 2nd image attached and similarly not receiving frame on LIN 2 pin configured nor on PTA9(LPUART2_TX).

I have also tried to check for frames on Lin 1 & gnd and Lin 2 & gnd pins on J3 as mentioned in Datasheet(attached last image for reference)

I am also attaching the model file for you to test which is a nxp MBDT example.

Please provide me with the solution to get frame on LIN 1(J13) and LIN 2(J17) using MBDT.


Thanks,

Rishabh

タグ(1)
0 件の賞賛
返信
1 返信

1,752件の閲覧回数
rishabh_10
Contributor I

Forgot to attach the nxp MBDT file.

0 件の賞賛
返信