cancel
Showing results for 
Search instead for 
Did you mean: 

USB OTG Dual Role

rkuma.21
Associate III

Hi STM Team,

 

I am using STM32H723ZGT6 Microcontroller for my new project, I am using Azure RTOS for My application.

I required to copy my data to Pendrive (I am using USB Host Only Mode and USBX and FileX).

As well as i also required to use USB CDC ACM for my other device Virual COM Communication as USB Device mode.

When I select USB OTG Dual Role in STM Cube MX, there is no applications and examples given to use dual role as USB Host and Device at same time.

Is Any Hardware Changes are required? Now I am using Nucleo-STM32H723Z Development Board for this testing.

Can you Help On this.

1 REPLY 1
FBL
ST Employee

Hi @rkuma.21 

Check the example provided in  ST-TOMAS-Examples-USB/H7A3_USBX_DualRoleThe host currently is HID host waiting for a mouse. Device is CDC VCP with loopback.

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.