BLE & Power management QN9080

cancel
Showing results for 
Search instead for 
Did you mean: 

BLE & Power management QN9080

62 Views
Contributor I

Hi all,

I use QN9080-001-M17 based custom board.

It has one button. When button is pressed it send some data to its BLE peer.

I want it to go into power down mode (including BLE) to save buttery.

At this point, seems that when I press the button it activates the GPIO isr instead of calling

the wake up routine (BOARD_WakeupRestore).

My questions are:

1. Is it possible to use the same GPIO where button is connected as a wake up source?

2. How can I be sure BLE is ready after after it came out from power down?

Thank you

0 Kudos
1 Reply

NXP TechSupport
NXP TechSupport

Hi Alex,

You can have the same GPIO as a wake-up source and as ISR.

Note: Before going to sleep you must change the alternative in that specific pin. The gpio should be wake up source.

After the wake-up event, you should change the alternative as an interrupt.

2. How can I be sure BLE is ready after it came out from power down?

Look at the Heart Rate Sensor

Regards,

Mario

0 Kudos