Using UART0 as Wakeup Source JN5189

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Using UART0 as Wakeup Source JN5189

536 Views
Lukas10999
Contributor I

I'm trying to get a JN5189, configured as a SED, to go into power-down mode and wake up from a UART0 message. Is there any documentation or Application Note which describes how to do this? 

0 Kudos
Reply
2 Replies

489 Views
usaygo
Contributor III

Hello, 

If you just want to wake up on any signal on the RX port, you can use GPIO interrupts to capture the start bit.

My code uses the GINT interrupt and can treat the change in PIO9 (UART0 RXD) as a wake-up source. Sorry, I cannot provide a simple sample code.

One thing is required before sleep: POWER_WAKEUPSRC_IO bit must be set as the wake-up interrupt source, passing to POWER_EnterPowerMode().

0 Kudos
Reply

505 Views
EduardoZamora
NXP TechSupport
NXP TechSupport

Hello @Lukas10999

Hope you are doing well.

Usually, Zigbee SED should use these methods to wake up:

  • GPIO
  • Cyclic (Timer)

If you need to send data to a SED using UART, I suggest taking advantage of the ON interval of the device. You can use JN-AN-1246 Zigbee 3 Sensors as reference, the Occupancy Sensor can be configured as a sleeping End Device.

Regards,
Eduardo.

0 Kudos
Reply