fastlink30 Posted August 21, 2014 Report Share Posted August 21, 2014 use chibistudio - stm32f4 discovery chibi/os & ugfx from repositorydriver use fsmci show video of what happen, is more simple to explain:http://youtu.be/Hy4FAoNO5EMsometimes when the board start the display remain white (only backlite), after some reset i see the logo of ugfx (perfect), after the logo everytime the first lines are ok (seems) but after some time the display start show fuzzy things, like in the videocan be a problem of signal speed of fsmc? too quick for the lcd? is possible slow down the signal speed?seems like loose the syncronismthanks Link to comment Share on other sites More sharing options...
Joel Bodenmann Posted August 21, 2014 Report Share Posted August 21, 2014 First of all we can be sure that this is no wiring issue as the display actually displays what it is supposed to (µGFX logo).How long are your wires? Everything longer than 20cm will cause problems with the default board file.As you said yourself you have to lower the FSMC speed. Look at the reference manual to learn about the different settngs. There are timings for address setup, data and burst operations. The timings are set in the init_board() routine of your board file (line 89 in your case).~ Tectu Link to comment Share on other sites More sharing options...
fastlink30 Posted August 22, 2014 Author Report Share Posted August 22, 2014 i have changed to:FSMC_Bank1->BTCR[FSMC_BANK+1] = (6) | (15 << 8) | (15 << 16);and now is ok Link to comment Share on other sites More sharing options...
Joel Bodenmann Posted August 22, 2014 Report Share Posted August 22, 2014 Glad to hear that everything is working for your now.~ Tectu Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now