S32K3 LPUART Idle-line wakeup and Address-mark wakeup Are wake chips or UART modules?

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

S32K3 LPUART Idle-line wakeup and Address-mark wakeup Are wake chips or UART modules?

958 次查看
li3
Contributor II

Hi HXP,

I use the S32K1xx for LPUART communication. I saw in the S32K reference manual that the receiver function data match Wake up/address wake up/Idle line Wake up. So I wonder if any of these features are used in LPUART communications? What are the scenarios for these features?

Idle-line wakeup, Address-mark wakeup and Data-match wakeup Are wake chips or UART modules?

li3_0-1712910952119.jpeg

Best regards,

Li 3.

 

0 项奖励
回复
5 回复数

932 次查看
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @li3,

Idle line wakeup/Address mark wakeup/Receive data match can be used to wakeup MCU from STOP mode and can reduce ISR overhead.

Idle line wakeup:

      The receiver wakes up when detects a full character time of the idle-line level and generates an interrupt if enabled.

Address-mark wakeup

       The receiver wakes up when detects a logic 1 in the most significant bit of the received character/ when parity is enabled, the second most significant bit is used for address-mark wakeup, and generates an interrupt if enabled.

Data match wakeup

     The receiver wakes up when detects a character that matches MATCH[MA1] field when BAUD[MAEN1] is set, or that matches MATCH[MA2] when BAUD[MAEN2] is set, and generates an interrupt if enabled.

        Receiver wakeup and receiver address matching is a hardware mechanism that allows an
LPUART receiver to ignore the characters in a message intended for a different receiver.

You can look into this community post for some examlpe code: Re: S32K144 LPUART IDLE Line Interrupt Configuration - NXP Community

Best regards,
Julián

0 项奖励
回复

912 次查看
li3
Contributor II

Hi HXP,

Idle-line wakeup, Address-mark wakeup and Data-match wakeup Are wake chips or UART modules?

li3_0-1712996880931.jpeg

 

Best regards,

Li 3.

0 项奖励
回复

851 次查看
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @li3,

These are for chip wake-up.

Just to confirm, are you asking about S32K3xx or S32K1xx? As you mentioned "S32K1xx for LPUART communication" but the image shared for the reference manual is for the S32K3 family.

You can find under the S32K1xx reference manual the description for these operations:

Julin_AragnM_0-1713207351759.png

Julin_AragnM_1-1713207382236.png

But, as you can see, the LPUART module is not functional during stand-by in the S32K3xx reference manual:

Julin_AragnM_2-1713207453003.png

Best regards,
Julián

0 项奖励
回复

837 次查看
li3
Contributor II

Hi Julián,

    Sorry, the above question description is wrong, I want to ask S32K3 series.

    The chip manual states that LPUART is not available in Standby mode, so is it not supported to wake up the chip with LPUART?

li3_0-1713231753231.png

Best regards,

Li 3

0 项奖励
回复

822 次查看
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @li3

You are correct, it is not supported for Standby mode, but there is a workaround for wakeup method, please refer to this community post: Solved: S32K3 Wake up method - NXP Community

The external pins can be used for this purpose. LPUART_RX pins share the function with WKPU. 

Best regards,
Julián

0 项奖励
回复