Skip to content

Missing USB HOST CDC VID/PID found on ESP32-C3 development board (IEC-404) #302

@LucienMP

Description

@LucienMP

Answers checklist.

  • I have read the component documentation ESP-IDF Components and the issue is not addressed there.
  • I am using target and esp-idf version as defined in component's idf_component.yml
  • I have searched the issue tracker for a similar issue and not found any related issue.

Which component are you using? If you choose Other, provide details in More Information.

host/cdc

ESP-IDF version.

v5.5.1

Development Kit.

ESP32-S3 Dev Kit board in OTG mode connected to ESP32-C3 Spotpear board

Used Component version.

1.0.0~5

More Information.

Missing ID for the CH343 CDC-ACM UART used on this board. I suggest adding the VID/PID for Expressif CDC-ACM that seems to have been programmed into the board.

https://github.com/espressif/esp-usb/blob/master/host/class/cdc/usb_host_ch34x_vcp/include/usb/vcp_ch34x.h#L12-L15

What I found is I need to define and use the following

// VID
...
#define ESPRESSIVE_MICRO_VID       (0x303A)  // <-- ADDED

// Supported PIDs
...
#define CH343_PID_1                (0x55D3)
#define CH343_PID                  (0x1001) // <-- ADDED

Of course you also need to add it to the various lists in use, and also to the example as well.

https://github.com/espressif/esp-usb/blob/master/host/class/cdc/usb_host_ch34x_vcp/usb_host_ch34x_vcp.c#L201-L212

Board being used with new VID/PID is this one:

https://spotpear.com/wiki/ESP32-C3-desktop-trinket-Mini-TV-Portable-Pendant-LVGL-1.44inch-LCD-ST7735.html

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions