I’d like to use circular mode dma to control data transfers over an SPI interface.
If I want to send twice “RSL10 SPI TEST” over an SPI interface using circular mode dma, what should I do using ‘spi_cmsis_driver’ ?
I changed dma mode configuration from single to repeat in RTE_Device.h and SPI_Control() of SPI_RSLxx.c.
And I added counter function in SPI_TX_DMAHandler and SPI_RX_DMAHandler to stop dma after sending data two cycles.
After reset, only first time worked correctly. After that it sent data which was added 0x00 before ‘R’ only one cycle.
Please give me advice.