[13]

1 A[0] 0 0 0 0 0 0 0 A0
A[0]=1;InternalVDDregulator 1
SetSleepMode
ON/OFF
0 AE~AF 1 0 1 0 1 1 1 X0
0xAE=SleepModeON(displayOFF)
0xAF=SleepModeOFF(displayON)

SetPhaseLength 0
1
B1
A[7:0]
1
A7
0
A6
1
A5
1
A4
0
A3
0
A2
0
A1
1
A0
A[3:0]=P1.Phase1periodof5‐31DCLKclocks
A[7:4]=P2.Phase2periodof3‐15DCLKclocks
9
7
SetDisplayClock
DivideRatio/
Oscillator
Frequency
0
1
B3
A[7:0]
1
A7
0
A6
1
A5
1
A4
0
A3
0
A2
1
A1
1
A0
A[3:0]=0000;divideby1
A[3:0]=0001;divideby2
A[3:0]=0010;divideby4
A[3:0]=0011;divideby8
A[3:0]=0100;divideby16
A[3:0]=0101;divideby32
A[3:0]=0110;divideby64
A[3:0]=0111;divideby128
A[3:0]=1000;divideby256
A[3:0]=1001;divideby512
A[3:0]=1010;divideby1024
A[3:0]>=1011;invalid
A[7:4]=SettheOscillatorFrequency.Frequencyincreaseswiththe
valueofA[7:4].Range0000b~1111b.
0










1100b
SetGPIO 0
1
B5
A[3:0]
1
*
0
*
1
*
1
*
0
A3
1
A2
0
A1
1
A0
A[1:0]=00;GPIO0inputdisabled
A[1:0]=01;GPIO0inputenabled
A[1:0]=10;GPIO0outputLOW
A[1:0]=11;GPIO0outputHIGH
A[3:2]=00;GPIO1inputdisabled
A[3:2]=01;GPIO1inputenabled
A[3:2]=10;GPIO1outputLOW
A[3:2]=11;GPIO1outputHIGH


10b



10b
SetSecond
PrechargePeriod
0
1
B6
A[3:0]
1
*
0
*
1
*
1
*
0
A3
1
A2
1
A1
0
A0
Setsthesecondprechargeperiod
A[3:0]=DCLKs
1000b
SetGrayscale
Table
0
1
1
1
1
1
1
1
B8
A1[7:0]
A2[7:0]
.
.
.
A14[7:0]
A15[7:0]
1
A1
7

A2
7

.
.
.
A14
7

A15
7


0
A1
6

A2
6

.
.
.
A14
6
A15
6

1
A1
5

A2
5

.
.
.
A14
5
A15
5

1
A1
4

A2
4

.
.
.
A14
4
A15
4

1
A1
3

A2
3

.
.
.
A14
3
A15
3

0
A1
2

A2
2

.
.
.
A14
2
A15
2

0
A1
1

A2
1

.
.
.
A14
1
A15
1

0
A1
0

A2
0

.
.
.
A14
0
A15
0

SetsthegrayscalepulsewidthinunitsofDCLK.Range0‐180d.
A1[7:0]=GammaSettingforGS1
A2[7:0]=GammaSettingforGS2
.
.
.
A14[7:0]=GammaSettingforGS14
A15[7:0]=GammaSettingforGS15

Note:0<GS1<GS2<GS3…<GS14<GS15
Thesettingmustbefollowedbycommand0x00.
SelectDefault
LinearGrayScale
Table
0 B9 1 0 1 1 1 0 0 1
SetsLinearGrayscaletable
GS0pulsewidth=0
GS0pulsewidth=0

[14]

