Skip to main content
CJohn.4
Associate
March 11, 2022
Solved

New STM32F767 Project - Hardware decisions

  • March 11, 2022
  • 8 replies
  • 2259 views

Starting a new project using the STM32F767ZI (144 pin) chip. Project will have ethernet, can w/bootloader over can, and lcd/touchgfx.

Looking at the demo kits all of them have SRAM and a large amount of non-volatile memory that is assigned to different memory regions for extra storage of images/etc.

My question is are both memory types necessary for building a successful touchgfx application? We need non-volatile memory for data storage anyway, but as I'm putting together the first prototype schematics I'm trying to decide how much SRAM and external FLASH memory is needed.

We will be driving a 7inch 800x480 display in RGB565 mode. There will be a few image assets, but none will consume a full 800x480 resolution. Not seeing any guides out there for figuring this out.

This topic has been closed for replies.
Best answer by mƎALLEm

Hello,

It depends on the amount of data to be stored either in RAM or Flash.

TouchGFX needs Flash to store your assets (images etc ..), generally an external Flash (OCTO/QUAD-SPI or parallel interfaces) is used. It's recommended to use QuadSPI for PCB size optimization as well as the reduced pin number usage. RAM to store frame buffer (generally using SDRAM).

I think the application note AN4861 "LCD-TFT display controller (LTDC) on STM32 MCUs" can help you on this.

8 replies

mƎALLEm
mƎALLEmBest answer
ST Technical Moderator
March 11, 2022

Hello,

It depends on the amount of data to be stored either in RAM or Flash.

TouchGFX needs Flash to store your assets (images etc ..), generally an external Flash (OCTO/QUAD-SPI or parallel interfaces) is used. It's recommended to use QuadSPI for PCB size optimization as well as the reduced pin number usage. RAM to store frame buffer (generally using SDRAM).

I think the application note AN4861 "LCD-TFT display controller (LTDC) on STM32 MCUs" can help you on this.

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
CJohn.4
CJohn.4Author
Associate
March 14, 2022

I'm not sure how I didn't find that AN4861 prior to asking on here, but that is the exact document I was looking for!

Looks like I'm going to need at least 2MB of SRAM to handle double buffer 800x480@16BPP. Definitely going to need some external flash memory as well for storing assets, not sure how much just yet.

Thank you so much for the quick response and excellent information. This is our first project with STM coming from Microchip controllers, and so far the experience is way better.

Tesla DeLorean
Guru
March 14, 2022

QuadSPI NOR Flash parts up to 256MB are supported, up to 16MB (128Mbit) is perhaps most common/compatible due to 24-bit (3-byte) addressing modes. If you need 2 or 4 MB those things exist too, though perhaps NRND or approaching EOL as technology advances.

If you use the SOIC16W (~300mil) foot-print, this is available across a vast selection of makes/models with a standard land pattern. If you get into the uDFN/uSON 8-pin packages the availability and standardization gets more complicated.

Consider dual-foot print, the 16 to 8 pining is typically a 90 degree rotation and smaller, giving you additional part purchase options in the market.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..