2023-08-31 05:05 AM
Hi ,
I am using STM32L072CBT6 for my project and I need USB interface.
Is there any option to drive USB using HSI_RC ?
Also we are using STANDBY_WITH_RTC for low power mode.
Is there any way to wake up the system from low power mode using USB ?
Solved! Go to Solution.
2023-08-31 07:24 AM - edited 2023-08-31 07:25 AM
As stated in the reference manual, crystal-less USB requires you to use the HSI48 clock. On the CubeMX clock select screen, this is the "RC 48 MHz" clock.
2023-08-31 05:23 AM
> Is there any option to drive USB using HSI_RC ?
Yes, the STM32L0x2 series supports crystal-less USB. Look at the Clock Recovery System in the reference manual.
> Is there any way to wake up the system from low power mode using USB ?
USB interrupts can be used to wake the system from most low power modes.
2023-08-31 06:31 AM
2023-08-31 06:46 AM
Attach your IOC.
2023-08-31 06:58 AM
2023-08-31 07:24 AM - edited 2023-08-31 07:25 AM
As stated in the reference manual, crystal-less USB requires you to use the HSI48 clock. On the CubeMX clock select screen, this is the "RC 48 MHz" clock.