cancel
Showing results for 
Search instead for 
Did you mean: 

Exit from QSPI Memory map mode in STM32H7

AMull.11
Associate II

Hi Guys,

I am working on one of the project, in that I have to read the TouchGFX assets from External flash and also sensor data from external flash.

So, TouchGFX assets has to be read in Memory Map Mode and Sensor data has to be read in Indirect Mode.

So in this I am not getting how to exit from the Memory Map mode to Indirect mode to read the Sensor data.

I had followed below sequence but code is entering into error handle function.

main()

{

MX_QUADSPI_Init();

EnableMemoryMapMode();

MX_TouchGFX_Process();

QUADSPI->CCR &= (~(QUADSPI_CCR_FMODE));

HAL_QSPI_DeInit(&hqspi);

MX_QUADSPI_Init(); /*from this function code is going into  Error_Handler();*/

MX_FREERTOS_Init();

 /* Start scheduler */

 osKernelStart();

while(1)

{

}

}

Any kind help will be appreciated.

Thank You.

0 REPLIES 0