How to use USB to wake up in hibernation mode

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads athttps://www。dialog-semiconductor.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
6 posts / 0 new
Last post
魏文彬
Offline
Last seen:4 months 2 days ago
加入:2019-04-10 03:51
How to use USB to wake up in hibernation mode

Hello, DA team

How to use USB to wake up in hibernation mode?

I check the documentation, wkup can only be configured through gpio and can not use other peripherals?

--------------------------------------------------------------------

Table 234: Register map WakeUp

WKUP_SELECT_P0_REG.....

WKUP_POL_P0_REG......

WKUP_STATUS_0_REG.........

WKUP_SEL_GPIO_P0_REG................

----------------------------------------------------------------------

但在

-----------------------------------------------------

Table 8: Power modes and configurations

Analog blocks

LDO_USB=OPT
LDO_RET= ON
LDO_VBAT=OFF
LDO_IO=OPT
BandGap=OFF
LDO_CORE=OFF
SIMO=OPT
LDO_RAD= OPT
LDO_VBAT_RET=OPT
LDO_VBUS_RET=OFF
LDO_IO_RETx=OPT
LDO_SLEEP=OFF

--------------------------------------------------------

But the API of the SDK can only be configured as follows:

---------------------------------------------------

hw_wkup_init(NULL);
hw_wkup_set_debounce_time(32);
hw_wkup_configure_pin(HW_GPIO_PORT_2, HW_GPIO_PIN_2, true,HW_WKUP_PIN_STATE_HIGH);
hw_wkup_register_interrupt(wkup_handler, configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY);

-------------------------------------------------------

How to configure LDO_USB ?

How to use USB to wake up in hibernation mode?

thanks very much !

Device:
PM_Dialog
Offline
Last seen:6 hours 51 min ago
工作人员
加入:2018-02-08 11:03
Hi There,

Hi There,

Could you please indicate which product you are using? After that, I will get back to you as soon as possible.

Thanks, PM_Dialog

魏文彬
Offline
Last seen:4 months 2 days ago
加入:2019-04-10 03:51
“DA14682”chip

“DA14682”chip

“DA1468x_DA15xxx_SDK_1.0.10.1072” SDK

“extended_sleep” project

thanks

PM_Dialog
Offline
Last seen:6 hours 51 min ago
工作人员
加入:2018-02-08 11:03
Hi There,

Hi There,

In DA14682/3 products you are not able to wake up from hibernation via USB. You can only wake up from the wake-up controller. However, the hibernation is a shipping mode and it is recommended only for the final product, not for development scopes.

Thanks, PM_Dialog

魏文彬
Offline
Last seen:4 months 2 days ago
加入:2019-04-10 03:51
I use the pm_mode_extended

I use the pm_mode_extended_sleep mode to measure power consumption of 0.2ma.Is it wrong with me?

If I want very low power (like shutdown) but can wake up via USB, how do I set it up?

thanks

PM_Dialog
Offline
Last seen:6 hours 51 min ago
工作人员
加入:2018-02-08 11:03
Hi There,

Hi There,

In case of extended sleep mode, DA14682 can wake-up in two ways:

  • Synchronously, from the Timer1 or the BLE timer in Extended Sleep mode only.
  • Asynchronously, from the Wake-up timer or the VBUS (USB) interrupt.

In case of hibernation mode, DA14682 can only wake-up asynchronously from the Wake-up timer.

Thanks, PM_Dialog