[12]
9. OLEDcontrollerInstructionTable(Built‐InSSD1322Controller/Driver)
Instruction
Code
Description
RESET
value
D/C HEX DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
EnableGrayscale
Table
0 00 0 0 0 0 0 0 0 0
EnabletheGrayscaletablesettings.(seecommand0xB8)
SetColumn
Address
0
1
1
15
A[6:0]
B[6:0]
0
*
*
0
A6
B6
0
A5
B5
1
A4
B4
0
A3
B3
1
A2
B2
0
A1
B1
1
A0
B0
Setcolumnstartandendaddress
A[6:0]:Columnstartaddress.Range:0‐119d
B[6:0]:Columnendaddress.Range:0‐119d
0
119d
WriteRAM
Command
0 5C 0 1 0 1 1 1 0 0
EnableMCUtowriteDataintoRAM
ReadRAM
Command
0 5D 0 1 0 1 1 1 0 1
EnableMCUtoreadDatafromRAM
SetRowAddress 0
1
1
75
A[6:0]
B[6:0]
0
*
*
1
A6
B6
1
A5
B5
1
A4
B4
0
A3
B3
1
A2
B2
0
A1
B1
1
A0
B0
Setrowstartandendaddress
A[6:0]:Rowstartaddress.Range:0‐127d
B[6:0]:Rowendaddress.Range:0‐127d
0
127d
SetRemap 0
1
1
A0
A[5:0]
B[4]
1
0
*
0
0
*
1
A5
0
0
A4
B4
0
0
0
0
A2
0
0
A1
0
0
A0
1
A[0]=0;HorizontalAddressIncrement
A[0]=1;VerticalAddressIncrement
A[1]=0;DisableColumnAddressremap
A[1]=1;EnableColumnAddressremap
A[2]=0;DisableNibbleremap
A[2]=1;EnableNibbleremap
A[4]=0;ScanfromCOM0toCOM[N‐1]
A[4]=1;ScanfromCOM[N‐1]toCOM0
A[5]=0;DisableCOMsplitOdd/Even
A[5]=1;EnableCOMsplitOdd/Even
B[4]=0;DisableDualCOMmode
B[4]=1;EnableDualCOMmode
Note:A[5]mustbe0ifB[4]is1.
0
0
0
0
0
0
SetDisplayStart
Line
0
1
A1
A[6:0]
1
*
0
A6
1
A5
0
A4
0
A3
0
A2
0
A1
1
A0
SetdisplayRAMdisplaystartlineregisterfrom0‐127. 0
SetDisplayOffset 0
1
A2
A[6:0]
1
*
0
A6
1
A5
0
A4
0
A3
0
A2
1
A1
0
A0
SetverticalshiftbyCOMfrom0~127. 0
DisplayMode 0 A4/A7 1 0 1 0 0 X2 X1 X0
0xA4=EntiredisplayOFF
0xA5=EntiredisplayON,allpixelsGrayscalelevel15
0xA6=Normaldisplay
0xA7=Inversedisplay
0xA6
EnablePartial
Display
0
1
1
A8
A[6:0]
B[6:0]
1
0
0
0
A6
B6
1
A5
B5
0
A4
B4
1
A3
B3
0
A2
B2
0
A1
B1
0
A0
B0
TurnsONpartialmode.
A[6:0]=Addressofstartrow
B[6:0]=Addressofendrow(B[6:0]>A[6:0])
ExitPartialDisplay 0 A9 1 0 1 0 1 0 0 1
ExitPartialDisplaymode
FunctionSelection 0 AB 1 0 1 0 1 0 1 1
A[0]=0;ExternalVDD