LIN Break Detect Interrupt not getting detected in S32K

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

LIN Break Detect Interrupt not getting detected in S32K

跳至解决方案
1,989 次查看
GKailas
Contributor I

Hello,

I am trying to make LIN working.

Below are my setup details:

1. Using S32K146EVB-Q1XX board.

2. Autosar stack for configuration of LIN

3. LPUART2 port/Module is used for LIN

after running the code, I can see that I am able to transmit the LIN Break field but after this ISR is not getting triggered?

1. We have used Interrupt priority 32 and interrupt source as 51

2. Also checked in NVC register that interrupt is enabled

3. LBKDIE bit enabled in Baud Rate Register

4. LBKDE bit enabled in Status Register

5. DATA register is used to send break field

so below are few questions:

1. Do we need to place the jumper to use Power adapter for LIN in evaluation board or USB power will also works ?

2. What can be other causes of not detecting LIN break field? 

0 项奖励
回复
1 解答
1,973 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

the transceiver is supplied by VSUP/VBAT, so it is a must to use external supply, not just USB. I guess that this could be the reason.

lukaszadrapa_0-1639124190011.png

lukaszadrapa_1-1639124213872.png

Regards,

Lukas

 

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,974 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

the transceiver is supplied by VSUP/VBAT, so it is a must to use external supply, not just USB. I guess that this could be the reason.

lukaszadrapa_0-1639124190011.png

lukaszadrapa_1-1639124213872.png

Regards,

Lukas

 

0 项奖励
回复