Browse Source

修改DDR参数配置,按照手册规范调整,修改前暂无异常影响。

helen 1 month ago
parent
commit
2907648924

+ 1 - 1
amt630hv160-mcu/amt630hv160-mcu-iram/src/Drivers/ddr.c

@@ -681,7 +681,7 @@ restart:
 
 		| (((tRRD/2)+1) << 8)			//11:8  t_rrd, Minimum time between activates from bank "a" to bank "b"
 
-		| (2 << 22)					//19:16 t_ccd, is the minimum time between two reads or two writes.
+		| (2 << 16)					//19:16 t_ccd, is the minimum time between two reads or two writes.
 
 		| (((tRCD/2)+1) << 24)		//28:24 t_rcd, Indicates the minimum time from activate to read or write command to same bank.
 		;

+ 1 - 1
amt630hv160-mcu/amt630hv160-mcu-sram-nos/src/Drivers/ddr.c

@@ -681,7 +681,7 @@ restart:
 
 		| (((tRRD/2)+1) << 8)			//11:8  t_rrd, Minimum time between activates from bank "a" to bank "b"
 
-		| (2 << 22)					//19:16 t_ccd, is the minimum time between two reads or two writes.
+		| (2 << 16)					//19:16 t_ccd, is the minimum time between two reads or two writes.
 
 		| (((tRCD/2)+1) << 24)		//28:24 t_rcd, Indicates the minimum time from activate to read or write command to same bank.
 		;