I've interfaced 16x2 and 20x2 LCD's both
via the SPI and directly to GPIO using an 56F827. When using the SPI I
used a serial to parallel shift register to break out the data and and control
lines needed to communicate to the display. I've been meaning to post
the code on my site, but it's kind of messy. I've included it in
this e-mail in case it helps. The version in this e-mail only works with
GPIO, but you only have to change the write nibble routine to get it to work
over SPI. I owe a lot of how this code works to the knowledge I gained by
reading a Jan Alexson (SP?) article in Circuit Cellar about 13 or 14 years ago,
I've used this snippet of code on every thing from a PIC, to HC11's to
HC05's and now DSP56F8xx's
Jacob
From: Bende Georg [mailto:g...@faulhaber.de] Sent: Tuesday, February 24, 2004 7:19 AM To: m...@yahoogroups.com Subject: [motoroladsp] SPI LCD module? Georg Bende Softwareentwickler Abteilung Elektronik Dr. Fritz Faulhaber GmbH & Co KG Daimlerstr. 23 71101 Schaich Tel: +49 7031 638294 _____________________________________ Note: If you do a simple "reply" with your email client, only the author of this message will receive your answer. You need to do a "reply all" if you want your answer to be distributed to the entire group. _____________________________________ About this discussion group: To Join: m...@yahoogroups.com To Post: m...@yahoogroups.com To Leave: m...@yahoogroups.com Archives: http://www.yahoogroups.com/group/motoroladsp More Groups: http://www.dsprelated.com/groups.php3 | |||
| |||
|