2023-02-24 08:41 AM
Hello,
i am porting a project made initially on STM32H750, but because of the semiconductor shortage on the market, the only available part was a stm32H725IGK6, which i started working on.
Regarding the usb connection, i have the following pins used:
PA9 - connected via 10k resistor to 5Vusb
PA10 - connected to ID usb pin
PA11 - connected to DN usb
PA12 - connected to DP usb
Does this devices supports VCP over usb? Because i am trying to work with some usb cdc examples, but so far i am not able to make it visible on the computer.
Solved! Go to Solution.
2023-02-25 01:43 AM
Hmm,
i found out this in the reference manual .
Searched for USBREGEN inside the hal library, and came across this function HAL_StatusTypeDef HAL_PWREx_EnableUSBReg (void)
I implemented it after in the MX_USB_DEVICE_Init function.
Now it seems to work, i get Virtual com port 9 in windows !!!
2023-02-24 08:58 AM
If there is any USB device support, then the mcu as such does support VCP too.
Whether you can click it in CubeMX or in other way, that's another question. You could also have a look at existing examples for this mcu, in Cube or elsewhere.
Some rudimentary troubleshooting hints here.
JW
2023-02-24 11:01 PM
Hi Jan,
thanks for the hints... I am stil strugling with these.
I am really wonder if VDD33USB pin needs to be connected somewhere.
I connected only VDD50USB to the +5V line from the usb connector
2023-02-25 01:43 AM
Hmm,
i found out this in the reference manual .
Searched for USBREGEN inside the hal library, and came across this function HAL_StatusTypeDef HAL_PWREx_EnableUSBReg (void)
I implemented it after in the MX_USB_DEVICE_Init function.
Now it seems to work, i get Virtual com port 9 in windows !!!