NHD‐12232KZ‐NSW‐BBW‐P Datasheet Confusion
Within the datasheet you show both CS1 and CS2 plus an Enable signal referenced as E in the table.
The timing diagram which is pulled from the controller datasheet shows all of these signals.
However your code example only references E1 and E2.
I'm assuming the E1 and E2 in the code example refers to the CS1 and CS2.
I do not see the code example moving the Enable signal line at all.
So i'm confused as to what to do with the Enable line.
I've tried writing my code to mimic both the Timing diagram and the sample code provided. Neither is getting output on the display.
I'm using a microchip DSPIC33 device and i'm using just standard GPIO pins to do the bit-banging.
I've double checked all the connections and have verified everything is connected properly per the datasheet.
I've measured with an OScope that my timing is within the specifications of the datasheet as well.
The sample code given in the specification sheet was actually copied from another display that uses the same controller, which is why the code shows two enable pins instead of one for this display. So for this display you can disregard E1 and E2 and simply use a single E to trigger the display. Also the controller is high edge triggered, so you need to start with enable = LOW and then toggle it to enable = HIGH for the display to work. I apologize for the mistake and we will correct the error as soon as possible.
CS1 and CS2 enables the right and left halves of the display respectively. As long as they are tied to ground the display will function. An alternative would be to connect those pins to your microprocessor unit and put a LOW signal on them.0
Please sign in to leave a comment.