DA9063 GPIO14 Wake-up

5 posts / 0 new
Last post
guysansoucy
Offline
Last seen: 1 year 4 months ago
Joined: 2017-09-07 19:15
DA9063 GPIO14 Wake-up

Hello,
I am trying to setup a Wake-up from a GPIO(14). EVENT_D is set but the system is not waking-up. The ONKEY work but not the GPIO Event.
I need help with the setup step.
Current step:
- Set GPI(15-14)=0xAA to 0xA1
- Set CONTROL_A & CONTROL_E
u16Addr = DA9063_CONTROL_A;
u8Data_Ctrl = 0;
u8Data_Mask = M_POWER1_EN | M_POWER_EN | M_SYSTEM_EN | STANDBY | SYSTEM_EN | POWER_EN;
fResult = OALDA9063PmicSetRegister(PMIC_I2C_PORT, u16Addr, u8Data_Ctrl, u8Data_Mask);

Device: 
ED_Dialog
Offline
Last seen: 18 hours 37 min ago
Staff
Joined: 2017-09-18 11:54
Hello Guy,

Hello Guy,

I'll take a look at this and get back to you.

Kind regards,

Elliott Dexter 

ED_Dialog
Offline
Last seen: 18 hours 37 min ago
Staff
Joined: 2017-09-18 11:54
Hello Guy,

Hello Guy,

I assume you using variant -80 as you starting point. I was just looking through the register settings and I noticed that the GPIO14 event has been masked, this is because GPIO14 and GPIO15 are used as backup I2C pins. I would suggest changing register 0xD from 0xC0 to 0x80. This should unmask GPIO14, an event should then be triggered on GPIO14 when the logic goes from High to low.  

Kind regards,

Elliott Dexter 

guysansoucy
Offline
Last seen: 1 year 4 months ago
Joined: 2017-09-07 19:15
Hello, I Confirm the step, I

Hello, I Confirm the step, I was using 0xC0 to 0x40, not 0xC0 to 0x80. System Wake-up achieve!
Thanks, Guy

ED_Dialog
Offline
Last seen: 18 hours 37 min ago
Staff
Joined: 2017-09-18 11:54
Hi Guy,

Hi Guy,

I would recommend downloading the DA9063 Power Commander GUI. I used this tool to check the register values (please see attached image of register 0xD = 0x80 and 0xD = 0x40). I will add a link to the GUI  beneath.

Kind regards,

Elliott Dexter   

 

GUI link:

https://support.dialog-semiconductor.com/pmic-audio/device/da9063?qt-pmic_device=2#qt-pmic_device

Attachment: