Enter stop-mode from PVD interrupt
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2015-10-29 9:13 AM
Posted on October 29, 2015 at 17:13
If i place my enter ''stop code'' into PVD interrupt I can enter stop mode but not exit.
If i place the same code outside the PVD interrupt (in the while(1)) I can both enter and exit stop mode. I use STM32L053. if(PWR->CSR & PWR_FLAG_PVDO) { HAL_PWR_DisablePVD(); pvd_config_vdd_rising();HAL_PWR_EnterSTOPMode(PWR_LOWPOWERREGULATOR_ON, PWR_STOPENTRY_WFI); SystemClockConfig_STOP(); } else { }
This discussion is locked. Please start a new topic to ask your question.
0 REPLIES 0
