cancel
Showing results for 
Search instead for 
Did you mean: 

Can I use CDC-ECM with H563 ?

Gwen1
Associate II

Hi, Is ST proved an example of USB CDC-ECM for H563 or something similar I can use for doing a connection between my pc and my nucleo H563 with USB?

5 REPLIES 5
Saket_Om
ST Employee

Hello @Gwen1 

You can refer to the example below: 

STM32CubeH5/Projects/STM32H573I-DK/Applications/USBX/Ux_Device_CDC_ECM at main · STMicroelectronics/STM32CubeH5 · GitHub

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.
Saket_Om

Hello @Saket_Om , thanks for your replied.
As I can understand this example works with an SD card for a web server. Did you know if ST provided juste an example of communication between the ST card and PC with CDC-ECM? Like this How to implement the USB Device CDC (VCOM) in STM3... - STMicroelectronics Community but with a board that is similar to H563 ?

Hi @Gwen1 

CDC ACM and CDC ECM are different USB sub classes. Your request is confusing. If you're designing a USB device, the choice between CDC ACM and CDC ECM depends on whether your application requires serial communication or networking capabilities. 

  • CDC ACM is meant for serial communication and is used for devices that need to emulate a COM port over USB like the article you mentioned. 
  • CDC ECM is designed for networking often used to emulate an Ethernet interface over USB.

I hope this helps!

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.


Gwen1
Associate II

Hi @FBL,
Sorry for being confusing.

As I say before in the topic, I would like to use CDC ECM. But, I can't find an example for the card I use or something similar I can test...
So if you know where I can find an example I will be thankful.

Hi @Gwen1 

Unfortunately, we don't have example on nucleo board H563. Here is another example on different target with LWIP stack. You can develop the project with classic core middleware and get back to us if facing issues.

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.