Technical discussions about Freescale (Motorola) DSPs (including the DSP56000, DSP56300, DSP56600, 56800 DSPs).
|
Did anyone interface an LCD module with the SPI port of the 56F8xx successfully? What kind of LCD modules are compatible with it? Georg Bende Softwareentwickler Abteilung Elektronik Dr. Fritz Faulhaber GmbH & Co KG Daimlerstr. 23 71101 Schönaich Tel: +49 7031 638294 |
|
|
|
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 Schönaich Tel: +49 7031 638294 _____________________________________ /groups.php3 | |||
| |||
|