GS0pulsewidth=8
GS0pulsewidth=16
.
.
.
GS0pulsewidth=104
GS0pulsewidth=112
SetPrecharge
Voltage
0
1
BB
A[4:0]
1
*
0
*
1
*
1
A4
1
A3
0
A2
1
A1
1
A0
Setprechargevoltagelevel.
A[4:0]=0x00;0.20*VCC
.
.
A[4:0]=0x3E;0.60*VCC
0x17
SetVCOMH
Voltage
0
1
BE
A[3:0]
1
*
0
*
1
*
1
*
1
A3
1
A2
1
A1
0
A0
SetstheVCOMHvoltagelevel
A[3:0]=0x00;0.72*VCC
.
.
A[3:0]=0x04;0.8*VCC
.
.
A[3:0]=0x07;0.86*VCC
0x04
SetContrast
Control
0
1
C1
A[7:0]
1
A7
1
A6
0
A5
0
A4
0
A3
0
A2
0
A1
1
A0
Doublebytecommandtoselect1outof256contraststeps.
Contrastincreasesasthevalueincreases.
0x7F
MasterContrast
Control
0
1
C7
A[3:0]
1
*
1
*
0
*
0
*
0
A3
1
A2
1
A1
1
A0
A[3:0]=0x00;Reduceoutputforallcolorsto1/16
A[3:0]=0x01;Reduceoutputforallcolorsto2/16
.
.
A[3:0]=0x0E;Reduceoutputforallcolorsto15/16
A[3:0]=0x0F;nochange
0x0f
SetMultiplex
Ratio
0
1
CA
A[6:0]
1
*
1
A6
0
A5
0
A4
1
A3
0
A2
1
A1
0
A0
SetMUXratiotoN+1MUX
N=A[6:0];from16MUXto128MUX(0to14areinvalid) 
127d
SetCommand
Lock
0
1
FD
A[2]
1
0
1
0
1
0
1
1
1
0
1
A2
0
1
1
0
A[2]=0;UnlockOLEDtoenablecommands
A[2]=1;LockOLEDfromenteringcommands
0x12

Fordetailedinstructioninformation,seedatasheet:http://www.newhavendisplay.com/app_notes/SSD1322.pdf


[15]

10. OLEDController‐>MPUInterface
Fordetailedtiminginformation,seedatasheet:http://www.newhavendisplay.com/app_notes/SSD1322.pdf


10.1. 6800‐MPUParallelInterface
Theparallelinterfaceconsistsof8bi‐directionaldatapins,R/W,D/C,E,and/CS.
ALOWonR/Windicateswriteoperation,andHIGHonR/Windicatesreadoperation.
ALOWonD/Cindicatesξ€ƒβ€œCommand”readorwrite,andHIGHonD/Cindicatesξ€ƒβ€œData”readorwrite.
TheEinputserves
asdatalatchsignal,while/CSisLOW.DataislatchedatthefallingedgeofEsignal.

Function E R/W /CS D/C
WriteCommand↓0 0 0
ReadStatus↓ 1 0 0
WriteData↓ 0 0 1
ReadData↓ 1 0 1



10.2. 8080‐MPUParallelInterface
Theparallelinterfaceconsistsof8bi‐directionaldatapins,/RD,/WR,D/C,and/CS.
ALOWonD/Cindicatesξ€ƒβ€œCommand”readorwrite,andHIGHonD/Cindicatesξ€ƒβ€œData”readorwrite.
Arisingedgeof/RSinputservesasadatareadlatchsignalwhile/CSisLOW.
Arisingedgeof/WRinputservesasadata/commandwritelatchsignalwhile/CSisLOW.

Function /RD /WR /CS D/C
WriteCommand 1↑ 0 0
ReadStatus↑ 1 0 0
WriteData
1
↑ 0 1
ReadData↑ 1 0 1

Alternatively,/RDand/WRcanbekeptstablewhile/CSservesasthedata/commandlatchsignal.

Function /RD /WR /CS D/C
WriteCommand 1 0 ↑ 0
ReadStatus
0
1 ↑ 0
WriteData
1
0 ↑ 1
ReadData
0
1 ↑ 1










NHD-3.12-25664UMB3

Mfr. #:
Manufacturer:
Newhaven Display
Description:
OLED Displays & Accessories OLED 256x64 Blue 3.12" Multi-Font 3V
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet