cancel
Showing results for 
Search instead for 
Did you mean: 

USB Protocol

vbk22398
Associate III

I am using STM32F423RHT6 in the project. In .ioc file, there are different versions of USB being given. I am getting confused in which is given for what purpose? 

Screenshot 2024-10-08 165743.png

 Under the connectivity tab, there is USB OTG FS, whereas in Middlewares and Softwares also, there is USB_Device and host. I am getting confused, which one should be used for data transfer and through which pins we need to program. Kindly help me understand!

1 REPLY 1
TDK
Guru

Generally, using the FS USB is preferred on pins PA11/PA12, but you can use the HS USB as well.

A USB host is different than a USB device. There are options for both. Generally, you want the STM32 to be a USB device. "data transfer" can be done with the virtual com port USB device.

USB - Wikipedia

USB Made Simple

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