Hello to all,
I am currently testing a circuit with a ch340 and an esp32, to program it in USB with Arduino. The ch340 chip is detected but not recognized (see photo), I installed the CH341SER drivers and I can program Arduino nano clones that have a CH340.
translation unregistered USB device
The CH340 chip has a quartz on the schematic that is not used on my board.
I tried the 5v and 3.3v mode of the CH340 chip.
If anyone has any ideas on how to solve the problem or any comments on the schematic it would be great!
I am not familiar with this chip, but I did read some voltage on the pins. I'm not sure about the USB connection either, it's the first time I've used one.
I tried to solder a USB cable directly on the MODEM and I succeeded in transmitting code to the esp 32 (see diagram). I think I must have a problem with the USB C port.
After studying the datasheets I finally found my problem, it's an inversion of the connections on the USB C port between D+ and D- on A6, A7, B6, B7.
Thanks a lot Paul_KD7HB for helping me!
The schematic is fully functional and the automatic program transfer works correctly. I'll post it here if someone wants to make his own development board including an esp32, a ch340, and a USB C connector.
Good to know. I am not sure I was any help. but many time problems can be solved by just talking about them. I have helped many programmers in the past by listening to them discuss the problem and then suggesting something to look at.