Controlling a WG12232A-TMI-NA LCD Display


Closed Thread
Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2007
    Location
    Mansfield, UK
    Posts
    697

    Default Controlling a WG12232A-TMI-NA LCD Display

    Hi, I'm trying to control a WG12232A-TMI-NA LCD display. I've been reading the datasheet but I'm struggling to get it to do anything.

    I found the datasheet for the SBN1661G_M18-D chips that are controlling it and it looks like there are more pins than what the complete module exposes. I assume that some of the pins are internally tied together but I can't see any information on that.

    The main question at the moment is: What is "E"? It looks like some kind of clock input similar to the one used in SPI so it must be important but there's no sign of an "E" connection on the module.

  2. #2
    Join Date
    Dec 2010
    Posts
    409


    Did you find this post helpful? Yes | No

    Default Re: Controlling a WG12232A-TMI-NA LCD Display

    The data sheet is a bit confusing, and E has different meanings in different locations. If you mean the read / write configuration tables, most likely "E" is for write "Enable" . Low it enables writing to the display. (also called not RD, or RD with a line over it)
    These displays are notoriously slow, which might be why you can't get it to do anything. Use long delays between everything you try to do.

  3. #3
    Join Date
    Jun 2007
    Location
    Mansfield, UK
    Posts
    697


    Did you find this post helpful? Yes | No

    Default Re: Controlling a WG12232A-TMI-NA LCD Display

    Does "E" have the same meaning in Fig.24?

    My PIC is bit-banging the data out with 200ms pauses. That should be more than slow enough (I hope).

    Just to clarify, is the data clocked in using a signal from the PIC like in SPI or does it have to be synced with the module's internal clock?

    Originally I thought that E and CS were the same thing or at least tied together but looking at Fig.24 it looks like they must be separate. If I understand right then I have R/(not)W on pin 9, (not)C/D on pin 4 (A0) and (not)CS on pins 5 and 6 (CE1 and CE2)

  4. #4
    Join Date
    Jun 2007
    Location
    Mansfield, UK
    Posts
    697


    Did you find this post helpful? Yes | No

    Default Re: Controlling a WG12232A-TMI-NA LCD Display

    Well, it looks like it's working fine now. I had quite a few problems that wern't helping like accidentally mapping the command/data line to the wrong pin on the PIC and timing things completely wrong.

    The chip enable pins (CE1 and CE2) appear to be the "E" pins of the 2 chips in the module. I think that the CS pins are held low so both chips are permenantly selected but data can still be clocked into each chip individually.

    My working timings don't seem to match up with the datasheet so I think they are still not quite right and I'm still misunderstanding something but it is working so the next thing I'll do is adjust the timings and speed everything up until it's working as fast as possible.

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts