esp32-slave-spi
esp32-slave-spi copied to clipboard
DMA buffer
Hi iPAS, your esp32-slave-spi library was very usefull for my project. You say that DMA doesn't work? what do you mean?
I'm testing it with: #define SPI_DMA 1 #define SPI_DEFAULT_MAX_BUFFER_SIZE 1024 buffer_size = 1024 and it works. The spi master tx 8 bytes and spi slave decode the message.
NOTE: I can read the correct values in the rx buffer only if the tx buffer length is a multiple of 8 bytes! otherwise the last 1, 2 or 3 bytes are 0.