Question
I have an issue with the HAL_DMA_TransmitReceive() function. I am using full-duplex SPI communication between STM32F030R8T6 as master, and Nucleo-C031C6 as slave. I am only using DMA on the master side. My DMA clock is at 40MHz, SPI clock is at 10MHz
The problem is I can successfully transmit-receive up to 4 bytes of data. Above that amount, anomalies happen. I need to transfer 20 bytes of data in both directions. Does this have anything to do with RXFIFO and TXFIFO buffers being 4 bytes, or is it something else?
Thanks!