Another solution might be to build 16-bits worth of shift-register. You then use just 2 pins on the Pi to serialise the 16-bit value into the displays data buffer, then you'll have a couple more pins to do the enable and strobe function. so I think you can daisy-chain 2 x 74HC595 shift registers together - that'll give you a 16-bit parallel output bus - but it's output only, so no reading back from the display with this method.xtramural wrote:In the first instance I'll be updating the display by writing only. This is also an interim solution since I have ordered a couple of similar displays but that have 8-bit data interfaces. These are shipping from China by China Airmail so it may be several weeks before I see them
Time to work out the mappings of data and control that I will need.
Code: Select all
cycle clock the 16-bit data into the shift-register toggle the chip enable pin toggle the chip strobe pin repeat
That display also has an SPI interface... I might be tempted to use that and really reduce the pin-count for the interface...xtramural wrote:Gordon, many thanks for the help and advice.
I think I will go the shift register route in the interim.
The 8-bit (graphic) display is a 2.8" version of the 3.2" display. The controller of this LCD module is ILI9325DS: it has an 8bit data interface with 4 wires control interface. So once this arrives I should get a major performance boost for my application.
Yes, but AFAICT it'll not be possible to override the hard-wired settings on the module (without major hacks to the PCB). So, although the LCD controller has that capability, I don't think I can override it programmatically (or get access to its SPI interface through its header).firstname.lastname@example.org wrote:
That display also has an SPI interface... I might be tempted to use that and really reduce the pin-count for the interface...
Users browsing this forum: Dirk1980ac and 13 guests