uberlinuxguy
New member
Hi Folks,
I am attempting to connect a CFAF320240F-035T-TS-CB to a LeafLabs Maple Mini. I've checked and double checked all my wire connections, but still cannot seem to figure out where the problem lies. It seems as though the LCD responds(ish) to the initialization routine, but when it gets to displaying color, it just doesn't do anything. I'm attaching the example code (I renamed the MapleIDE file from .pde to .c) I'm using which is a modified version of the 16bit code I downloaded from Crystalfontz. I've tried 8bit and 18bit (All 8080 parallel I believe) too and nothing seems to work. I'm attempting to avoid using SPI because it's just not going to be fast enough. Although, I tried that with an Arduino Uno and couldn't get that to reliably work either. I feel as though there's something small and simple I'm missing here but I can't figure out what. Any thoughts or suggestions from those who have used this LCD would be very helpful.
Note that I'm using a digitalWrite to flip the individual bits on the data bus on and off before I strobe the WR pin. I assume this should be ok since the Maple runs at 72Mhz and that should all happen pretty fast. Doing PORT I/O on the maple is a bit difficult, and I wanted to make sure I was flipping the right bits on and off, so...
Thanks
--
Jason
I am attempting to connect a CFAF320240F-035T-TS-CB to a LeafLabs Maple Mini. I've checked and double checked all my wire connections, but still cannot seem to figure out where the problem lies. It seems as though the LCD responds(ish) to the initialization routine, but when it gets to displaying color, it just doesn't do anything. I'm attaching the example code (I renamed the MapleIDE file from .pde to .c) I'm using which is a modified version of the 16bit code I downloaded from Crystalfontz. I've tried 8bit and 18bit (All 8080 parallel I believe) too and nothing seems to work. I'm attempting to avoid using SPI because it's just not going to be fast enough. Although, I tried that with an Arduino Uno and couldn't get that to reliably work either. I feel as though there's something small and simple I'm missing here but I can't figure out what. Any thoughts or suggestions from those who have used this LCD would be very helpful.
Note that I'm using a digitalWrite to flip the individual bits on the data bus on and off before I strobe the WR pin. I assume this should be ok since the Maple runs at 72Mhz and that should all happen pretty fast. Doing PORT I/O on the maple is a bit difficult, and I wanted to make sure I was flipping the right bits on and off, so...
Thanks
--
Jason
Looking for additional LCD resources? Check out our LCD blog for the latest developments in LCD technology.
Attachments
-
2.1 KB Views: 346