Flash memory frequency using QSPI is too slow.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2024-05-20 7:38 PM
The stm32h747 controls Flash memory using qspi.
Flash is using mt25ql256.
Write and Read actions have been confirmed.
But the frequency doesn't come out like a data sheet in flash memory.
The speed of the QSPI clock is around 1.25Mhz.
QSPI ClockPrescaler : 2
The frequency does not come out like a flash memory data sheet.
I want to know what the problem is, please help me!!
Labels:
- Labels:
-
QSPI
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2024-05-20 7:44 PM
Unpack the clocks as the MCU sees them.
printf("\n\nCore=%d, %d MHz\n", SystemCoreClock, SystemCoreClock / 1000000);
printf("HCLK=%d\n", HAL_RCC_GetHCLKFreq());
printf("APB1=%d\n", HAL_RCC_GetPCLK1Freq());
printf("APB2=%d\n", HAL_RCC_GetPCLK2Freq());
Likely not running with the bus clocks you think it is.
Check the clock initialization code doesn't fail, either HSE or PLL failing to come ready would be my guess.
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Up vote any posts that you find helpful, it shows what's working..
