Stm32 usb and hsi - not sure what is wrong.
Hey all,
I am wondering if anyone has some insight into why i cannot get a usb connection working (trying as HID).
I can power up and debug the MCU (STM32F103RBT6), but cannot get the USB to connect.
For the HSI I am using 10pF for C1 and C2, and a 1000 ohm resistor for Rext (Rosc). My oscillator is the 7M16000024 (16Mhz, 10pF load capacitance according to https://www.digikey.com/en/products/detail/txc-corporation/7M16000024/5954370 )
I have been following https://www.youtube.com/watch?v=tj1_hsQ5PR0&t=877 to get a USB connection happening (which fails to connect).
Some images below show the circuit and i hope are useful.






