Does anyone have a working example of Partial frame strategy on a STM32f407 device with an FSMC linked screen controller like SSD1963?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-07-28 6:11 AM
I am trying to get basic TouchGFX graphics working on STM32F407 over FSMC to an SSD1963 screen controller. I am getting the following errors on compile:
#error "a user must call touchgfx::startnewtransfer(); once touchgfxDisplayDriverTransmitBlock(): has successfully sent a block."
and
#error "a user must implement C-Methods touchgfxDisplayDriverTransmitActive() and touchgfxDisplayDriverTransmitBlock() used by the partial Framebuffer Strategy."
In the 'StartGFXTask' RTOS task i only have 'MX_TouchGFX_Process();' but should this not be enough to start the TGFX engine?
Solved! Go to Solution.
- Labels:
-
FMC-FSMC
-
STM32F4 Series
-
TouchGFX
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-07-28 9:32 AM
You need after generate code for partial framebuffer implement this methods and comment out error lines. Read docu
Framebuffer Strategies | TouchGFX Documentation
Lowering Memory Usage with Partial Framebuffer | TouchGFX Documentation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-07-28 9:32 AM
You need after generate code for partial framebuffer implement this methods and comment out error lines. Read docu
Framebuffer Strategies | TouchGFX Documentation
Lowering Memory Usage with Partial Framebuffer | TouchGFX Documentation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-07-28 9:53 AM
Thank you for the response. I understand now that those errors are deliberately there to make sure you implement the strategy properly and can be commented out. I understand what they are saying in these documents but in the final section they only provide methods to transfer the frame buffer to the screen using LTDC/DSI, and SPI interfaces. They do not explain how to do it using the FSMC (LCD) interface. This is where i think I am getting stuck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-07-28 10:02 PM
CopyRect is same.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-07-28 10:42 PM
Ah yes of course i see now, thank you!
