Skip to main content
Associate II
August 31, 2023
Solved

USB INETRFACE OSCILLATOR

  • August 31, 2023
  • 2 replies
  • 2589 views

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 ?

This topic has been closed for replies.
Best answer by TDK

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.

TDK_0-1693491920140.png

 

2 replies

TDK
August 31, 2023

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

"If you feel a post has answered your question, please click ""Accept as Solution""."
Deepu joyAuthor
Associate II
August 31, 2023

My issue is not solved. Please check the attached images of CUBEMX CLOCK Configuration. 

TDK
August 31, 2023

Attach your IOC.

"If you feel a post has answered your question, please click ""Accept as Solution""."
TDK
TDKBest answer
August 31, 2023

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.

TDK_0-1693491920140.png

 

"If you feel a post has answered your question, please click ""Accept as Solution""."