Hi, I work on ST10F168 and i search an lcd which can i control by externel bus (P0/P1). So if someone have already do it succesfully, please indicate me what sort of lcd or lcd controller do you use ? Thanks in advance! Regards
Take a look to: http://www.keil.com/appnotes/docs/apnt_161.asp This is an 8051 project, but might help you also here to connect your LCD display.
A note to Keil International Support: Your solution works equally well, it mimics the Motorola bus behaviour, but it is not equally fast as mapping the LCD controller in the microcontroller ram space and it uses a lot of I/O pins. The solution into Keil Appnote makes use of C16x (or 8051) I/O ports to interface the LCD controller, while the "Atmel" solution allows the user to map the LCD on the Data Bus and access the LCD controller as if it were a RAM cell mapped into the addressable RAM space of the microcontroller; this same strategy can be applied on the C16x or 8051 without modifications and saves I/O pins. Ciao Bruno
Ok thanks all ! it works correctly
Hi Bruno, I use external bus to interface Lcd with data on P0 and adress selection like a Ram chip ! It save I/O pins and it's very fast and easy to use. It's same your solution i think ! Thanks Regards
Hi Jon, yes, I agree with you that this is a VERY GOOD reason to use I/O instead of bus interfacing ;-) Fortunately the bus interface on the C16x is much more flexible. Thank you, ciao Bruno
It used to be that interfacing some LCD panels to the data/address bus of the 8051 failed because the LCD interface was not fast enough. Jon