2019-05-17 01:52 AM
Hi all
I want to know where should I use QSPI function?
TouchGFX has initialized QSPI but it doesn't call
For my demo project my STM32H743eval LCD only on
But image not showing.
How to solve this?
2019-05-20 01:29 AM
Hi,
I think we're discussing something similar in another thread. Are you saying that neither QSPI_Init() or Display_Init() are being called?
/Martin
2019-05-20 01:32 AM
Yes it only call
QSPI_Init()
Display_Init()
So LCD only light but no data read from QSPI.
So I wanto know Where should I call BSP_QSPI read() function?
2019-05-20 01:39 AM
This is not something you're supposed to do. The QSPI is memory addressable so there's a pointer to the data floating around inside TouchGFX. You'd only want to call QSPI_Read if you want to do something with the data yourself and you know exactly where assets are placed in memory.
So you're simply trying to get something to display on screen? TouchGFX will attempt to render an image from QSPI to the framebuffer if that image is present on the active view in a TouchGFX application (TouchGFX keeps track of a BitmapDatabase that is generated so that it knows where to find images in memory).
I think i need more information on your project setup.
/Martin
2019-05-20 01:49 AM
I check my demo .map file
My External flash was put in 0x90000000
Or is here any project setting I should set for QSPI?
2019-05-20 02:19 AM
This is fine. TouchGFX knows to look in the ExtFlashSection. You shouldn't have to do anything. There must be something else wrong. How is your TouchGFX project structured? Do you even have a screen with an image on it?
/Martin
2019-05-20 02:24 AM
Yes I have set image on screen
I put back image as background.
2019-05-20 02:26 AM
Okay, i assume this is the simulator.
2019-05-20 02:28 AM
Yes this is my simulator.exe screen
2019-05-20 06:35 AM
Something you can do is check your STM32xxDMA.cpp class and break in fillRect() - This is the DMA occupying its queue with blitops if you have images that can be moved from qspi to framebuffer. You should find that these blitops have a source pointer - And you can check against your map file to verify that it's trying to transfer your image.
/Martin