Hi,
I would like to understand the behavior of the iMX8QM PMIC_ON_REQ line coming from the SNVS block.
Hardware Question :
Software Question :
Regards,
Stan
Hi gusarambula, when power is initially applied to VDD_SNVS_IN pin , does it generate a Low --> High pulse on PMIC_ON_REQ pin ? How long the PMIC_ON_REQ stay High ?
Thanks
Chirag
Hello Stan,
The PMIC_ON_REQ is controlled by a hardware state machine only, there is no control over it's operation, when SNVS is powered it becomes active, indicating to the PMIC to switch on the other supplies, the ON_OFF button can be used force KS0 mode, which deaserts PMIC_ON_REQ, you can only use the ON_OFF input or RTC to leave KS0.
There is no API for this, you can modify some of the parameters, length of required button press, long press, etc via board.c, but this is at boot time only. See the SCFW Porting guide, relates to board.c and specifically the function
sc_err_t SNVS_ButtonTime(snvs_btn_on_time_t on, snvs_btn_debounce_t debounce,
snvs_btn_press_time_t press);
I hope that this helps!
Regards,