STM32H7xx SRAM4 no-cache option

Use this forum for requesting small changes in ChibiOS. Large changes should be discussed in the development forum. This forum is NOT for support.
equinox
Posts: 4
Joined: Sun Sep 15, 2013 10:14 pm
Has thanked: 2 times
Been thanked: 4 times

STM32H7xx SRAM4 no-cache option

Postby equinox » Tue Mar 16, 2021 9:23 pm

Hi,

Since the BDMA controller on STM32H7xx can only reach SRAM4 it would be great to have an easy way to disable caching for this region using a simple define at mcuconf.h. Very much like they are available for SRAM1, SRAM2 and SRAM3. Especially since talking to SRAM4 is very inefficient for most other subsystems i think most people will only use SRAM4 in connection with BDMA.
The attached patch uses the MPU region 5 to disable caching for SRAM4. It would be great if you would consider adding this patch or something similar to the STM32 HAL.

regards
christian
Attachments
0003-disable-cache-for-SRAM4.zip
(1.17 KiB) Downloaded 179 times

Return to “Small Change Requests”

Who is online

Users browsing this forum: No registered users and 6 guests