Datasheet

ST7735
V1.7 54 2009-12-04
9.8.2 Memory to Display Address Mapping
9.8.2.1 When using 128RGB x 160 resolution (GM[2:0] = “011”, SMX=SMY=SRGB= ‘0’)
--------
Gate Out
S7 S8 S9 S10 S11 S12 -------- S385 S386 S387 S388 S389 S390
MY=' 0 ' MY=' 1 ' ML=' 0 ' ML=' 1 '
2 0 159 R0 G0 B0 R1 G1 B1 -------- R126 G126 B126 R127 G127 B127 0 159
3 1 158 -------- 1 158
4 2 157 -------- 2 157
5 3 156 -------- 3 156
6 4 155 -------- 4 155
7 5 154 -------- 5 154
8 6 153 -------- 6 153
9 7 152 -------- 7 152
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
154 152 7 -------- 152 7
155 153 6 -------- 153 6
156 154 5 -------- 154 5
157 155 4 -------- 155 4
158 156 3 -------- 156 3
159 157 2 -------- 157 2
160 158 1 -------- 158 1
161 159 0 -------- 159 0
MX=' 0 ' --------
MX=' 1 ' --------
Pixel 1 Pixel 2 Pixel 127 Pixel 128
Source Out
RGB=0
RGB=1
RGB=0
RGB=1
RGB
Order
RGB=0
RGB=1
RGB=0
RGB=1
RA SA
CA
0 1 126 127
127 126 1 0
Note
RA = Row Address,
CA = Column Address
SA = Scan Address
MX = Mirror X-axis (Column address direction parameter), D6 parameter of MADCTL command
MY = Mirror Y-axis (Row address direction parameter), D7 parameter of MADCTL command
ML = Scan direction parameter, D4 parameter of MADCTL command
RGB = Red, Green and Blue pixel position change, D3 parameter of MADCTL command