2024-06-08 06:45 AM
I have a simple STM32H753VIT6 board with simple power circuitry and USB connection also 25Mhz xtal.
I can program the board in DFU mode and verifies fine. I do not have the LSE xtal. not sure if it is needed for the USB operation. Complete circuit diagram attached. Can any one help me why am I failing with such a simple board.
Thanks
Solved! Go to Solution.
2024-06-09 03:42 AM
No, the LSE is for time .. rtc ; if you have HSE , just need to set clock tree to have 48M at the usb-clock.
2024-06-08 02:36 PM
Get a USB bus analyzer (a real one, not software). Look for anomalies.
2024-06-08 08:09 PM
Thanks for quick reply, I am a retired hobiest. Based on rule of thumb experience is the circuit ok, do I need LSE xtal for usb functionaliy. I know the debug port pins are wrong. But power circuit and all seems to work but not USB except during DFU mode.
2024-06-09 02:44 AM
Just - whats on pins VCAP , Vref+ ?
2024-06-09 02:55 AM
Like in the circuit diagram they are floating and not connected. Thanks for reply. This is the complete circuit diagram.
2024-06-09 03:20 AM - edited 2024-06-09 03:25 AM
Thats wrong.
Need caps on VCAP . (core supply !)
see ds ...
Without caps...any random behavior possible... :)
+
Vref+ -> see manual, if you want any analog function on yor chip, like ADC ...
usually vref+ on Vdda = Vdd :
2024-06-09 03:28 AM
Thank you very much, I guess I have over optimized. Do I also need the second LSE xtal for USB operation. May be I should just included it any way, better safe than sorry. Just curious though. I really appreciate your answer.
2024-06-09 03:42 AM
No, the LSE is for time .. rtc ; if you have HSE , just need to set clock tree to have 48M at the usb-clock.
2024-06-09 04:10 AM
Thank you very much all the help, much appreciated. Thanks