esp32-SPIbus
esp32-SPIbus copied to clipboard
Nice code, works well for me.... but....
question, when you send the data to be written the function does not return until all data is written, even if using DMA... can this be made to exit the function and send the data over DMA in the background??
Thanks! RichardS
Hey, looked at the code and this is very nice! From what I can see it should not be too hard to use this as a "base" and modify as... well the code is so clean and un-bloated. (People like you need to get on the Windows 10 Development Team :-D)
I have spent over a week with the ESP32 SPI code (pulling my hair out) using the 64 byte FIFO and it was working great until I started a read test. The original code was getting about 100 FPS on my OLED (SSD1305 128*64 1BPP)) and the modified one was getting nearly 1000 FPS for the same 20Mhz frequency. No end of problems reading, then discovered the ESP32 SPI has over 500 bug reports so got dismayed. Will try this and if it can read... modify to return rather than wait.