2023-12-26 04:23 AM - last edited on 2023-12-26 06:12 AM by SofLit
Hi im currently using STM32H747I EVK board and working on QSPI ,im able to perform all the QSPI operations in FLASH1 but when u configure it as the FLASH2 nothing works .
static void MX_QUADSPI_Init(void)
{
/* USER CODE BEGIN QUADSPI_Init 0 */
/* USER CODE END QUADSPI_Init 0 */
/* USER CODE BEGIN QUADSPI_Init 1 */
/* USER CODE END QUADSPI_Init 1 */
/* QUADSPI parameter configuration*/
hqspi.Instance = QUADSPI;
hqspi.Init.ClockPrescaler = 1;
hqspi.Init.FifoThreshold = 1;
hqspi.Init.SampleShifting = QSPI_SAMPLE_SHIFTING_HALFCYCLE;
hqspi.Init.FlashSize = 25;
hqspi.Init.ChipSelectHighTime = QSPI_CS_HIGH_TIME_8_CYCLE;
hqspi.Init.ClockMode = QSPI_CLOCK_MODE_0;
hqspi.Init.FlashID = QSPI_FLASH_ID_2;
hqspi.Init.DualFlash = QSPI_DUALFLASH_DISABLE;
if (HAL_QSPI_Init(&hqspi) != HAL_OK)
{
Error_Handler();
}
/* USER CODE BEGIN QUADSPI_Init 2 */
/* USER CODE END QUADSPI_Init 2 */
}
System clock is 64MHz i have also configured the Pins.
2024-01-02 08:23 AM - edited 2024-01-02 08:23 AM
Hello @ujwal_kumar_N_L and welcome to STCommunity :),
Could you please specify which STM32CubeMX version are you using? Please try with the latest version: STM32CubeMX 6.10.0
Do you have the same issue when you using QSPI_MemoryMappedDual example, without generating the code with STM32CubeMx?
Thank you.
Kaouthar
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-01-02 09:03 AM
>>STM32H747I EVK board
Do you mean the STM32H747I-EVAL board of the STM32H747I-DISCO board?
What MICRON part is populated on the board? What pins are you using? Is SB6 open or closed?