PN7462 wakes up from sleep mode with boot reason "E_SOFT_RESET"

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

PN7462 wakes up from sleep mode with boot reason "E_SOFT_RESET"

Jump to solution
1,957 Views
jayesh_joshi
Contributor IV

I am trying to implement a low power mode in my system in PN7462. 

PN7462 correctly goes into low power mode but it wakes up instantly with boot reason

" /** \b 0x0A */ E_SOFT_RESET, /**< Boot due to soft reset */"

 

After some further debugging I found that PN7462 wakes due to the "phhalPmu_PvddLdoStop();" API I am calling before entering low power mode. It is a must to turn off PVDD LDO for saving power in my system. If I remove the phhalPmu_PvddLdoStop line then the system works as expected.

I am attaching a code snippet for the same.

jayeshj_0-1618916660516.png

Please help me to enter sleep power mode with PVDD LDO turned off.

 

0 Kudos
Reply
1 Solution
1,896 Views
Kan_Li
NXP TechSupport
NXP TechSupport

Hi @jayesh_joshi ,

 

Thanks for the information! I am confused about the accelerometer which is powered by PVDD, since you use it as a wake up resource which triggers a pulse to some GPIO of PN7462, how could it work without PVDD in the low power mode? I am also suspecting if the accelerometer pulled low the GPIO when PVDD is off so that it prevents PN7462 enter low power mode in this case. Please kindly check it on your side.

 

Hope that helps,

 

Have a great day,
Kan


-------------------------------------------------------------------------------
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.
-------------------------------------------------------------------------------

View solution in original post

0 Kudos
Reply
6 Replies
1,627 Views
jayesh_joshi
Contributor IV

@Kan_Li 

Yes there was issue with device not going into sleep mode and it was restarting afterwords. That is why boot reason was soft reset.

0 Kudos
Reply
1,929 Views
Kan_Li
NXP TechSupport
NXP TechSupport

Hello @jayesh_joshi ,

 

What about the wake up resources in your test? Is it some module powered by PVDD_LDO? Please kindly clarify.

 

Have a great day,
Kan


-------------------------------------------------------------------------------
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.
-------------------------------------------------------------------------------

0 Kudos
Reply
1,909 Views
jayesh_joshi
Contributor IV

Hi Kan,

Thanks for the response,

 

Yes, we have an accelerometer which is powered by PVDD. And its interrupt is configured as a wakeup source. But if due to that if the device is waking up I thought the wakeup reason should be GPIO_INT. 

0 Kudos
Reply
1,897 Views
Kan_Li
NXP TechSupport
NXP TechSupport

Hi @jayesh_joshi ,

 

Thanks for the information! I am confused about the accelerometer which is powered by PVDD, since you use it as a wake up resource which triggers a pulse to some GPIO of PN7462, how could it work without PVDD in the low power mode? I am also suspecting if the accelerometer pulled low the GPIO when PVDD is off so that it prevents PN7462 enter low power mode in this case. Please kindly check it on your side.

 

Hope that helps,

 

Have a great day,
Kan


-------------------------------------------------------------------------------
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.
-------------------------------------------------------------------------------

0 Kudos
Reply
1,888 Views
jayesh_joshi
Contributor IV

Hi Kan

 " I am also suspecting if the accelerometer pulled low the GPIO when PVDD is off so that it prevents PN7462 enter low power mode in this case"

Kan in this case PN7462 won't restart but low power mode API will exit with a prevention error. Which is not happening here. Also in normal mode, I have checked accelerometer works without PVDD. I am keeping the I2C module running in low power mode may be due to the accelerometer is running.

0 Kudos
Reply
1,871 Views
Kan_Li
NXP TechSupport
NXP TechSupport

Hello @jayesh_joshi ,

 

Is it possible to share some code snippet regarding low power mode configuration on your board? We may try to reproduce this issue here.

 

Thanks for your patience!

 

Have a great day,
Kan


-------------------------------------------------------------------------------
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.
-------------------------------------------------------------------------------

0 Kudos
Reply