cancel
Showing results for 
Search instead for 
Did you mean: 

USB STM32L152VC: switching from HSE 32MHz to MSI 128KHz

bruzzim
Associate II
Posted on December 16, 2014 at 09:45

Hello,

for low power purposes my application normally runs at MSI-128KHz. If USB cable is conencted I switch to HSE-32MHz in order to have USB working and I have to get back to low frequency when disconnecting. 

Problem is that as soon as the frequency is set to low, I receive USB_LP_IRQHandler() interrupt that kill the main loop. How can I disable USB interrupt keeping it working again if cable is re-connected?

Kind regards
0 REPLIES 0