Re: LC Display mit 74LVX3245WM



"Thomas 'Tom' Malkus" <usenet@xxxxxxxx> schrieb im Newsbeitrag
news:ob12frp7n465.dlg@xxxxxxxxxxx
Moin,

ich habe ein LC-Display über Level Shifter 74LVX3245WM
von Fairchild an einem 3,3 Volt Controller per SPI an-
geschlossen. Der Takt beträgt ca. 100kHz mit 100µs
Pausen zwischen jedem Byte (Spezifikation SPI Schnitt-
stelle LCD). Ich sende einen String von ca. 20 Zeichen
an das Display, meistens gehen dabei Zeichen verloren.
Mit Oszilloskop und Logic Analyzer kann ich keine Un-
regelmäßigkeiten erkennen, Versorgungsspannungen sind
alle mit Kondensatoren und Elkos versehen. Die Leitungs-
längen sind so kurz wie möglich.

Schliesse ich das Display direkt an (außer MISO, wegen
fehlender Pegelwandlung auf 3,3 Volt) funktioniert es
tadellos. Der Input High Pegel ist mit 0,6 * VDD ange-
geben, auf die Dauer ist mir die Toleranz etwas zu knapp
um gänzlich auf die Pegelwandler zu verzichten und MISO
benötige ich auf jeden Fall auch noch.

Hat jemand einen Tip, in welcher Richtung ich noch
schauen könnte?

73 de Tom
--
Thomas 'Tom' Malkus, DL7BJ
Locator JO43PC * DL-QRP-AG #1186 * AGCW-DL #2737 * DARC OV I19

Kann ein Timingproblem sein. Wie wird das Display timingmässig angesteuert ?
Falls mit "bit banging" (Software Bitmanipulation der Portpins) oder falsch
programmiertem SPI Port:
Wenn die steigende Clockflanke und das zu sendende Datenbit gleichzeitig
kommen, kann der skew von 2 Treiberpins das ohnehin knappe Timing voll
zunichte machen. Also mit der fallenden Clockflanke erst mal das Datenbit
setzten, dann die Clock auf eins. Auch eine Holdzeit kann nötig sein.

Das Timing kann man mit dem Oszi gut kontrollieren.

Ansonsten brauchts eigentlich keinen Pegelwandler mit 2
Versorgungsspannungen.
Ein HCT/AHCT125 an 5V für die Signale zum LCD (wobei man bei 0.6x vdd das
auch sparen kann), und ein AHC/VHC/LCX125 (bzw. single gate lvc1g125) an
3,3V für MISO sollten billiger sein.

Hat der MISO Eingang eine Diode an 3.3V (meistens), tuts auch ein
Serienwiderstand von ca. 150-270 OHM.

MIKE


--
www.oho-elektronik.de
OHO-Elektronik
Michael Randelzhofer
FPGA und CPLD Mini Module
Klein aber oho !


.



Relevant Pages

  • Re: W65C02S, Z80, 80C31 or other legacy processor?
    ... Atmel's production qty price is considerably lower still. ... tweaking the display controller firmware for this purpose. ... two rather than SPI - I'm already using SPI for video output, ... "AVR NTSC" you will see several such projects though unrelated to ...
    (comp.arch.embedded)
  • LC Display mit 74LVX3245WM
    ... von Fairchild an einem 3,3 Volt Controller per SPI an- ... Pausen zwischen jedem Byte (Spezifikation SPI Schnitt- ... Ich sende einen String von ca. 20 Zeichen ... an das Display, ...
    (de.sci.electronics)
  • [PATCH] [drivers] [SPI] SPI_GPIO: add support for controllers without MISO or MOSI pin
    ... There are some boards that do not strictly follow SPI standard and use ... only 3 wires (SCLK, MOSI or MISO, SS) for connecting some simple auxiliary ... chip does not transfer any data back to host or host only reads data from ...
    (Linux-Kernel)
  • Re: 3.5inch display problem....
    ... commands of this spi display. ... Actually we are simulating the spi interface, though 4 pins, reset, ... If my gpio initializations are wrong, when i enable the lcd controller ... I would not try to port the PXA270 LCD display driver back to the PXA255. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: 3.5inch display problem....
    ... commands of this spi display. ... Actually we are simulating the spi interface, though 4 pins, reset, ... If my gpio initializations are wrong, when i enable the lcd controller ... I would not try to port the PXA270 LCD display driver back to the PXA255. ...
    (microsoft.public.windowsce.platbuilder)