S32K148 LIN communication problem

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

S32K148 LIN communication problem

927件の閲覧回数
15736231627
Contributor II

 I have an example here about LIN receiving and sending messages, but there is a question. When receiving the information of the master node as a slave node, it will not enter the callback function and cannot receive the information sent by the host.
two。. When receiving information as the master node, if you hit a breakpoint where the callback function receives the PID_OK, and then continue to run, you will no longer enter the callback function. What is the reason for this?
Could you take a look at my code for me? Thank you

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

749件の閲覧回数
Alexis_A
NXP TechSupport
NXP TechSupport

Hello,

Checking your code I saw that you're using a timeout of 20 ms, the LPTMR is a 16 bit counter so this timeout can not be reached with the Peripheral clock that you're using, also have you tried using the LIN stack to see if this behavior is also present?

Best Regards,

Alexis Andalon

0 件の賞賛
返信