i am using lpc1758 microcontroller and to display on lcd, i have done the interfacing of glcd with microcontroller through SPI. now i am sending data but no display.
LPC1700 is not my platform, but would expect crystal and RTC would need some amount of configuration, and battery to maintain. You'd want to look for RTC examples and merge. Perhaps NXP forum would have more suggestion, or pointers to library code. Reference Manual / Data Sheet might also provide salient detail.
Yes - of course you do!
The display will only show what you send to it. If you never change that, then it will just keep showing the same thing!
Thanx Westonsupermare Pier.. default time which i have set is displaying now but it is not incrementing.
Do i have to write a function fro updating it?
For the benefit of others who may have similar problems and find this, please describe what was wrong & how you fixed it ...
Find an RTC example, sprintf() to a string buffer and then send to your text output routine.
Thanx andy, LCD is working properly.
same way you'd display any other text.
So start by getting basic text display working...
how can i display RTC time?
You can take Keil's MCB1700 evaluation board for reference.Schematic is here: http://www.keil.com/mcb1700/mcb1700-schematics.pdfIt also uses SPI for driving the GLCD, GLCD driver is GLCD_MCB1700.c in <Keil root>\ARM\PACK\Keil\LPC1700_DFP\2.6.0\Boards\Keil\MCB1700\Common\ when you install latest LPC1700_DFP v2.6.0 pack.Also, there are examples using GLCD for example <keil root>\ARM\PACK\Keil\LPC1700_DFP\2.6.0\Boards\Keil\MCB1700\Demo\
View all questions in Keil forum