Repository navigation
Waveshare....My Nightmare #140
Replies: 1 comment 1 reply
|
Thanks for writing this up, and sorry it cost you a redesign and an extra adapter. You're right. On the Waveshare ESP32-P4-ETH, the USB-C port is only for power and flashing. It is not a USB host port, so an OTG adapter on it will never see the UPS. The only host port is the USB 2.0 High-Speed one on the 4-pin JST 1.25 mm header (J3). The firmware talks to the UPS there. The 5V line matters too. A UPS USB interface needs VBUS on the cable before it believes a host is there. With only GND, D- and D+ connected, it never enumerates. So the cable from J3 to a USB-A socket needs all four wires. The README already says the UPS goes on the J3 header, but it doesn't say this clearly enough. The OTG adapter steps a few lines above are for the ESP32-S3 boards, and it's easy to think they apply to the P4 as well. I'll add a note to the ESP32-P4 section: USB-C is not a host port, you need a JST 1.25 mm 4-pin to USB-A cable, and 5V must be connected. That way the next person won't build a case around the wrong port. If you have a photo of the adapter you soldered, or a link to a ready-made JST 1.25 mm 4-pin to USB-A cable that works, feel free to post it here. It would help other P4-ETH owners. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Information regarding the Waveshare ESP32-P4-ETH(-POE) v3.2
Trusting the USB-C connector without verifying its functionality, I designed a case with an OTG adapter for an acquaintance and published it online.
Only a few days later, He discovered that the module's USB-C connector does not support USB OTG at all.
The only way to connect an OTG device is through the JST connector (1.25 mm, 4-pin) soldered onto the board.
It is also important to note that the +5V pin must be connected to the UPS power supply, as OTG device detection only works when this connection is present.
Initially, I tried using only GND, D-, and D+, but this did not work.
Unfortunately, I was not aware of these limitations. However, I also did not take the time to verify them and handed over the module after flashing the firmware without testing it.
That was a significant mistake.
We have now soldered together an adapter by connecting a JST 1.25 mm 4-pin plug to a USB-A socket, which unfortunately results in additional costs.
In my opinion, this makes the PoE functionality of this particular module unnecessarily expensive. Since I only had access to this single unit, I cannot determine whether other ESP32-P4-ETH boards behave in the same way.
All reactions