S32K344 LIN ONLY SEND HEADER

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

S32K344 LIN ONLY SEND HEADER

ソリューションへジャンプ
612件の閲覧回数
JAY_SUN1
Contributor II

Hi Sir,

We develop S32K344 with RTD2.0.0 now, but we meet some problem for LIN. We would like to send header only by UartLin but we don't find suitable Funtion. Please help to check it and let us know the solution. Thanks.

 

 

0 件の賞賛
1 解決策
595件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

if referring to, for example, Lin_Ip_FrameTransfer_S32K344 example, below function is used to send frame

PetrS_0-1664983029276.png

Second parameter of Lpuart_Lin_Ip_PduType_structure contains info about LIN frame, in example 

PetrS_1-1664983244268.png

A Drc specifies response type, which can be 

PetrS_2-1664983322829.png

First is master sends heder+data, second master sends header and wait for data from slave and the last one master sends header and ignores response from slave.

So use 2nd or 3rd response type, as per your needs.

BR, Petr

元の投稿で解決策を見る

0 件の賞賛
2 返答(返信)
596件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

if referring to, for example, Lin_Ip_FrameTransfer_S32K344 example, below function is used to send frame

PetrS_0-1664983029276.png

Second parameter of Lpuart_Lin_Ip_PduType_structure contains info about LIN frame, in example 

PetrS_1-1664983244268.png

A Drc specifies response type, which can be 

PetrS_2-1664983322829.png

First is master sends heder+data, second master sends header and wait for data from slave and the last one master sends header and ignores response from slave.

So use 2nd or 3rd response type, as per your needs.

BR, Petr

0 件の賞賛
585件の閲覧回数
JAY_SUN1
Contributor II

Hi Petr,

Thanks for your prompt reply.

Wade

0 件の賞賛