We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9082fb2 commit 4950195Copy full SHA for 4950195
src/stm32System/stm32FMC.cpp
@@ -153,7 +153,7 @@ static void MX_FMC_Init(void)
153
/* Step 8: Set the refresh rate counter - refer to section SDRAM refresh timer register in RM0455 */
154
/* Set the device refresh rate
155
* COUNT = [(SDRAM self refresh time / number of row) x SDRAM CLK] – 20
156
- = [(64ms/8192) * 143.3333MHz] - 20 = 1099. */
+ = [(64ms/8192) * 150MHz] - 20 = 1151.875 ~ 1152. */
157
if (HAL_SDRAM_ProgramRefreshRate(&_hsdram1, 1152) != HAL_OK)
158
{
159
Error_Handler();
@@ -680,4 +680,4 @@ extern "C" void MDMA_IRQHandler()
680
681
HAL_MDMA_IRQHandler(&_hmdmaMdmaChannel40Sw0);
682
HAL_MDMA_IRQHandler(&_hmdmaMdmaChannel41Sw0);
683
-}
+}
0 commit comments