Hi,
In my current project, I need to use the SPI bus to transfer data, and I need to switch the SPI bus operation method between two modes: 1. interrupt+FIFO mode and 2. DMA+FIFO+interrutp mode.
If I use the mode 2 first, then I need to switch the mode 2 to mode 1 by disable the spi dma, the spi bus will crash, the LA snap shot and my code are both attached.
Regards,
Gaojun