Skip to main content
_EFrie
Senior
March 10, 2025
Solved

DTCM cache DMA issue

  • March 10, 2025
  • 1 reply
  • 431 views

Device is STM32F765VI.

I'm using DMA to fill data allocated from DTCM, for some reason this seems to be caching.

My understanding is that DTCM doesn't need cache management, help me if wrong here.  If I don't enable the data cache everything works as expected here.

Ultimately, I'm using the QSPI peripheral, DMA2 stream 2, target address is less than 0x20020000, I seem to be missing some core understanding here.

 

Best answer by _EFrie

Never mind, I didn't have the DMA write buffer in DTCM, please disregard question.

1 reply

_EFrie
_EFrieAuthorBest answer
Senior
March 10, 2025

Never mind, I didn't have the DMA write buffer in DTCM, please disregard question.