Search found 7 matches

by JimDrew
Sun May 21, 2023 1:20 am
Forum: ESP32 Arduino
Topic: WiFiCLient::availableForWrite() returns 0
Replies: 2
Views: 3429

Re: WiFiCLient::availableForWrite() returns 0

I have recently run across this exact same issue with a ESP32C3. Code that compiles and works perfectly on the ESP8266 does not work on the ESP32C3 (maybe other ESP32 versions?) if (tcpClient.availableForWrite() > 0) { tcpClient.write(sendbuf, sendlength); } This skips the write because the result f...
by JimDrew
Sun Jan 08, 2023 5:01 am
Forum: General Discussion
Topic: ESP32-P4 RISC-V dual core 400 MHz in the news
Replies: 15
Views: 126403

Re: ESP32-P4 RISC-V dual core 400 MHz in the news

FWIW, the GPIO latency is a function of the bus they're on. If you need faster GPIO, we do support dedicated GPIO on most newer chips (S2 and up, iirc): https://docs.espressif.com/projects/esp-idf/en/latest/esp32s3/api-reference/peripherals/dedic_gpio.html Thanks. I would also like to know if there...
by JimDrew
Sat Jan 07, 2023 8:51 pm
Forum: General Discussion
Topic: ESP32-P4 RISC-V dual core 400 MHz in the news
Replies: 15
Views: 126403

Re: ESP32-P4 RISC-V dual core 400 MHz in the news

Is there going to be some concrete information about the GPIO latency on these parts? I would hope that Espressif could figure out how to do single cycle GPIO by now. Taking hundreds of nanoseconds (with a sub-5ns clock) just to change a pin state is a huge limitation that none of their competitors ...
by JimDrew
Tue May 25, 2021 9:06 am
Forum: ESP32 Arduino
Topic: WiFiCLient::availableForWrite() returns 0
Replies: 2
Views: 3429

Re: WiFiCLient::availableForWrite() returns 0

I have this same problem as well!

int i = tcpClient.availableForWrite();

This always returns with i equal to 0. This code works perfectly when compiled for the ESP8266.
by JimDrew
Tue Jun 23, 2020 1:30 am
Forum: ESP32 Arduino
Topic: HSPI >26MHz?
Replies: 4
Views: 6048

Re: HSPI >26MHz?

Well, that is interesting. Is that actually documented anywhere? I found this: "If the Host only writes data, the dummy bit workaround and the frequency check can be disabled by setting the bit SPI_DEVICE_NO_DUMMY in the member spi_device_interface_config_t::flags. When disabled, the output frequenc...
by JimDrew
Sat Jun 20, 2020 9:30 pm
Forum: ESP32 Arduino
Topic: HSPI >26MHz?
Replies: 4
Views: 6048

Re: HSPI >26MHz?

Bump? Doesn't anyone actually use SPI? :)
by JimDrew
Sun Jun 14, 2020 11:12 pm
Forum: ESP32 Arduino
Topic: HSPI >26MHz?
Replies: 4
Views: 6048

HSPI >26MHz?

I have a board setup using both HSPI and VSPI. I am using the dedicated pins for both of these ports. There are two issues that I can not seem to resolve. Issue 1 - I can not make the port go any faster than 26MHz. Anything up to 26MHz works fine. The device it is connected to will handle 38MHz, and...