2024-01-16 12:25 PM
STM32H743
We have 4 SPI busses running at 12.5MHz but the SPI clocks are sequentially. SPI 1 and 2 are using DMA Channel 1 while SPI 3 and 4 are using DMA Channel 2. We would like them to run in parallel.
Can they run in parallel.
The code uses HAL_SPI_TransmitReceive_DMA() for each of the calls to the spi to Tx and Rx.The picture below definitely shows serialization of the accesses. Each access is 32 bytes.
The picture above shows the clocks of 3 of the spi busses and it is quite evident that the SPI busses are not running in parallel.
Solved! Go to Solution.
2024-01-16 12:51 PM
The SPI accesses were ending before the next one could be setup decreasing the clock frequency shows them running in parallel.
2024-01-16 12:51 PM
The SPI accesses were ending before the next one could be setup decreasing the clock frequency shows them running in parallel.