ESP32 Minimum SPI Speed?

Talesduque
Posts: 11
Joined: Wed Jul 08, 2020 1:40 pm

ESP32 Minimum SPI Speed?

Postby Talesduque » Thu Feb 04, 2021 10:48 pm

Hello, I've ran into some problems while trying to communicate to a FPGA via SPI. After troubleshooting tons of different stuff I went on the internet to research about the SPI frequencies, only found info about highest speed and the rule of the frequency being a number that can be obtained when dividing 80MHz by an integer.

The problem is: Im sending a constant value ('33') from the FPGA to the ESP32 via SPI. When using the Logic Analyzer, I get to see the values going through, and sometimes the value that shows of a transmission is random, sometimes its 66 (which is shifting one bit to the left), etc.

Does anyone know what is an optimal speed? (ESP WROOM32)

The FPGA is running on a 25Mhz clock, my SPI speed currently is 5MHz.

Thanks!

Who is online

Users browsing this forum: No registered users and 155 guests