cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F407 STEMWIN LOADING IMAGES FROM SD CARD SLOW

giovani
Associate II
Posted on October 15, 2015 at 19:42

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, but now I don't know if what we are trying to do is the better approach for the application.

We had done some images to use as background of our app, but the 192KB of RAM is not enough for all images if we convert to c files, then we think to use SD card to store all images and loading them at runtime, but decompress the image and loading is very slow take about 2 seconds.

Another thing that we think is the use of a SDRAM of 16MB, but I not sure that this will solve our problem.

So I need help of anyone that has passed for this situation or something simila and could give us the better way to solve the problem.

Thanks,

Giovani

#stm32f407-stemwin-ssd1963
12 REPLIES 12
giovani
Associate II
Posted on October 30, 2015 at 14:52

Hello Clive!

I don't use pull-ups on the pins, is there problem with this? I will put 47k on data pins and command .

Thanks,

Giovani

Posted on October 30, 2015 at 16:22

I think you'll have issues without them, and it's also not going to work if you wire it up wrong, or the underlying SDIO pin/peripheral configuration is screwed up.

The .HEX should be sufficient to tell if the thing is at least wired up correctly. If that works, and your driver code doesn't then you'll need to review that more carefully.

As previously stated, if you start with some known working hardware as a reference/comparison point, you can isolate where the issues are much quicker.

[DEAD LINK /public/STe2ecommunities/mcu/Lists/STM32Discovery/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/STM32Discovery/Basic%20SDIO%20on%20F4%20discovery%20board&FolderCTID=0x01200200770978C69A1141439FE559EB459D75800084C20D8867EAD444A5987D47BE638E0F&currentviews=3066]https://my.st.com/public/STe2ecommunities/mcu/Lists/STM32Discovery/Flat.aspx?RootFolder=%2Fpublic%2FSTe2ecommunities%2Fmcu%2FLists%2FSTM32Discovery%2FBasic%20SDIO%20on%20F4%20discovery%20board&FolderCTID=0x01200200770978C69A1141439FE559EB459D75800084C20D8867EAD444A5987D47BE638E0F¤tviews=3066

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
giovani
Associate II
Posted on October 30, 2015 at 19:59

Clive,

we ended up

missing

one of the

links

after correcting

everything worked

,

now I will

make some

board

performance tests.

Thank you very much

for your help

and

your attention

,

Giovani