Using UART0 as Wakeup Source JN5189

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Using UART0 as Wakeup Source JN5189

1,183件の閲覧回数
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,136件の閲覧回数
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,152件の閲覧回数
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 件の賞賛
返信