graphlcd-base/docs/DRIVER.gu256x64-3900
changeset 4 df6a40031aa5
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/graphlcd-base/docs/DRIVER.gu256x64-3900	Wed Feb 06 17:32:55 2008 +0000
     1.3 @@ -0,0 +1,176 @@
     1.4 +---------------------------------------------------------------------
     1.5 +GraphLCD driver library
     1.6 +
     1.7 +The GU256X64-3900 driver
     1.8 +---------------------------------------------------------------------
     1.9 +
    1.10 +Description
    1.11 +-----------
    1.12 +The GU256X64-3900 driver supports Noritake GU256X64-3900 VFD displays.
    1.13 +The VFD is either operating in 8 bit-mode connected to a single PC
    1.14 +parallel port or in serial mode connected to a single PC serial port.
    1.15 +
    1.16 +
    1.17 +Wirings
    1.18 +-------
    1.19 +The GU256X64-3900 driver supports the following connections on a
    1.20 +parallel port:
    1.21 + - Standard
    1.22 + - Satyr
    1.23 +
    1.24 +Standard wiring:
    1.25 +
    1.26 +  printerport   LCD          other
    1.27 +  -----------   ----------   ----------
    1.28 +  D0     (02)   DB0   (08)                (DataBit 0)
    1.29 +  D1     (03)   DB1   (07)                (DataBit 1)
    1.30 +  D2     (04)   DB2   (06)                (DataBit 2)
    1.31 +  D3     (05)   DB3   (05)                (DataBit 3)
    1.32 +  D4     (06)   DB4   (04)                (DataBit 4)
    1.33 +  D5     (07)   DB5   (03)                (DataBit 5)
    1.34 +  D6     (08)   DB6   (02)                (DataBit 6)
    1.35 +  D7     (09)   DB7   (01)                (DataBit 7)
    1.36 +  ACK    (10)   RDY   (12)                (Display Ready)
    1.37 +  INIT   (16)   nWR   (10)                (Write)
    1.38 +  GND    (18)   GND   (09)   GND          (Ground)
    1.39 +  GND    (19)   GND   (11)   GND          (Ground)
    1.40 +  GND    (20)   GND   (13)   GND          (Ground)
    1.41 +  GND    (21)   GND   (14)   GND          (Ground)
    1.42 +                VCC   (15)   VCC          (Power supply 5V)
    1.43 +                VCC   (16)   VCC          (Power supply 5V)
    1.44 +
    1.45 +Satyr Wiring:
    1.46 +
    1.47 +  printerport   LCD          other
    1.48 +  -----------   ----------   ----------
    1.49 +  nSTRB  (01)   nWR   (10)                (Write)
    1.50 +  D0     (02)   DB0   (08)                (DataBit 0)
    1.51 +  D1     (03)   DB1   (07)                (DataBit 1)
    1.52 +  D2     (04)   DB2   (06)                (DataBit 2)
    1.53 +  D3     (05)   DB3   (05)                (DataBit 3)
    1.54 +  D4     (06)   DB4   (04)                (DataBit 4)
    1.55 +  D5     (07)   DB5   (03)                (DataBit 5)
    1.56 +  D6     (08)   DB6   (02)                (DataBit 6)
    1.57 +  D7     (09)   DB7   (01)                (DataBit 7)
    1.58 +  BUSY   (11)   RDY   (12)                (Display Ready)
    1.59 +  GND    (18)   GND   (09)   GND          (Ground)
    1.60 +  GND    (19)   GND   (11)   GND          (Ground)
    1.61 +  GND    (20)   GND   (13)   GND          (Ground)
    1.62 +  GND    (21)   GND   (14)   GND          (Ground)
    1.63 +                VCC   (15)   VCC          (Power supply 5V)
    1.64 +                VCC   (16)   VCC          (Power supply 5V)
    1.65 +
    1.66 +Note: The pin numbering may vary with other displays.
    1.67 +
    1.68 +
    1.69 +The GU256X64-3900 driver supports the following connection on a
    1.70 +serial port:
    1.71 +
    1.72 +  serialport   LCD          other
    1.73 +  ----------   ----------   ----------
    1.74 +  DCD   (01)   DTR   (02)
    1.75 +  RxD   (02)   TxD   (04)
    1.76 +  TxD   (03)   RxD   (01)
    1.77 +  DTR   (04)   DSR   (03)
    1.78 +  GND   (05)   GND   (07)   GND          (Ground)
    1.79 +  DSR   (06)   DTR   (02)
    1.80 +               VCC   (06)   VCC          (Power supply 5V)
    1.81 +
    1.82 +Note: The pin numbering may vary with other displays.
    1.83 +
    1.84 +On display switches:
    1.85 + SW No.   Function                 Default
    1.86 + ------   --------                 -------
    1.87 +   1      Display address select   Off
    1.88 +   2      Display address select   Off
    1.89 +   3      Display address select   Off
    1.90 +   4      Display address select   Off
    1.91 +   5      Baud rate select         Off
    1.92 +   6      Command mode select      Off      switch DMA On/Off
    1.93 +   7      Operating mode select    Off
    1.94 +   8      Protocol Select          Off
    1.95 +
    1.96 +Serial access to GU256X64C-3xx0 is nearly as fast as normal parallel
    1.97 +access but doesn't create the high system load of the parallel
    1.98 +approach. So for me serial access is preferred over normal parallel
    1.99 +mode. Even better is the DMA parallel mode. For DMA mode you have to
   1.100 +switch SW6 on the display to ON.
   1.101 +
   1.102 +
   1.103 +Configuration Parameters
   1.104 +------------------------
   1.105 +The GU256X64-3900 driver supports the following parameters in config
   1.106 +file:
   1.107 +
   1.108 +Device
   1.109 + Instead of using the direct output via port address (see Port), you
   1.110 + can use the parport device (/dev/parportX). The advantage over the
   1.111 + direct output via port address is that this works for non-root users
   1.112 + also. But it's a little bit slower. The modules ppdev.o, parport.o
   1.113 + and parport_pc.o must be loaded or compiled into the kernel.
   1.114 +
   1.115 +Port
   1.116 + Sets the port address of the parallel port. If this parameter is not
   1.117 + given, 0x378 is used. To use this direct output, the program that
   1.118 + uses the driver library has to be started with user 'root'.
   1.119 +
   1.120 +Width
   1.121 + Sets the horizontal size of the display. If this parameter is not
   1.122 + given, a default value of 256 pixels is used.
   1.123 +
   1.124 +Height
   1.125 + Sets the vertical size of the display. If this parameter is not
   1.126 + given, a default value of 64 pixels is used.
   1.127 +
   1.128 +UpsideDown
   1.129 + Rotates the display output by 180 degrees. This might be useful, if
   1.130 + the LCD is mounted upside-down.
   1.131 + Possible values: 'yes', 'no'
   1.132 + Default value: 'no'
   1.133 +
   1.134 +Invert
   1.135 + Inverts the display.
   1.136 + Possible values: 'yes', 'no'
   1.137 + Default value: 'no'
   1.138 +
   1.139 +Brightness
   1.140 + Sets the brightness of your display's backlight.
   1.141 + Possible values: 0 <= x <= 100)
   1.142 + Default value: 100
   1.143 +
   1.144 +AdjustTiming
   1.145 + To get a timing that is as accurate as possible, the drivers measure
   1.146 + the time for port commands (see: benchmark in syslog). You might
   1.147 + decrease or increase the time to wait after port commands with this
   1.148 + parameter. Normally, there is no need to change this parameter.
   1.149 + Possible values: -50 <= x <= 50
   1.150 + Default value: 0
   1.151 +
   1.152 +RefreshDisplay
   1.153 + Normally, most of the drivers do not update the whole display, but
   1.154 + only the areas that have changed since last update. So it might be,
   1.155 + that some faulty pixels would stay a longer time. To avoid this, the
   1.156 + plugin makes a complete refresh from time to time. This parameter
   1.157 + defines how often a complete refresh will be done.
   1.158 + e.g.: A value of 5 means, that the plugin will make a complete
   1.159 +       refresh on every 5th update.
   1.160 + A value of 0 completely disables complete refreshs. 
   1.161 + Possible values: 0 <= x <= 50
   1.162 + Default value: 5
   1.163 +
   1.164 +Wiring
   1.165 + Select the type of wiring your display is connected with.
   1.166 + Possible values: 'Standard', 'Satyr'
   1.167 + Default value: 'Standard'
   1.168 +
   1.169 +Interface
   1.170 + Select the interface your display is connnected to.
   1.171 + Possible values: 'Parallel', 'Serial'
   1.172 + Default value: 'Parallel'
   1.173 +
   1.174 +DMA
   1.175 + Enables/disables the usage of the controller's DMA mode which
   1.176 + increases writing speed. This only works in parallel interface mode.
   1.177 + Possible values: 'yes', 'no'
   1.178 + Default value: 'yes'
   1.179 +