Skip to main content
ZMohd.7
Associate III
March 3, 2019
Question

How to generate basic graphical application using STemWin for Target STM32f746G discovery without external SDRAM

  • March 3, 2019
  • 2 replies
  • 725 views

Hi,

I'm trying to generate graphical application code from CubeMx_4.26 for using STemWin and GUI Builder tool for target board STM32F746G discovery board.

cubeMX .ioc file are attached, It works when I am generating GUI code with extrnal SDRAM use.

But i don't want to use any External SDRAM.

Anyone perhaps have a working .IOC 32f746 Disco setup with working StemWin and Guibuilder without use of External SDRAM for me to compare to? or Edit the attached .Ioc file.

Thank In advance.

Regards,

MD

This topic has been closed for replies.

2 replies

Tesla DeLorean
Guru
March 3, 2019

Is there enough internal memory to sustain the display?

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
ZMohd.7
ZMohd.7Author
Associate III
March 4, 2019

Yes, I'm using Internal SRAM1 (240 KB) for frame buffer, and is enough for my graphical application.

Memory configuration are as follow:

Frame Buffer start address: 0x2001 0000

IROM1 address: 0x8000 0000

IRAM1 address: 0x2000 0000

stack size : 0x0000 1000 //Bytes

heap size : 0x0000 0100 //Bytes

EmWin config:

#define LCD_FRAME_BUFFER ((U32)0x2001 0000)

#define GUI_NUMBYTES (1024) * 35 //Bytes

U32 aMemory[GUI_NUMBYTES / 4];

but still my display blank or black, I don't know what i am missing.

Thanks