File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -132,7 +132,12 @@ package STM32.Board is
132132 SDRAM_Read_Pipe : constant STM32.FMC.FMC_SDRAM_Read_Pipe_Delay :=
133133 STM32.FMC.FMC_ReadPipe_Delay_1;
134134 SDRAM_Refresh_Cnt : constant := 1386 ;
135- SDRAM_Min_Delay_In_ns : constant := 70 ;
135+
136+ -- SDRAM AC timings (ns) for the on-board ISSI IS42S16400J
137+ -- Values from the ST BSP in stm32f429i_discovery_sdram.c at SDCLK = 90 MHz:
138+ SDRAM_TRAS_In_Ns : constant := 42 ; -- TRAS
139+ SDRAM_TRC_In_Ns : constant := 70 ; -- TRC
140+ SDRAM_TXSR_In_Ns : constant := 70 ; -- TXSR
136141
137142 -- -------------
138143 -- SPI5 Pins --
Original file line number Diff line number Diff line change @@ -129,7 +129,11 @@ package STM32.Board is
129129 SDRAM_Read_Pipe : constant STM32.FMC.FMC_SDRAM_Read_Pipe_Delay :=
130130 STM32.FMC.FMC_ReadPipe_Delay_0;
131131 SDRAM_Refresh_Cnt : constant := 16#0569# ;
132- SDRAM_Min_Delay_In_ns : constant := 70 ;
132+ -- SDRAM AC timings (ns) for the on-board Micron MT48LC4M32B2B5
133+ -- Values from the ST BSP in stm32469i_discovery_sdram.c at SDCLK = 90 MHz:
134+ SDRAM_TRAS_In_Ns : constant := 42 ; -- TRAS
135+ SDRAM_TRC_In_Ns : constant := 70 ; -- TRC
136+ SDRAM_TXSR_In_Ns : constant := 70 ; -- TXSR
133137
134138 -- -------
135139 -- I2C --
Original file line number Diff line number Diff line change @@ -116,9 +116,11 @@ package STM32.Board is
116116 SDRAM_Read_Pipe : constant STM32.FMC.FMC_SDRAM_Read_Pipe_Delay :=
117117 STM32.FMC.FMC_ReadPipe_Delay_0;
118118 SDRAM_Refresh_Cnt : constant := 1539 ;
119- SDRAM_TRAS_In_Ns : constant := 42 ; -- IS42S32400F min self-refresh time
120- SDRAM_TRC_In_Ns : constant := 60 ; -- IS42S32400F min row cycle time
121- SDRAM_TXSR_In_Ns : constant := 70 ; -- IS42S32400F min exit self-refresh delay
119+ -- SDRAM AC timings (ns) for the on-board Micron MT48LC4M32B2B5-6A
120+ -- Values from the ST BSP in stm32746g_discovery_sdram.c at SDCLK = 100 MHz:
121+ SDRAM_TRAS_In_Ns : constant := 42 ; -- TRAS
122+ SDRAM_TRC_In_Ns : constant := 60 ; -- TRC
123+ SDRAM_TXSR_In_Ns : constant := 67 ; -- TXSR
122124
123125 -- -------
124126 -- I2C --
Original file line number Diff line number Diff line change @@ -125,7 +125,11 @@ package STM32.Board is
125125 SDRAM_Read_Pipe : constant STM32.FMC.FMC_SDRAM_Read_Pipe_Delay :=
126126 STM32.FMC.FMC_ReadPipe_Delay_0;
127127 SDRAM_Refresh_Cnt : constant := 16#0603# ;
128- SDRAM_Min_Delay_In_ns : constant := 60 ;
128+ -- SDRAM AC timings (ns) for the on-board Micron MT48LC4M32B2B5-6A
129+ -- Values from the ST BSP in stm32f769i_discovery_sdram.c at SDCLK = 100 MHz:
130+ SDRAM_TRAS_In_Ns : constant := 42 ; -- TRAS
131+ SDRAM_TRC_In_Ns : constant := 60 ; -- TRC
132+ SDRAM_TXSR_In_Ns : constant := 67 ; -- TXSR
129133
130134 -- -------
131135 -- I2C --
You can’t perform that action at this time.
0 commit comments