STM32H743 QSPI function
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-05-17 1: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?
- Labels:
-
QSPI
-
STM32H7 Series
-
TouchGFX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-05-20 1: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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-05-20 1: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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-05-20 1: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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-05-20 1: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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-05-20 2: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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-05-20 2:24 AM
Yes I have set image on screen
I put back image as background.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-05-20 2:26 AM
Okay, i assume this is the simulator.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-05-20 2:28 AM
Yes this is my simulator.exe screen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-05-20 6: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
