Skip to main content
Graduate II
November 2, 2024
Question

Example project for USBX HOST with CDC-ECM class for connecting a USB-Ethernet dongle

  • November 2, 2024
  • 1 reply
  • 1492 views

Looking for an example for how to configure the NetxDuo and USBX HOST stack for using CDC-ECM class for interfacing an USB-Ethernet dongle.

rtos-docs/rtos-docs/usbx/usbx-host-stack-6.md at main · eclipse-threadx/rtos-docs (github.com)

The above link gives high level view but not enough details. Looks outdated too as can't find where this function is.

/* Find the CDC-ECM class. */
class_cdc_ecm_get();

 I want to use a generic USB-Ethernet dongle 

The HW is STM32H743xi

Threadx version 6.4.0

    This topic has been closed for replies.

    1 reply

    ST Employee
    November 4, 2024

    Hello @Rajesh Tripathi ,

    You can find a Ux_Device_CDC_ECM application here: x-cube-azrtos-h7/Projects/STM32H735G-DK/Applications/USBX/Ux_Device_CDC_ECM at main · STMicroelectronics/x-cube-azrtos-h7. which can help you.

     

    With regards,

    Graduate II
    November 5, 2024

    Hello,

    I already have CDC-ECM working on custom HW with USBX device stack. This is not much helpful.
    Looking for steps about how to configure the USBX stack in host mode for CDC-ECM correctly and NetXDuo. An example on STM32H735 would be very helpful.