Welcome
Username or Email:

Password:


Missing Code




[ ]
[ ]
Online
  • Guests: 97
  • Members: 1
  • Newest Member: omjtest
  • Most ever online: 396
    Guests: 396, Members: 0 on 12 Jan : 12:51
Members Birthdays:
All today's birthdays', congrats!
dan (37)
rchydro (64)
CapRack (30)


Next birthdays
11/07 Dave Marshall (40)
11/07 Worms (46)
11/08 Bert (77)
Contact
If you need assistance, please send an email to forum at 4hv dot org. To ensure your email is not marked as spam, please include the phrase "4hv help" in the subject line. You can also find assistance via IRC, at irc.shadowworld.net, room #hvcomm.
Support 4hv.org!
Donate:
4hv.org is hosted on a dedicated server. Unfortunately, this server costs and we rely on the help of site members to keep 4hv.org running. Please consider donating. We will place your name on the thanks list and you'll be helping to keep 4hv.org alive and free for everyone. Members whose names appear in red bold have donated recently. Green bold denotes those who have recently donated to keep the server carbon neutral.


Special Thanks To:
  • Aaron Holmes
  • Aaron Wheeler
  • Adam Horden
  • Alan Scrimgeour
  • Andre
  • Andrew Haynes
  • Anonymous000
  • asabase
  • Austin Weil
  • barney
  • Barry
  • Bert Hickman
  • Bill Kukowski
  • Blitzorn
  • Brandon Paradelas
  • Bruce Bowling
  • BubeeMike
  • Byong Park
  • Cesiumsponge
  • Chris F.
  • Chris Hooper
  • Corey Worthington
  • Derek Woodroffe
  • Dalus
  • Dan Strother
  • Daniel Davis
  • Daniel Uhrenholt
  • datasheetarchive
  • Dave Billington
  • Dave Marshall
  • David F.
  • Dennis Rogers
  • drelectrix
  • Dr. John Gudenas
  • Dr. Spark
  • E.TexasTesla
  • eastvoltresearch
  • Eirik Taylor
  • Erik Dyakov
  • Erlend^SE
  • Finn Hammer
  • Firebug24k
  • GalliumMan
  • Gary Peterson
  • George Slade
  • GhostNull
  • Gordon Mcknight
  • Graham Armitage
  • Grant
  • GreySoul
  • Henry H
  • IamSmooth
  • In memory of Leo Powning
  • Jacob Cash
  • James Howells
  • James Pawson
  • Jeff Greenfield
  • Jeff Thomas
  • Jesse Frost
  • Jim Mitchell
  • jlr134
  • Joe Mastroianni
  • John Forcina
  • John Oberg
  • John Willcutt
  • Jon Newcomb
  • klugesmith
  • Leslie Wright
  • Lutz Hoffman
  • Mads Barnkob
  • Martin King
  • Mats Karlsson
  • Matt Gibson
  • Matthew Guidry
  • mbd
  • Michael D'Angelo
  • Mikkel
  • mileswaldron
  • mister_rf
  • Neil Foster
  • Nick de Smith
  • Nick Soroka
  • nicklenorp
  • Nik
  • Norman Stanley
  • Patrick Coleman
  • Paul Brodie
  • Paul Jordan
  • Paul Montgomery
  • Ped
  • Peter Krogen
  • Peter Terren
  • PhilGood
  • Richard Feldman
  • Robert Bush
  • Royce Bailey
  • Scott Fusare
  • Scott Newman
  • smiffy
  • Stella
  • Steven Busic
  • Steve Conner
  • Steve Jones
  • Steve Ward
  • Sulaiman
  • Thomas Coyle
  • Thomas A. Wallace
  • Thomas W
  • Timo
  • Torch
  • Ulf Jonsson
  • vasil
  • Vaxian
  • vladi mazzilli
  • wastehl
  • Weston
  • William Kim
  • William N.
  • William Stehl
  • Wesley Venis
The aforementioned have contributed financially to the continuing triumph of 4hv.org. They are deserving of my most heartfelt thanks.
Forums
4hv.org :: Forums :: General Science and Electronics
« Previous topic | Next topic »   

Parallel communication with TFT or LCD display

Move Thread LAN_403
Andy
Sat Feb 15 2014, 02:26AM Print
Andy Registered Member #4266 Joined: Fri Dec 16 2011, 03:15AM
Location:
Posts: 874
Hi all
I'm trying to workout how to send commands to a display, the wire diagram list the parallel ports, but I'm abit lost on the other parts of the interface.I'm just trying to understand how it works, not so much spoon-feed code, a overview of the system would be helpful.


Thanks

Link2 TFT
Link2 LCD
Link2 LCD
Back to top
Wastrel
Sat Feb 15 2014, 04:53PM
Wastrel Registered Member #4095 Joined: Thu Sept 15 2011, 03:19PM
Location: England.
Posts: 122
Look at the SPLC780 timing diagrams, 6.5.6 for write and 6.5.7 for read. That is what your interface has to do to read and write to that chip.
Back to top
Shrad
Sat Feb 15 2014, 05:55PM
Shrad Registered Member #3215 Joined: Sun Sept 19 2010, 08:42PM
Location:
Posts: 780
I'd frankly use a serial interface

code is simple and as long as you have established the link, you just have to send text commands as specified in the screen datasheet to update it
Back to top
Andy
Sat Feb 15 2014, 09:47PM
Andy Registered Member #4266 Joined: Fri Dec 16 2011, 03:15AM
Location:
Posts: 874
Thanks Wastrel , I normal skip over that picture, looking at 6.5.6
say I want to send 1 high bit on DB0
if I set RW high and RS and DB0 to high then lower then RS then set E high then DB0 high then invert all the pins?
Or can RS and DB0 stay high throughout the thing?

Shrad I might for the TFT, but going to test the LCD and otherparts, and will do the TFT display last in the project.
Back to top
Shrad
Sun Feb 16 2014, 10:30AM
Shrad Registered Member #3215 Joined: Sun Sept 19 2010, 08:42PM
Location:
Posts: 780
can't you use a library? there are some that manage most of the controller chips
Back to top
Andy
Sun Feb 16 2014, 05:59PM
Andy Registered Member #4266 Joined: Fri Dec 16 2011, 03:15AM
Location:
Posts: 874
The examples that I've seen do not explain how to select the pins for the communication, using PMP libary.
And would like to understand whats happen under the cover.
Back to top
Wastrel
Sun Feb 16 2014, 06:03PM
Wastrel Registered Member #4095 Joined: Thu Sept 15 2011, 03:19PM
Location: England.
Posts: 122
Assert chip select if needed, usually by sending it low.
Set RS to whatever it needs to be, I don't know what it does offhand.
Send RW (which is Read Not Write) Low.
This is one operation so long as they are all on the same port, one access. Minimum wait.
Send E high. Second operation. Minimum wait.
Put your data on the D pins. Third operation. Minimum wait.
Drop E. Last operation. And then minimum wait time before doing anything else.
That will write a byte.
Back to top

Moderator(s): Chris Russell, Noelle, Alex, Tesladownunder, Dave Marshall, Dave Billington, Bjørn, Steve Conner, Wolfram, Kizmo, Mads Barnkob

Go to:

Powered by e107 Forum System
 
Legal Information
This site is powered by e107, which is released under the GNU GPL License. All work on this site, except where otherwise noted, is licensed under a Creative Commons Attribution-ShareAlike 2.5 License. By submitting any information to this site, you agree that anything submitted will be so licensed. Please read our Disclaimer and Policies page for information on your rights and responsibilities regarding this site.