mu-editor / mu

A small, simple editor for beginner Python programmers. Written in Python and Qt5.
http://codewith.mu
GNU General Public License v3.0
1.39k stars 432 forks source link

Added support for CH9102 in ESP mode #2503

Open sankarcheppali opened 5 months ago

sankarcheppali commented 5 months ago

Added support for CH9102 USB-Serial chip

https://cdn-learn.adafruit.com/assets/assets/000/111/949/original/CH9102DS1.PDF?1653415979

carlosperate commented 5 months ago

Thanks for the PR @sankarcheppali! Where did the VID and PID come from? Are those the default values for the chip? Looks like they can also be configured with different values. Could you provide any links showing ESP boards using this chip?

sankarcheppali commented 4 months ago

Hi @carlosperate Thanks for the response. This is the board I have https://github.com/Xinyuan-LilyGO/LILYGO-T8/blob/main/Schematic/t8_v1.7.1.pdf

I took the VID,PID from the windows device manager.

amaksoft commented 3 months ago

Hello! CH9102 is also used by M5Stamp C3 (There's both driver and schematics that confirm this particular chip usage)

Chip info on manufacturer website

To confirm chip's VID:PID From shell:

$ lsusb
Bus 002 Device 001: ID 1a86:55d4 QinHeng Electronics

In device manufacturer Linux driver code:

static const struct usb_device_id ch343_ids[] = {
        // ... other devices
    { USB_DEVICE(0x1a86, 0x55d4) },                /* ch9102 chip */
        // .... other devices
    {}

Can we please get this PR merged so that we don't have to patch it locally?