AnsweredAssumed Answered

Can DMA of slave SPI read transfer terminate on transfer complete

Question asked by Freddy Ben-Zeev on Mar 12, 2019
Latest reply on Mar 29, 2019 by Freddy Ben-Zeev

I’m using s32k148 and configured an spi slave channel with dma transfer. It looks like I have to know in advance the length of data to be received. If I try to set it to receive some max buffer size value and the spi master sends less data, the slave continues the dma read to the full count I specified filling the rest of the buffer with garbage (in other words – it continues to read even after the CS signal from the master went inactive). Is this a bug or a feature? Or did I miss something?