cancel
Showing results for 
Search instead for 
Did you mean: 

What is I/O structure of OTG_USB_DP&OTG_USB_DM pins for STM32U595VJT6?

Yang Yang
Associate II

Hello, ST experts

 

It seems that OTG_USB_DP pin had some problems when this pin is forced to be set to GPIO when connected to USB host. The resistance between this pin and GND is serveral mega Ohm before OTG_USB_DP is forced to be a GPIO. And then it might be show a low resistance of about 100Kilo Ohm. So I want to check the I/O structure of this pin.

 

Merry Christmas

Yang

2 REPLIES 2
TDK
Guru

> It seems that OTG_USB_DP pin had some problems when this pin is forced to be set to GPIO when connected to USB host.

If it's connected to a USB host, doesn't this pin need to be used for USB, not GPIO?

To use them as GPIO, set the VDD11USBDIS bit:

TDK_0-1735092280363.png

Also set USV bit in PWR->SVMCR.

 

See here:

Solved: STM32U595 used PA12 and PA11 as INPUT gpios,can't ... - STMicroelectronics Community

If you feel a post has answered your question, please click "Accept as Solution".

Hello

 

Yes,this pin need to be used for USB if it really connects to USB host. But for some reason the GPIO status of PA12 need to be checked before going to USB work mode, because it may not be pluged into USB slot.  So PA12 need to be put to GPIO in the way of your reply. But it seems there will be some damages to PA12 pin of STM32U5 if it really connects to USB host at that time. So I want to check the I/O structure of this pin.

 

BR

Yang