Increase SPI speed on ESP32 (sample rate, not CLK)

raff5184
Posts: 7
Joined: Fri Nov 12, 2021 5:55 pm

Increase SPI speed on ESP32 (sample rate, not CLK)

Postby raff5184 » Tue Aug 16, 2022 4:26 pm

Hi,

I'm using the SPI on an ESP32 chip. I need to read a stream of data on the ESP SPI master at 2MS/s, each sample is 1 byte. So I have 2 Mbytes each second.
For now I'm using a for loop that reads x amount of samples, I have 16MHz SPI CLK which is enough, the problem is that there is a delay between two SPI readings, so that my reading rate is 375 kS/s which is no enough.

Any suggestions?
Thank you

Who is online

Users browsing this forum: No registered users and 63 guests