That is not a manufacturer or model number. That is the part number for the embedded LCD controller chip. For example, I am using an Optrex F-51320.I'm using a SED 1565 display.
Are you using the word "refreshing" when you actually mean "clearing or erasing"? I am confused by this.Yes! I'm sending all "0" to screen for refreshing the screen.
In my display, I need to have this value be 0x25 or 0x26 in order to get enough contrast to see pixels go on.V5_RESISTOR_RATIO ); //0x23
This implies that the communications is working correctly, so I don't know why you can't write data. Have you tried to write anything other than 0's? If you send alternate 0x00 and 0xFF, you should see stripes.I see the display on after it send the "DISPLAY_ON" command. The command ALL_POINTS_ON works fine because all the pixels turn dark. At the command ALL_POINTS_OFF, the display is same as the DISPLAY_ON.
How can you tell, if the display has nothing on it to clear?But at the "clear_display" subroutine seems to not send the data to the LCD.
Thats not what I am asking. I wondered about the LCD backplane voltage, called Vout and V5. These voltages will tell if your charge pumps circuit is working correctly. If you tell the model # of the display, I can help you more easily.my IAR board is running on a 3.3V Voltage supply
cosmicvoid said:Since it seems that the CMD writes are working, I would experiment with changing some of the settings after the initialization is complete, just to verify that you are able to change the behavior of the display.
For example, try changing:
ADC_SELECT_NORMAL from 0xA0 to 0xA1 and COMMON_OUTPUT_NORMAL from 0xC0 to 0XC8, to see if the garbage pixels change right-to-left and top-to-bottom orientation.
Make a loop to increment/decrement the ELECTRONIC_VOLUME_SET (0x81, nn) to see the contrast increase/decrease.
If those work, then something must be wrong with the A0 signal reaching the display, or maybe the page, row, and column settings are wrong and you are not addressing visable memory.
Since you have left many of my questions unanswered, I can provide no further advice at this time.