| FORUM

FEDEVEL
Platform forum

ESP32-s3 ch343p and ch334f

, 07-16-2024, 11:39 AM
Currently, I'm facing an issue with using ESP32-S3 --> CH343p --> CH334F. When I connect ESP32 --> CH343p, it works fine. However, when I connect ESP32-S3 --> CH343p --> CH334F, it doesn't work. It shows "USB device not Recognized". As a beginner in PCB design, I'm unsure of the problem.
QDrives , 07-16-2024, 08:34 PM
The USB firmware in the ESP32 probably does not support hubs.
, 07-17-2024, 03:41 AM
Are you sure. Do you have any suggestions? I designed based on the ESP32-S3-WROOM-1-N8R8 Module, and it appears to work. Why is that?
Robert Feranec , 07-17-2024, 08:34 AM
how do you connect esp with ch343, through serial port?
Robert Feranec , 07-17-2024, 08:34 AM
or are you trying to use esp usb?
QDrives , 07-17-2024, 07:50 PM
What appears to work?
I know more on USB than ESP32, so that is why I mentioned hubs.
But Robert asks an important question: how do you connect/communicate to the CH334F?
The ESP32 needs to be in USB host mode to communicate with CH334F and through that to the CH343P.
, 07-18-2024, 02:35 PM
I'm trying to follow this board, but I'm not sure if my connections are correct or if I need to install firmware. Also, I'm having issues with the CH343P and CH334F chips.
, 07-18-2024, 02:56 PM
I'm trying to follow this board, which has a built-in USB Hub. I'm confident that my schematic is correct, but I don't understand why it doesn't work with the CH334F and shows 'USB device not recognized'. What could be the issue?
QDrives , 07-18-2024, 08:40 PM
That board is to connect both the ESP32 and the CH343P to a hub and access it from a PC or something. Both ESP32 and CH343P are in peripheral mode.
However, the text "*ESP32-S3 --> CH343p --> CH334F*" suggests that you want the ESP32 as the USB host.

Just in case you did not know: USB has a (single) host to communicate with (multiple) peripherals.
Unlike UART, I2C and SPI, USB host is a lot more complicated.
Robert Feranec , 07-18-2024, 11:08 PM
So, you have PC -> USB HUB -> USB to UART -> ESP32 UART, right? Normally, this should work. try to bypass the hub and also you can try to connect something to the hub, just to find out if HUB is the problem or if the USB to UART is problem or if the combination of these two is the problem. Offten the Unrecognized device is problem with connection e.g. swapped signals, wrong layout, etc ... Did you try to use short cable? are you sure your USB connector to USB hub connection is ok? That is not visibile from screenshots.
QDrives , 07-19-2024, 07:28 PM
I do not think he does. I think he has both the ESP32 and the CH343P (USB to UART) on the downstream ports of the USB Hub (CH334F) as it is in the design he references.
The ESP32 has USB OTG so it can do host mode. However, then the ESP32 should be on the upstream port (DPU,DMU).
With the hub upstream ports connected to the ESP32, you can no longer connect through USB to the ESP32 as you cannot have multiple hosts together with hubs (to my knowledge).
Use our interactive Discord forum to reply or ask new questions.
Discord invite
Discord forum link (after invitation)

Didn't find what you were looking for?