cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 SPI DMA MODE

Hello, I am generating code using STM32MX CUBE. Please let me know how bust increment for peripheral and memory will affect compunction.

Thanks

1 REPLY 1

The "burst increment" parameter, if nonzero, results in data being transferred in bursts over the respective AHB bus, while the bus is locked. This may result in marginal improvement of DMA performance in some very extreme cases (as it decreases the ratio between internal arbitration and bus acquisition cycles to actual transfer cycles), at the cost of increased latency for other busmasters, and the need for very careful alignment/FIFO setup.

Use it only if you know very well, what are you doing.

In the vast majority of cases, simply leave it at single-transfers, that's always safe.

JW