Skip to main content
Chandan Bhatia1
Associate III
March 18, 2020
Question

STM32 SPI DMA MODE

  • March 18, 2020
  • 1 reply
  • 694 views

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

Thanks

This topic has been closed for replies.

1 reply

waclawek.jan
Super User
March 20, 2020

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