Creating a non cacheable area of RAM on STM32H7A (B)
Using the linker script - How would I assign an area of AXI SRAM1 that is not cacheable by DCache? I am currently having problems with DMA transfers to the PWM peripheral when DCache is enabled (I think this is because I am sending 8bits to the HAL_TIM_PWM_Start_DMA and DCache likes aligned WORDS (I believe...)). I have tried Invalidating the cache - which doesn't yield any positive results and it seems the DMA/Peripheral cannot address the DTCRAM banks (AHB_SRAM 1 + ") which are uncacheable.
Is it possible to assign an area of AXI RAM, using the linker script and/or the startup script, to be uncachable?
A good starting point seems to be suggested by another ARM mcu manufacturer ...
but are there uncachable areas of the AXI RAM?
The same could be asked of non cacheable FLASH as looking at the STM32H7B block diagram I see that it is connected to the same AXI Bus Matrix
In addition I may have a look at the MPU but it seems incredible hard to configure...
Any advice is most welcome...
