Q. How are we supposed to configure the CPU such that it knows that we want to use the external one?
A. No special configuration is required since in both cases PMIC_ON_REQ operates as the Main Power On signal.
The PMIC_ON_REQ signal operation logic is as follows. When applying the VDD_SNVS_IN voltage, PMIC_ON_REQ goes High, so, after that, when the main power is applied, external PMIC immediately starts up and applies the power to the processor, that starts running. Then, from the Run mode, PMIC_ON_REQ can be switched to Low in software, that turns the main power Off. Assuming that the VDD_SNVS_IN voltage is still in place, from this state the processor can be awaken back up by the ONOFF button, RTC alarm event (RTC runs in the SNVS power domain), or Tamper event. All these events cause PMIC_ON_REQ to go High, turning the main power on.
Q. What happens when power is removed, without a "nice" software powerdown? Does the CPU enter SNVS Mode anyway?
A. Assuming that the VDD_SNVS_IN voltage remains in place, the processor goes to the SNVS mode in that case. All its previous state will be lost.
Have a great day,
Artur
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------