Skip to main content
jim239955_st
Associate III
Jul 28, 2022 1:11 PM UTC
Solved

Does anyone have a working example of Partial frame strategy on a STM32f407 device with an FSMC linked screen controller like SSD1963?

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?

This topic has been closed for replies.
MM..1
MM..1Best answer
Super User
Jul 28, 2022 4:32 PM UTC

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

4 replies

MM..1
MM..1Best answer
Super User
Jul 28, 2022 4:32 PM UTC

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

jim239955_st
Associate III
Jul 28, 2022 4:53 PM UTC

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.

MM..1
Super User
Jul 29, 2022 5:02 AM UTC
One click on link one down move to FMC and SPI Display Interface | TouchGFX Documentation
CopyRect is same.