esp32-slave-spi icon indicating copy to clipboard operation
esp32-slave-spi copied to clipboard

DMA buffer

Open rSte82 opened this issue 6 years ago • 0 comments

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.

rSte82 avatar Jun 20 '19 13:06 rSte82