2020-08-14 09:20 AM
Hello everyone !
I'm starting with this h7 family but I wasn't able to get any usb example for the nucleo stm32h745. So I've been using the discovery board ones.But It didn't work , the usb state got suspended and the pc is warning a unknown device .I also checked the initialization and everything returns ok until the infinite loop in main.c.
Can you provide an example for nucleo board or help me to adjust this one.
IDE : STM32CubeIDE
APP : en.stm32cubeh7_v1-8-0\STM32Cube_FW_H7_V1.8.0\Projects\STM32H745I-DISCO\Applications\USB_Device\HID_Standalone
BOARD : NUCLEO STM32H745ZE-Q
Thanks =)
2020-08-18 03:08 PM
Hmm, difficult to say.
I do only have a NUCLEO-H743ZI2 board here, and I remember having those issues when either the 48 MHz USB peripheral clock was misconfigured, or if one of the clocks needed for connection to the USB peripheral was configured to slow. Running all others like AXI and AHB >=50MHz helped on my side.
I have an open issue here
which currently only affects my single board or CPU. It's a USB VCP project which prints a "Hello World" message over USB-emulated virtual COM-Port to a terminal program like Putty or TeraTerm. Feel free to try if it's running without modification on your board.
Best regards,
Tobias