STM32F407 with character LCD not working

General discussion on mikroBasic PRO for ARM.
Post Reply
Author
Message
selin_2013
Posts: 4
Joined: 05 Mar 2013 11:45

STM32F407 with character LCD not working

#1 Post by selin_2013 » 31 Jul 2014 11:25

Hi,
I have connected a standard character LCD to a STM32F407, running at 168 MHz. The LCD is blank, not working.
If I slow down the cpu clock, at 16 MHz for example, the LCD starts to display characters .....
The serial ports are working correctly at any cpu speed, so i think the clock parameters are ok.
The signals to LCD (seen with a scope) are clear, only a lot faster at 168 MHz.
Is the LCD library not taking in account the cpu speed?

Thanks for your attention

User avatar
petar.timotijevic
mikroElektronika team
Posts: 1739
Joined: 19 Feb 2014 13:46
Location: Serbia
Contact:

Re: STM32F407 with character LCD not working

#2 Post by petar.timotijevic » 04 Aug 2014 07:55

Hi,

Please see compiler source code example for LCD with STM32F107VC @ 70MHz:
C:\Program Files (x86)\Mikroelektronika\mikroBasic PRO for ARM\Examples\ST\Extra Boards\Lcd

You can make code modifications for STM32F407, in project settings you can load configuration scheme for STM32F407.

Check project settings and oscillator options.


Best regards,
Peter

y0g1
Posts: 5
Joined: 03 Oct 2016 09:43

Re: STM32F407 with character LCD not working

#3 Post by y0g1 » 05 Jul 2017 10:25

does your problem is solved??
I am facing the same problem even at 16mhz and 8mhz blank lcd

User avatar
darko.ilijevski
Posts: 581
Joined: 21 Mar 2017 16:57

Re: STM32F407 with character LCD not working

#4 Post by darko.ilijevski » 06 Jul 2017 16:28

BR,
Darko

Post Reply

Return to “mikroBasic PRO for ARM General”