STM32F7 USB OTG differences within series
- September 22, 2019
- 8 replies
- 3997 views
I have a "hello world" example that works fine on a STM32F765Z6T6 (custom board). It basically waits for a USB serial port to be opened on the host side, and outputs "Hello world" every second over and over again. Unfortunately it's based on libopencm3 and my own middleware library, so the code is not easy to share.
So everything works fine on the STM32F765Z6T6.
I designed another board using a device from the new value line - STM32F730R8T6 (schematics attached). Curiously, my hello world example doesn't work on this new board - it doesn't enumerate.
I know the USB hardware works because I can program it using the DFU bootloader, and I know my code is being run because I can get a blink example to work, and it blinks at the correct frequency (crystal frequency is the same as the board that works). I verified with an oscilloscope that the blink frequency is correct, so I don't think it's a clock setup issue (I am using the same crystal as the working board, so all the clock setup should be the same?)
Unfortunately I don't have any kind of debugging interface on this board.
Before I go down this USB debugging rabbit hole, does anyone know if there's any difference in USB FS OTG peripheral between different parts in the F7 family?
Thanks!
