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 !
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
“DA14682”chip
“DA1468x_DA15xxx_SDK_1.0.10.1072” SDK
“extended_sleep” project
thanks
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
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
Hi There,
In case of extended sleep mode, DA14682 can wake-up in two ways:
In case of hibernation mode, DA14682 can only wake-up asynchronously from the Wake-up timer.
Thanks, PM_Dialog