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?
Best regards,
Li 3.
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
Hi HXP,
Idle-line wakeup, Address-mark wakeup and Data-match wakeup Are wake chips or UART modules?
Best regards,
Li 3.
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:
But, as you can see, the LPUART module is not functional during stand-by in the S32K3xx reference manual:
Best regards,
Julián
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?
Best regards,
Li 3
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