Controller type for NHD-0216KZW-AY5
We are trying to get this display up and running over spi (serial) interface. We are having trouble and need a reference for how the interface really works. The display datasheet is limited in information.
I read that datasheet where is pointed out that controller is compatible with LCDs? why not OLED ? should I look through all of them to guess how it works? what is first byte for write command and data?
-
Getting started with the character OLED display is confusing. You need to send (LSB 1st) a 1 byte is transferred as 8-bits, the following bytes are spread across a 16-bit word. You divide the nibbles as the high nibble of the 2-byte word.
The data sheet you want is:
https://support.newhavendisplay.com/hc/en-us/articles/4414485495703-US2066-DatasheetExample:
want to write 'ABcdEFg' starting at character location #2 (address #2)Set the pointer to 1st character location and then write to display:
Send Write Command (0x1F) followed by DDRAM address of '02' (0x82)
Drive CS low
Write
0x1F (8 bit)
0x8020 (16 bit)
Drive CS HighThen Send Write Data (0x5F) followed by characters
Drive CS low
Write
0x5F (8 bit)
0x4010 (16 bit) 'A'
0x4020 (16 bit) 'B'
0x6030 (16 bit) 'c'
0x4040 (16 bit) 'd'
0x4050 (16 bit) 'E'
0x4060 (16 bit) 'F'
0x6070 (16 bit) 'g'
Drive CS High0
Please sign in to leave a comment.
Comments
1 comment