Esp32, Esp32s2 and s3 GPIO speed very slow.

keikai
Posts: 1
Joined: Mon Sep 23, 2024 11:26 pm

Esp32, Esp32s2 and s3 GPIO speed very slow.

Postby keikai » Tue Sep 24, 2024 12:27 am

Using the digitalwrite functions the esp32s3 does 5 to 8 KHz with gpio toggling. The esp32s2 does 100 KHz this way. Using the GPIO registers GPIO.out_w1tc and GPIO.out_w1ts , esp32s3 goes up to 88 KHz and esp32s2 is at 200KHz. When i use espidf with vscode its even worst all of the chips give a rate of 100-120Hz. It seems weird considering there are many high performance peripheals on the soc.

I wanted to connect it to an FPGA. The esp32 needs to send 40 Megabits per pin to fpga. I know spi on s2 is 80MHz while s3 is 120 MHz. Im not looking to use spi for now. t

Who is online

Users browsing this forum: No registered users and 122 guests