2022-07-28 06: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.
2022-07-28 09: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
2022-07-28 09: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
2022-07-28 09: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.
2022-07-28 10:02 PM
2022-07-28 10:42 PM
Ah yes of course i see now, thank you!