cancel
Showing results for 
Search instead for 
Did you mean: 

USB INETRFACE OSCILLATOR

Deepu joy
Associate II

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 ?

1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Guru

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

View solution in original post

5 REPLIES 5
TDK
Guru

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

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

Attach your IOC.

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

Thanks for the quick response. 

Here I am attaching the IOC file. We can not use External clock source for USB application. Please provide us with a solution of internal/crystal less design for USB. 

TDK
Guru

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