Suspending and resuming touchgfx task.
I am trying to use the external QSPI flash to store some contents while touchgfx is running.
I believe the correct procedure to do is:
Suspend touchgfx task.
Disable interrupts(LTDC and DMA2D)
switch QSPI to indirect mode
perform write to QSPI
switch QSPI to memory mapped mode
enable interrupts (LTDC and DMA2D)
Resume touchgfx task
I am following above procedure but the device restarts approximately after 90 seconds of suspending the touchgfx task. Even though there is no write operation to QSPI.
I would like to know if the above mentioned procedure is correct ?
also what would be correct place to suspend and resume the task ?
Note: we are using EMBOS.
@Martin KJELDSEN it would be helpful if you could provide some tips here.
