Search found 8 matches

by Adraen
Fri Jul 11, 2025 1:36 pm
Forum: ESP-IDF
Topic: ESP32-P4 and USB Device + Host
Replies: 6
Views: 1932

Re: ESP32-P4 and USB Device + Host

Okay for anyone interested I think I got it working, the setup is like this:

Waveshare ESP32-P4 Nano
USB -> Serial on the main USB port of the waveshare board, connected to PC
USB JTAG/Serial on GPIO24/GPIO25, connected to PC
USB FS Device on GPIO26/GPIO27, connected to PC
USB HS Host on D+/D ...
by Adraen
Fri Jul 11, 2025 5:43 am
Forum: ESP-IDF
Topic: ESP32-P4 and USB Device + Host
Replies: 6
Views: 1932

Re: ESP32-P4 and USB Device + Host

Thanks Sprite,

Apologies my previous wasn't particularly clear and it was two different things. I understand that USB HS and FS are usable at the same time it's "just" a software issue at the moment (still very limiting).

What I meant to ask was that in the TRM (at least from my understanding ...
by Adraen
Thu Jul 10, 2025 9:39 pm
Forum: ESP-IDF
Topic: ESP32-P4 and USB Device + Host
Replies: 6
Views: 1932

Re: ESP32-P4 and USB Device + Host

> the USB JTAG/serial shares a port with an USB FS OTG controller

Is that right? Looking at the technical reference manual (not sure if there is anything more recent than the 0.1) it says that the ESP32-P4 has two FS transceivers and that by default FS_PHY1 is on GPIO24/GPIO25 and FS_PHY2 on GPIO26 ...
by Adraen
Wed Jul 09, 2025 8:59 pm
Forum: ESP-IDF
Topic: ESP32-P4 and USB Device + Host
Replies: 6
Views: 1932

ESP32-P4 and USB Device + Host

Hi,

One of the (many) great addition of the P4 is the support for USB HS and the dual USB (FS + HS) as well as the JTAG/Serial.

In the device i'm developing I'm trying to get one USB as a USB-NCM device, and have the second USB in host mode to connect a 4G modem (or potentially something else).

I ...
by Adraen
Fri Jul 09, 2021 7:49 am
Forum: General Discussion
Topic: esp32-s2 adc configuration and attenuation
Replies: 4
Views: 5974

Re: esp32-s2 adc configuration and attenuation

Hi krzychb,

Thank you very much for checking, sorry for wasting your time, another day and this time it works... I spent ages on this yesterday and couldn't make any sense of it, spent 5 minutes on it today and it's just working as i'm expecting...

For the documentation, yeah you're right, just ...
by Adraen
Thu Jul 08, 2021 6:20 pm
Forum: General Discussion
Topic: esp32-s2 adc configuration and attenuation
Replies: 4
Views: 5974

esp32-s2 adc configuration and attenuation

Hi there,

I'm having a bit of an issue grasping the attenuation of the ADC. According to the documentation the voltage range is dependent on the attenuation and "By setting higher attenuation it is possible to read higher voltages." https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api ...
by Adraen
Sun Jul 04, 2021 5:01 pm
Forum: ESP-IDF
Topic: Websocket: freeing frame and transmit buffer
Replies: 0
Views: 2079

Websocket: freeing frame and transmit buffer

Hi there,

So i've been through the examples and the MR for the websockets support that has been added in httpd and i'm not fully following how to properly free resources once the messages have been sent. Hopefully i'm not missing something too obvious!

For instance let's say an action need to ...
by Adraen
Mon Dec 17, 2018 7:01 pm
Forum: ESP-IDF
Topic: I2S one-off send
Replies: 0
Views: 2699

I2S one-off send

Hi,

I'm been trying to use the esp32 i2s driver to shift some data into shift registers in order to increase the number of available output (i've seen a few esp8266 samples about doing very similar things).

I'm trying to use the i2s driver to take care of some of the configuration but it seems ...

Go to advanced search