2022-11-28 08:29 AM
Hello,
I am looking to use the NUCLEO-H7A3ZI-Q, which utilizes a STM32H7A3ZI MCU. It has the following memory specifications:
I am looking to do the following things on my product:
1) LCD Display (480x272 resolution), potentially with animations (animations TBD. For this question, assume we are using animations)
2) CAN communication
3) Basic GPIO signaling
My goal is to minimize PCB cost, so I am trying to see if I can get away with no additional, external RAM/Flash. I am trying to determine if that is possible, but want to confirm my logic.
For the SRAM, it needs to be able to display each pixel of the full 480x272 resolution. If we assume 1 frame buffer (no animation) and a 24 bit depth (RBG888), then the RAM requirement is:
480 x 272 x 24 / 8 / 1000 = 391.68 kBytes
If I want to do animations (Basic TouchGFX screen transitions. Not anything fancier than that), then an additional frame buffer would be needed. Therefore, the needed SRAM is:
480 x 272 x 24 / 8 / 1000 * 2 = 783.36 kBytes
This gives approximately 593 kBytes of remaining RAM for other uses. Therefore, the internal SRAM would be sufficient.
Is this logic correct, or am I missing anything?
Solved! Go to Solution.
2022-11-29 06:44 AM
Understood!
So I design the hardware assuming RGB888 is being used, then I can switch between RGB888, 666 and 565 as needed. That's great to know! Thank you again MM :)
2022-11-29 07:16 AM
Yes , but this is swithed on other place, not display type.