AnsweredAssumed Answered

K82: LLWU wakeup due LPUART1

Question asked by Eugene Hiihtaja on Jan 3, 2019
Latest reply on Jan 9, 2019 by Kerry Zhou

Hi !

 

I'm using LPUART1 where RX pin is PTC3 ( LLWU_P7) and TX pin - PTC4 ( LLWU_P8).

I would like to wakeup MCU from LLS3 mode if some incoming bytes available on RX pin ( Falling edge at START bit).

 

It looks like if I configure LLWU_P7 as wakeup source -> it can wakeup MCU.

But should I reconfigure Pin muxing as well and return RX assignment back after wakeup ?

 

Before LLS3:

PORT_SetPinMux(LPUART1_RX_PORT, LPUART1_RX_PIN, kPORT_MuxAsGpio);

 

After:

 PORT_SetPinMux(LPUART1_RX_PORT, LPUART1_RX_PIN, kPORT_MuxAlt3);

 

or just one call LLWU_EnableInternalModuleInterruptWakup(.. LLWU_P7,..) is enough for have wakeup finctionality ?

 

Also first byte is always lost . Is any idea if it possible to receive it properly ?

 

Regards,

Eugene

Outcomes