2021-12-03 03:09 AM
I am becoming interested in TouchGFX, and I want to know how it performs on STM32L476 for a 2.4" 240x320 touch screen. The chip is already doing some other control tasks, mostly digital I/O and bitbang SPI to control other chips, and 2 UART control interfaces with SCPI commands. The UARTs are on DMA.
2021-12-03 05:27 AM
Your L476 is memory less for 240x320 full framebuffer internaly. You dont write how interface you plan use SPI/FMC for LCD, but both this need more MCU power as ltdc controlled displays. And what you ask as performance ?
2021-12-03 05:36 AM
> Your L476 is memory less for 240x320 full framebuffer internaly.
What do you mean by that? Is the L476 RAM too small or is it enough?
> You dont write how interface you plan use SPI/FMC for LCD
FMC is Flexible Memory Controller?
> but both this need more MCU power as ltdc controlled displays
What is ltdc controlled displays?
> And what you ask as performance ?
I mean does it update the screen regularly enough or does it get laggy.
2021-12-03 05:52 AM
Is too small 240x320x2 > 128k
FMC yes can be used to parallel drive LCD as 8080 ...
LTDC is display interface RGB HSYNC VSYNC or in advanced DSI, both is MCU offload poripherals do its job without MCU intervention... I mean Lxxx dont have it
Is laggy or perfect , based on used methods
2021-12-03 06:31 AM
Ok so I am looking at a screen which has this LCD controller built in: https://www.crystalfontz.com/controllers/Ilitek/ILI9341/ It has graphics RAM, so I can put some data in it. However, it will still need some kind of control interface. Can the FMC drive it? I don't want to use SPI, since the manufacturer warns it is extremely slow.
EDIT: I see you already said FMC can drive LCD above.
2021-12-03 06:39 AM
Yes you can use TouchGFX here with partial framebuffer strategy. I mean performance will good, but you need check in real app.
2021-12-03 06:45 AM
I'll check, thanks! Currently we're using an Gen4-IoD display module with ESP8266 controlling the display, but if I can get away with just a single microcontroller I'll be happy. Other issue is I don't think we have that many pins left on the 476. But I do want to evaluate TouchGFX and see if it is maybe an option in the future.