Using UART0 as Wakeup Source JN5189

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

Using UART0 as Wakeup Source JN5189

1,159 次查看
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 项奖励
回复
2 回复数

1,112 次查看
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 项奖励
回复

1,128 次查看
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 项奖励
回复