Skip to content

Commit 6240bdc

Browse files
etienne-lmsfabiobaltieri
authored andcommitted
boards: st: stm32f746g_disco: Fix sdram available size
According to UM1907 Rev 6 section 5.13 "SDRAM Memory" [1], the available SDRAM size is only 8MByte since only the lowest 64Mbit are accessible despite the SDRAM capacity is 16MByte (128MBit). Link: https://www.st.com/resource/en/user_manual/um1907-discovery-kit-for-stm32f7-series-with-stm32f746ng-mcu-stmicroelectronics.pdf [1] Signed-off-by: Etienne Carriere <[email protected]>
1 parent c4df2db commit 6240bdc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

boards/st/stm32f746g_disco/stm32f746g_disco.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
sdram1: sdram@c0000000 {
5555
compatible = "zephyr,memory-region", "mmio-sram";
5656
device_type = "memory";
57-
reg = <0xc0000000 DT_SIZE_M(16)>;
57+
reg = <0xc0000000 DT_SIZE_M(8)>;
5858
zephyr,memory-region = "SDRAM1";
5959
zephyr,memory-attr = <DT_MEM_ARM(ATTR_MPU_RAM)>;
6060
};

0 commit comments

Comments
 (0)