2015-10-09 05:36 AM
Hello!
I am working in a project that uses a STM32F407 and 7'' TFT LCD with SSD1963 controller, after hard work to put the LCD running and some corrections on the board, now we are trying to display a image from a SD Card, but it not running yet, I'll post the code attached if anyone can help us. Thanks,2015-10-09 07:18 AM
char _acBuffer[0x6000];
That's declared inside of a function.Are you sure you do have that much stack?If you are not sure, move that variable to the global scope of the file,and declaring it as static wouldn't hurt.Alternatively, you can leave it inside the function but declare it as static:static char _acBuffer[0x6000];2015-10-09 10:00 AM
Thanks declared as global, all works fine also for JPEG, except for the fact when I tried to load a png image doesn't work, I get the error message undefined symbol GUI_PNG_DrawEx.
hFile = fopen (''logo.png'',''r''); if (hFile !=NULL){ if (!GUI_PNG_DrawEx(_GetData, hFile, 0, 0)) { } fclose(hFile); }2015-10-14 05:17 AM
Hello!
Now we can show pictures that are in SD CARD but the refresh rate is too slow, I want to know if using a external SRAM will increase perfomance, because I think loading the next screen picture in the SRAM then transfer all screen mounted in SRAM for LCD screen will increase performance of our application. We are planning to use IS61WV102416BLL-10TLI SRAM, connected to FSMC bus with the SSD1963. what do you think about this solution? Thanks, Giovani