cancel
Showing results for 
Search instead for 
Did you mean: 

Is external crystal is needed for USB communication ?

SSing.10
Associate II

Hi All,

I am working on the STM32F0 series for USB based application as Mass Storage Class and completed my initial testing on the NUCLEO-F767ZI board & POC's.

Further I have done & completed my custom hardware development, but I have didn't connect external crystal(DNP) on custom board.

Did I need to confirm that, external crystal is required in custom board developed to run the USB - Mass Storage Device ?

Looking forward for responses.

Thanks & Regards

Sachin

1 ACCEPTED SOLUTION

Accepted Solutions
The STM32F730V8T6 requires an external crystal to satisfy USB timing requirements per the datasheet.
If you feel a post has answered your question, please click "Accept as Solution".

View solution in original post

5 REPLIES 5

It is recommended to keep USB clock within specification. Without it you risk issues of connectivity related to temperature, or host system implementation. ie difference in clock offset between host and device exceed tolerances.

See if it is a check-box item for USB Certification

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
TDK
Guru

Some STM32F0 chips support crystal-less USB. Otherwise you need a crystal to adhere to timing requirements.

https://www.st.com/resource/en/application_note/dm00296349-usb-hardware-and-pcb-guidelines-using-stm32-mcus-stmicroelectronics.pdf

0693W00000ANCzRQAX.png

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

Ok I can see some STM32 MCU are having internal USB oscillator.

Please confirm and correct me if I am wrong in getting proper configurations & settings, I am currently using STM32F730V8T6 so does it require external oscillator for my usb related operations.

Please confirm me for the same.

The STM32F730V8T6 requires an external crystal to satisfy USB timing requirements per the datasheet.
If you feel a post has answered your question, please click "Accept as Solution".
SSing.10
Associate II

Hi @TDK​ ,

Thanks for confirming the crystal requirement for STM32F730V8T6, I have assembled and it works.