S32K310 Lin Wakeup Issue

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

S32K310 Lin Wakeup Issue

1,048件の閲覧回数
pritish_4
Contributor I

I am working on s32k310 controller and using LIN stack from NXP. Our device is configured as slave.

If Master scheduler turned ON, Slave is responding properly. If we stop Message scheduler Stop and wait until timeout and again turned it ON Slave giving Transmission error. Because Slave Did not get wakeup Request.
Two way we give wakeup request
1) Remote Wakeup LIN
2) Using Enable Pin 
I want to know how to detect Remote Wakeup request?

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

1,018件の閲覧回数
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @pritish_4

Which LIN transceiver are you using in your design?

Best regards,
Julián

 

0 件の賞賛
返信

1,004件の閲覧回数
pritish_4
Contributor I
TLIN1029A
I am using interrupt on RxD pin of controller once it goes Falling Edge I am calling Internal Wakeup function.
and what are the configuration is required for Wakeup?
0 件の賞賛
返信

993件の閲覧回数
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @pritish_4,

Simply configure the Rx pin as a wakeup interrupt before standby. There are some examples for RTD 2.0.0, 4.0.0 and 5.0.0 in the posts below:

Best regards,
Julián

0 件の賞賛
返信

880件の閲覧回数
pritish_4
Contributor I

Hi Julian,

1) What are the module are required to configure for LIN Wakeup? 
2) Can we do Wakeup without using EcuM Wakeup Source?

3) I have configured the RXD pin as interrupt but interrupt function is not get hit.
4) From Which API we can detect Wakeup pulse on LIN Bus?

0 件の賞賛
返信

798件の閲覧回数
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @pritish_4,

1) You need to gather these two features: LIN(RX) and WakeUp pin in your HW-SW design. Wakeup pin will be LPUART RX which you can look up inside the IOMUX file attached to the S32K3XX's reference manual

Also, please keep in mind that once the S32K3 acknowledges a Wakeup event, a reset is performed, starting on the reset vector, and not after its last instruction. So, depending on your application, you may need to set some flags on the Stanby RAM after wakeup.

2) If using ASR, you need to use EcuM module, and by consequence, EcuM Wakeup. EcuM is provided by BSW vendor, such as Vector or Elektrobit. Unfortunately, we don't have any guidance for this, as EcuM in NXP MCAL package is only stub, but as far as I know EcuM sequences are pretty much for references only, because the EcuM itself is highly dependent on the underlying SoC/uC.

3) Which function? As I've said, S32K3, after wakeup, performs a full reset. You can look at S32K3 Low Power Lab from the following post: https://community.nxp.com/t5/S32K-Knowledge-Base/S32K3-Low-power-lab/ta-p/1273991

4) You can distinguish the wakeup source using EIF of WISR and WISR_64 register.

Best regards,
Julián

0 件の賞賛
返信