[Lcdproc] support for the ft245B in hd44780-ftdi

Peter Marschall peter@adpm.de
Fri May 2 17:16:01 2008


Hi,

On Tuesday, 19. February 2008, Ismail Ibrahim wrote:
> I've cleanup the code.. please have a look on the attachment
> to use the 4 bit wiring just add ftdi_mode=4 in the LCd.conf
>
> wiring example:
> FTDI chip : D0 D1 D2 D3 D4  D5  D6  D7
>  HD44780 : D4 D5 D6 D7 EN RS RW NC
>
> and of course we need to define
> ftdi_line_RS=0x40
> ftdi_line_RW=0x20
> ftdi_line_EN=0x10
>
> too
>
> I don't write the backlight driver for the 4 bit mode because I'm not
> able to test it.

Sorry about the long delay before commtting it to CVS.
(I did it a minute ago after cleaning up the indentation)

But I have a few questions / suggestions
* In your wiring example you name the pins of the FTDI "D0" - "D7"
  while in the spcs are called xDBUS0 - xDBUS7, x = { A, B}, ...
  How do these naming schemes correlate ?
* Is the wiring above only an example and can the wiring be 
  completely different ? or are these some restrictions ?
  If yes, what are they ?
* Would you mind to pont these out and write a short section
  to document it.
* Maybe we can make the 4bit mode to the ftdi ConnectionType
  a connectiontype on its own
  (see server/drivers/hd44780-drivers.h and 
   server/drivers/hd44780-lis2.c to get the idea)
  To be able to do this, a "standard" wiring for the 4bit mode
  needs to be defined (by you ;-)


Thanks for supporting LCDproc.
Peter

-- 
Peter Marschall
peter@adpm.de