2025-11-03 7:44 AM
I plan to adapt the USBX host example to act as a bridge the way the current device example does. Then I can have a full link UART -> Host -> USB -> Device -> UART and vice versa. However, the data sent to the device is not displayed over its UART as expected and the device stops obtaining additional messages from the host. How can I fix this so I can move on the adapt the host example and use the device to debug?
Overall Goal: Implement a USB to UART bridge using USBX Host mode on the NUCLEO-U575ZI
Steps:
Run the Ux_Device_CDC_ACM example from the example selector on a NUCLEO-U5A5ZJ
Confirm device example functionality:
Modify the device example due to lack of VBUS power between the two Nucleo USB-C ports:
Write the following USBX Host example and run on the NUCLEO-U575ZI: How to implement the USB host in STM32 using the A... - STMicroelectronics Community
Connect the device running on the NUCLEO-U5A5ZJ to the host running on the NUCLEO-U575ZI over USBC ports and run both programs:
2025-11-04 12:30 AM - edited 2025-11-04 12:30 AM
Hello @nlippitt
After reviewing your application goals, we have encountered an issue with the USB Host application USBX_Host_CDC_ACM .
We suggest following the example provided in X-CUBE-AZRTOS-H7, specifically the UX_Host_CDC_ACM project, and adapting this application to your board NUCLEO-U575ZI. Then connect the second board running the Ux_Device_CDC_ACM application. Normally, it should work directly.