2013-04-28 04:00 PM
Hello here,
I'm trying to reset USB peripheral before entering stop mode, on an STM32F But if I do so, the RTC (which runs from LSI) stops .. Any idea why ? Here is the code :RCC->APB2RSTR = 0xFFFFFFFF;
//RCC->APB1RSTR = RCC_APB1Periph_USB;
RCC->APB2RSTR = 0;
RCC->APB1RSTR = 0;
PWR_EnterSTOPMode(PWR_Regulator_LowPower, PWR_STOPEntry_WFI);
Thanks for your help.
BR,
Vincent.