cancel
Showing results for 
Search instead for 
Did you mean: 

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

ZMohd.7
Associate III

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

2 REPLIES 2

Is there enough internal memory to sustain the display?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
ZMohd.7
Associate III

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