cancel
Showing results for 
Search instead for 
Did you mean: 

STM32L476 TouchGFX performance with 2.4" touch screen concurrently with other tasks

Louis Cloete work
Associate III

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.

6 REPLIES 6
MM..1
Chief III

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 ?

Louis Cloete work
Associate III

> 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.

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

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.

Yes you can use TouchGFX here with partial framebuffer strategy. I mean performance will good, but you need check in real app.

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.