2026-01-22 2:12 AM
Hi,
I'm working on a new design using a STM32H523VET6 in which we want to use USB host & device functionality. Whether the board should function as a host or device is determined when it is switched on and will not be changed during operation.
As far as I understand I don't need an external crystal for both modes host & device? But what I don't understand is how to configure the clock recovery system CRS. Do I need the SOF signal, but this seems only available when in device mode.
So my questions are:
1. Is it true that I don't need external crystal for USB host & device modes?
2. What is needed from clock recovery system SRS (SOF signal...)?
Thanks,
Roger
2026-01-22 2:55 AM
The host should provide precise timing to the device. With CRS, you may synchronize the device's HSI48 clock to the host but not the reverse. So, no crystal is needed for the device but definitely you need one for the host (unless this host is used only for communicating with a device without its own precise clock source - synchronizing to the host clock).