Part Number Hot Search : 
H83935 2SD669 BD6721FS LA4310 AD841KNZ M29F800D T1206 TGA40
Product Description
Full Text Search
 

To Download ST7637 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  st sitronix ST7637 65k 132 x 132 color dot matrix lcd controller/driver ver 1.6 1/210 2009/03 1. introduction the ST7637 is a driver & controller lsi for 65k color g raphic dot-matrix liquid crystal display systems. i t generates 396 segment and 132 common driver circuits. this chip is connected directly to a microprocessor, accepts ser ial peripheral interface (spi) or 8-bit/16-bit parallel display data and stores in an on-chip display data ram. it perf orms display data ram read/write operation with no external operating clo ck to minimize power consumption. in addition, beca use it contains power supply circuits necessary to drive liquid cry stal, it is possible to make a display system with the fewest components. 2. features driver output circuits 396 segment outputs / 132 common outputs applicable duty ratios various partial display partial window moving & data scrolling gray-scale display 4frc & 31 pwm function circuit to display 64 gray-scale display support 8 color mode (idle mode) on-chip display data ram capacity: 132 x 132 x 16 =278,784 bits color support by interface 256 colors (rgb)=(332) mode 4k colors (rgb)=(444) mode 65k colors (rgb)=(565) mode truncated 262k colors (rgb)=(666) mode truncated 16m colors (rgb)=(888) mode microprocessor interface 8/16-bit parallel bi-directional interface with 68 00-series or 8080-series 4-line serial interface 3-line (9-bits) serial interface on-chip low power analog circuit on-chip oscillator circuit voltage converter (x2~x8) with internal capacitors. extremely few outsider components. (3 capacitors) on-chip voltage regulator on-chip electronic contrast control function voltage follower (lcd bias: 1/5~1/12) operating voltage range supply digital voltage (vdd, vdd1): 1.65 to 3.0v supply analog voltage (vdd2~vdd5): 2.4 to 3.3v lcd driving voltage (vop = v0 - vss): max: 18v lcd driving voltage (otp) contrast adjustment value is stored in the built-in otp-rom for better display quality. lcd driving setting suggestion vop = 14v, bias=1/9. (vdd=2.8v) vop=15.5v,bias=1/10. (vdd=2.8v) package type application for cog ST7637 6800, 8080, 4-line, 3-line interface sitronix technology corp. reserves the right to cha nge the contents in this document without prior not ice.
ST7637 ver 1.6 2/210 2009/03 3. ST7637 pad arrangement (cog) y x (0,0) 22 dummy 23 dummy 24 vss 25 vpp 26 vpp 29 dummy 202 com41 247 com131 59 cls 60 vdd 61 a0 62 rw_wr 63 d0 64 d1 65 d2 66 d3 67 d4 68 d5 69 d6 70 d7 71 d8 72 d9 73 d10 74 d11 75 d12 76 d13 79 vss 80 vdd 81 e_rd 82 rst 83 csel 84 if1 85 if2 86 if3 87 vss 88 vdd 89 /cs 90 /ext 91 te 92 tcap 93 vdd 94 vdd 95 vdd 96 vdd 97 vdd1 98 vdd1 99 vss1 100 vss1 101 vss 108 vss 109 vss2 77 d14 78 d15 28 vpp 58 cl 57 dummy 153 vm 134 vdd5 133 vdd4 132 vdd4 130 vdd3 129 vdd3 128 vss4 127 vss4 126 vss2 125 vss2 179 vss 178 vgin 177 vgin 172 vgin 171 vgin 170 vgs 169 vgout 168 vgout 167 xv0in 166 xv0in 165 xv0in 164 xv0in 163 xv0s 162 xv0out 161 xv0out 160 v0out 159 v0out 158 v0s 157 v0in 156 v0in 155 v0in 154 v0in 152 vm 151 vdd2 142 vdd2 141 vdd5 140 vdd5 180 vss 181 detgbo 183 com3 19 com2 20 com0 21 detgbi 27 vpp 124 vss2 131 vref 182 com1 248 seg0 689 com40 644 com130 643 seg395 chip size : 13600 um x 840 um bump pitch : pad 1~ 18, 19~20, 182~183, 184~201, 202~247, pitch=27um (min, com/seg) pad 248~643, 644~689 pitch=27um (min, com/seg) pad 22 ~ 28,29~180 pitch=80um (i/o) pad 20~21, 181~182 pitch=60.15um pad 28 ~ 29 pitch=126.53um (i/o) bump size : pad 1 ~ 21, pad 181 ~ 689 bump width=14um (min, com/seg) bump space=13um(min, com/seg) bump length=128.58um(min, com/seg) bump area=1800um^2(com/seg) pad 22~180 bump width=65um(i/o) bump space=15um(i/o) bump length=63um(i/o) bump area=4095um^2 bump height : 15 um chip thickness : 400 um alignment mark the center of alignment mark: see bellow table lmarkr(right) lmarkl(left) 69.99 82.97 52.97 39.99 30 30 30 69.99 82.97 52.97 39.99 30 30 90.28 97.8 67.8 60.28 30 lmarkb(buttom) 15 15 15 15 15 (x,y)=(-5440.21,350.72) (x,y)=(5440.21,350.72) (x,y)=(6542.56,-160.81) (0,0) x y 15
ST7637 ver 1.6 3/210 2009/03 4. pad center coordinates pad name x y 1 com38 -6682.71 146.94 2 com36 -6682.71 119.94 3 com34 -6682.71 92.94 4 com32 -6682.71 65.94 5 com30 -6682.71 38.94 6 com28 -6682.71 11.94 7 com26 -6682.71 -15.06 8 com24 -6682.71 -42.06 9 com22 -6682.71 -69.06 10 com20 -6682.71 -96.06 11 com18 -6682.71 -123.06 12 com16 -6682.71 -150.06 13 com14 -6682.71 -177.06 14 com12 -6682.71 -204.06 15 com10 -6682.71 -231.06 16 com8 -6682.71 -258.06 17 com6 -6682.71 -285.06 18 com4 -6682.71 -312.06 19 com2 -6534.45 -302.71 20 com0 -6507.45 -302.71 21 detgbi -6447.3 -302.71 22 dummy -6370.88 -329.5 23 dummy -6290.88 -329.5 24 vss -6210.88 -329.5 25 vpp -6130.88 -329.5 26 vpp -6050.88 -329.5 27 vpp -5970.88 -329.5 28 vpp -5890.88 -329.5 29 dummy -5764.35 -329.5 30 dummy -5684.35 -329.5 31 dummy -5604.35 -329.5 32 dummy -5524.35 -329.5 33 dummy -5444.35 -329.5 34 dummy -5364.35 -329.5 35 dummy -5284.35 -329.5 36 dummy -5204.35 -329.5 37 dummy -5124.35 -329.5 38 dummy -5044.35 -329.5 39 dummy -4964.35 -329.5 40 dummy -4884.35 -329.5 41 dummy -4804.35 -329.5 42 dummy -4724.35 -329.5 43 dummy -4644.35 -329.5 44 dummy -4564.35 -329.5 45 dummy -4484.35 -329.5 46 dummy -4404.35 -329.5 47 dummy -4324.35 -329.5 48 dummy -4244.35 -329.5 49 dummy -4164.35 -329.5 50 dummy -4084.35 -329.5 51 dummy -4004.35 -329.5 52 dummy -3924.35 -329.5 53 dummy -3844.35 -329.5 54 dummy -3764.35 -329.5 55 dummy -3684.35 -329.5 56 dummy -3604.35 -329.5 57 dummy -3524.35 -329.5 58 cl -3444.35 -329.5 59 cls -3364.35 -329.5 60 vdd -3284.35 -329.5 61 a0 -3204.35 -329.5 62 rw_wr -3124.35 -329.5 63 d0 -3044.35 -329.5 64 d1 -2964.35 -329.5 65 d2 -2884.35 -329.5 66 d3 -2804.35 -329.5 67 d4 -2724.35 -329.5 68 d5 -2644.35 -329.5 69 d6 -2564.35 -329.5 70 d7 -2484.35 -329.5
ST7637 ver 1.6 4/210 2009/03 71 d8 -2404.35 -329.5 72 d9 -2324.35 -329.5 73 d10 -2244.35 -329.5 74 d11 -2164.35 -329.5 75 d12 -2084.35 -329.5 76 d13 -2004.35 -329.5 77 d14 -1924.35 -329.5 78 d15 -1844.35 -329.5 79 vss -1764.35 -329.5 80 vdd -1684.35 -329.5 81 e_rd -1604.35 -329.5 82 /rst -1524.35 -329.5 83 csel -1444.35 -329.5 84 if1 -1364.35 -329.5 85 if2 -1284.35 -329.5 86 if3 -1204.35 -329.5 87 vss -1124.35 -329.5 88 vdd -1044.35 -329.5 89 /cs -964.35 -329.5 90 /ext -884.35 -329.5 91 te -804.35 -329.5 92 tcap -724.35 -329.5 93 vdd -644.35 -329.5 94 vdd -564.35 -329.5 95 vdd -484.35 -329.5 96 vdd -404.35 -329.5 97 vdd1 -324.35 -329.5 98 vdd1 -244.35 -329.5 99 vss1 -164.35 -329.5 100 vss1 -84.35 -329.5 101 vss -4.35 -329.5 102 vss 75.65 -329.5 103 vss 155.65 -329.5 104 vss 235.65 -329.5 105 vss 315.65 -329.5 106 vss 395.65 -329.5 107 vss 475.65 -329.5 108 vss 555.65 -329.5 109 vss2 635.65 -329.5 110 vss2 715.65 -329.5 111 vss2 795.65 -329.5 112 vss2 875.65 -329.5 113 vss2 955.65 -329.5 114 vss2 1035.65 -329.5 115 vss2 1115.65 -329.5 116 vss2 1195.65 -329.5 117 vss2 1275.65 -329.5 118 vss2 1355.65 -329.5 119 vss2 1435.65 -329.5 120 vss2 1515.65 -329.5 121 vss2 1595.65 -329.5 122 vss2 1675.65 -329.5 123 vss2 1755.65 -329.5 124 vss2 1835.65 -329.5 125 vss2 1915.65 -329.5 126 vss2 1995.65 -329.5 127 vss4 2075.65 -329.5 128 vss4 2155.65 -329.5 129 vdd3 2235.65 -329.5 130 vdd3 2315.65 -329.5 131 vrefp 2395.65 -329.5 132 vdd4 2475.65 -329.5 133 vdd4 2555.65 -329.5 134 vdd5 2635.65 -329.5 135 vdd5 2715.65 -329.5 136 vdd5 2795.65 -329.5 137 vdd5 2875.65 -329.5 138 vdd5 2955.65 -329.5 139 vdd5 3035.65 -329.5 140 vdd5 3115.65 -329.5 141 vdd5 3195.65 -329.5 142 vdd2 3275.65 -329.5 143 vdd2 3355.65 -329.5 144 vdd2 3435.65 -329.5
ST7637 ver 1.6 5/210 2009/03 145 vdd2 3515.65 -329.5 146 vdd2 3595.65 -329.5 147 vdd2 3675.65 -329.5 148 vdd2 3755.65 -329.5 149 vdd2 3835.65 -329.5 150 vdd2 3915.65 -329.5 151 vdd2 3995.65 -329.5 152 vm 4075.65 -329.5 153 vm 4155.65 -329.5 154 v0in 4235.65 -329.5 155 v0in 4315.65 -329.5 156 v0in 4395.65 -329.5 157 v0in 4475.65 -329.5 158 v0s 4555.65 -329.5 159 v0out 4635.65 -329.5 160 v0out 4715.65 -329.5 161 xv0out 4795.65 -329.5 162 xv0out 4875.65 -329.5 163 xv0s 4955.65 -329.5 164 xv0in 5035.65 -329.5 165 xv0in 5115.65 -329.5 166 xv0in 5195.65 -329.5 167 xv0in 5275.65 -329.5 168 vgout 5355.65 -329.5 169 vgout 5435.65 -329.5 170 vgs 5515.65 -329.5 171 vgin 5595.65 -329.5 172 vgin 5675.65 -329.5 173 vgin 5755.65 -329.5 174 vgin 5835.65 -329.5 175 vgin 5915.65 -329.5 176 vgin 5995.65 -329.5 177 vgin 6075.65 -329.5 178 vgin 6155.65 -329.5 179 vss 6235.65 -329.5 180 vss 6315.65 -329.5 181 detgbo 6447.3 -302.71 182 com1 6507.45 -302.71 183 com3 6534.45 -302.71 184 com5 6682.71 -312.06 185 com7 6682.71 -285.06 186 com9 6682.71 -258.06 187 com11 6682.71 -231.06 188 com13 6682.71 -204.06 189 com15 6682.71 -177.06 190 com17 6682.71 -150.06 191 com19 6682.71 -123.06 192 com21 6682.71 -96.06 193 com23 6682.71 -69.06 194 com25 6682.71 -42.06 195 com27 6682.71 -15.06 196 com29 6682.71 11.94 197 com31 6682.71 38.94 198 com33 6682.71 65.94 199 com35 6682.71 92.94 200 com37 6682.71 119.94 201 com39 6682.71 146.94 202 com41 6706.5 302.71 203 com43 6679.5 302.71 204 com45 6652.5 302.71 205 com47 6625.5 302.71 206 com49 6598.5 302.71 207 com51 6571.5 302.71 208 com53 6544.5 302.71 209 com55 6517.5 302.71 210 com57 6490.5 302.71 211 com59 6463.5 302.71 212 com61 6436.5 302.71 213 com63 6409.5 302.71 214 com65 6382.5 302.71 215 com67 6355.5 302.71 216 com69 6328.5 302.71 217 com71 6301.5 302.71 218 com73 6274.5 302.71
ST7637 ver 1.6 6/210 2009/03 219 com75 6247.5 302.71 220 com77 6220.5 302.71 221 com79 6193.5 302.71 222 com81 6166.5 302.71 223 com83 6139.5 302.71 224 com85 6112.5 302.71 225 com87 6085.5 302.71 226 com89 6058.5 302.71 227 com91 6031.5 302.71 2 28 com93 6004.5 302.71 229 com95 5977.5 302.71 230 com97 5950.5 302.71 231 com99 5923.5 302.71 232 com101 5896.5 302.71 233 com103 5869.5 302.71 234 com105 5842.5 302.71 235 com107 5815.5 302.71 236 com109 5788.5 302.71 237 com111 5761.5 302.71 238 com113 5734.5 302.71 239 com115 5707.5 302.71 240 com117 5680.5 302.71 241 com119 5653.5 302.71 242 com121 5626.5 302.71 243 com123 5599.5 302.71 244 com125 5572.5 302.71 245 com127 5545.5 302.71 246 com129 5518.5 302.71 247 com131 5491.5 302.71 248 seg0 5332.5 302.71 249 seg1 5305.5 302.71 250 seg2 5278.5 302.71 251 seg3 5251.5 302.71 252 seg4 5224.5 302.71 253 seg5 5197.5 302.71 254 seg6 5170.5 302.71 255 seg7 5143.5 302.71 256 seg8 5116.5 302.71 257 seg9 5089.5 302.71 258 seg10 5062.5 302.71 259 seg11 5035.5 302.71 260 seg12 5008.5 302.71 261 seg13 4981.5 302.71 262 seg14 4954.5 302.71 263 seg15 4927.5 302.71 264 seg16 4900.5 302.71 265 seg17 4873.5 302.71 266 seg18 4846.5 302.71 267 seg19 4819.5 302.71 268 seg20 4792.5 302.71 269 seg21 4765.5 302.71 270 seg22 4738.5 302.71 271 seg23 4711.5 302.71 272 seg24 4684.5 302.71 273 seg25 4657.5 302.71 274 seg26 4630.5 302.71 275 seg27 4603.5 302.71 276 seg28 4576.5 302.71 2 77 seg29 4549.5 302.71 278 seg30 4522.5 302.71 279 seg31 4495.5 302.71 280 seg32 4468.5 302.71 281 seg33 4441.5 302.71 282 seg34 4414.5 302.71 283 seg35 4387.5 302.71 284 seg36 4360.5 302.71 285 seg37 4333.5 302.71 286 seg38 4306.5 302.71 287 seg39 4279.5 302.71 288 seg40 4252.5 302.71 289 seg41 4225.5 302.71 290 seg42 4198.5 302.71 291 seg43 4171.5 302.71 292 seg44 4144.5 302.71
ST7637 ver 1.6 7/210 2009/03 293 seg45 4117.5 302.71 294 seg46 4090.5 302.71 295 seg47 4063.5 302.71 296 seg48 4036.5 302.71 297 seg49 4009.5 302.71 298 seg50 3982.5 302.71 299 seg51 3955.5 302.71 300 seg52 3928.5 302.71 301 seg53 3901.5 302.71 302 seg54 3874.5 302.71 303 seg55 3847.5 302.71 304 seg56 3820.5 302.71 305 seg57 3793.5 302.71 306 seg58 3766.5 302.71 307 seg59 3739.5 302.71 308 seg60 3712.5 302.71 309 seg61 3685.5 302.71 310 seg62 3658.5 302.71 311 seg63 3631.5 302.71 312 seg64 3604.5 302.71 313 seg65 3577.5 302.71 314 seg66 3550.5 302.71 315 seg67 3523.5 302.71 316 seg68 3496.5 302.71 317 seg69 3469.5 302.71 318 seg70 3442.5 302.71 319 seg71 3415.5 302.71 320 seg72 3388.5 302.71 321 seg73 3361.5 302.71 322 seg74 3334.5 302.71 323 seg75 3307.5 302.71 324 seg76 3280.5 302.71 325 seg77 3253.5 302.71 326 seg78 3226.5 302.71 327 seg79 3199.5 302.71 328 seg80 3172.5 302.71 329 seg81 3145.5 302.71 330 seg82 3118.5 302.71 331 seg83 3091.5 302.71 332 seg84 3064.5 302.71 333 seg85 3037.5 302.71 334 seg86 3010.5 302.71 335 seg87 2983.5 302.71 336 seg88 2956.5 302.71 337 seg89 2929.5 302.71 338 seg90 2902.5 302.71 339 seg91 2875.5 302.71 340 seg92 2848.5 302.71 341 seg93 2821.5 302.71 342 seg94 2794.5 302.71 343 seg95 2767.5 302.71 344 seg96 2740.5 302.71 345 seg97 2713.5 302.71 346 seg98 2686.5 302.71 347 seg99 2659.5 302.71 348 seg100 2632.5 302.71 349 seg101 2605.5 302.71 350 seg102 2578.5 302.71 351 seg103 2551.5 302.71 352 seg104 2524.5 302.71 353 seg105 2497.5 302.71 354 seg106 2470.5 302.71 355 seg107 2443.5 302.71 356 seg108 2416.5 302.71 357 seg109 2389.5 302.71 358 seg110 2362.5 302.71 359 seg111 2335.5 302.71 360 seg112 2308.5 302.71 361 seg113 2281.5 302.71 362 seg114 2254.5 302.71 363 seg115 2227.5 302.71 364 seg116 2200.5 302.71 365 seg117 2173.5 302.71 366 seg118 2146.5 302.71
ST7637 ver 1.6 8/210 2009/03 367 seg119 2119.5 302.71 368 seg120 2092.5 302.71 369 seg121 2065.5 302.71 370 seg122 2038.5 302.71 371 seg123 2011.5 302.71 372 seg124 1984.5 302.71 373 seg125 1957.5 302.71 374 seg126 1930.5 302.71 375 seg127 1903.5 302.71 376 seg128 1876.5 302.71 377 seg129 1849.5 302.71 378 seg130 1822.5 302.71 379 seg131 1795.5 302.71 380 seg132 1768.5 302.71 381 seg133 1741.5 302.71 382 seg134 1714.5 302.71 383 seg135 1687.5 302.71 384 seg136 1660.5 302.71 385 seg137 1633.5 302.71 386 seg138 1606.5 302.71 387 seg139 1579.5 302.71 388 seg140 1552.5 302.71 389 seg141 1525.5 302.71 390 seg142 1498.5 302.71 391 seg143 1471.5 302.71 392 seg144 1444.5 302.71 393 seg145 1417.5 302.71 394 seg146 1390.5 302.71 395 seg147 1363.5 302.71 396 seg148 1336.5 302.71 397 seg149 1309.5 302.71 398 seg150 1282.5 302.71 399 seg151 1255.5 302.71 400 seg152 1228.5 302.71 401 seg153 1201.5 302.71 402 seg154 1174.5 302.71 403 seg155 1147.5 302.71 404 seg156 1120.5 302.71 405 seg157 1093.5 302.71 406 seg158 1066.5 302.71 407 seg159 1039.5 302.71 408 seg160 1012.5 302.71 409 seg161 985.5 302.71 410 seg162 958.5 302.71 411 seg163 931.5 302.71 412 seg164 904.5 302.71 413 seg165 877.5 302.71 414 seg166 850.5 302.71 415 seg167 823.5 302.71 416 seg168 796.5 302.71 417 seg169 769.5 302.71 418 seg170 742.5 302.71 419 seg171 715.5 302.71 420 seg172 688.5 302.71 421 seg173 661.5 302.71 422 seg174 634.5 302.71 423 seg175 607.5 302.71 424 seg176 580.5 302.71 425 seg177 553.5 302.71 426 seg178 526.5 302.71 427 seg179 499.5 302.71 428 seg180 472.5 302.71 429 seg181 445.5 302.71 430 seg182 418.5 302.71 431 seg183 391.5 302.71 432 seg184 364.5 302.71 433 seg185 337.5 302.71 434 seg186 310.5 302.71 435 seg187 283.5 302.71 436 seg188 256.5 302.71 437 seg189 229.5 302.71 438 seg190 202.5 302.71 439 seg191 175.5 302.71 440 seg192 148.5 302.71
ST7637 ver 1.6 9/210 2009/03 441 seg193 121.5 302.71 44 2 seg194 94.5 302.71 443 seg195 67.5 302.71 444 seg196 40.5 302.71 445 seg197 13.5 302.71 446 seg198 -13.5 302.71 447 seg199 -40.5 302.71 448 seg200 -67.5 302.71 449 seg201 -94.5 302.71 450 seg202 -121.5 302.71 451 seg203 -148.5 302.71 452 seg204 -175.5 302.71 453 seg205 -202.5 302.71 454 seg206 -229.5 302.71 455 seg207 -256.5 302.71 456 seg208 -283.5 302.71 457 seg209 -310.5 302.71 458 seg210 -337.5 302.71 459 seg211 -364.5 302.71 460 seg212 -391.5 302.71 461 seg213 -418.5 302.71 462 seg214 -445.5 302.71 463 seg215 -472.5 302.71 464 seg216 -499.5 302.71 465 seg217 -526.5 302.71 466 seg218 -553.5 302.71 467 seg219 -580.5 302.71 468 seg220 -607.5 302.71 469 seg221 -634.5 302.71 470 seg222 -661.5 302.71 471 seg223 -688.5 302.71 472 seg224 -715.5 302.71 473 seg225 -742.5 302.71 474 seg226 -769.5 302.71 475 seg227 -796.5 302.71 476 seg228 -823.5 302.71 477 seg229 -850.5 302.71 478 seg230 -877.5 302.71 479 seg231 -904.5 302.71 480 seg232 -931.5 302.71 481 seg233 -958.5 302.71 482 seg234 -985.5 302.71 483 seg235 -1012.5 302.71 484 seg236 -1039.5 302.71 485 seg237 -1066.5 302.71 486 seg238 -1093.5 302.71 487 seg239 -1120.5 302.71 488 seg240 -1147.5 302.71 489 seg241 -1174.5 302.71 490 seg242 -1201.5 302.71 491 seg243 -1228.5 302.71 492 seg244 -1255.5 302.71 493 seg245 -1282.5 302.71 494 seg246 -1309.5 302.71 495 seg247 -1336.5 302.71 496 seg248 -1363.5 302.71 497 seg249 -1390.5 302.71 498 seg250 -1417.5 302.71 499 seg251 -1444.5 302.71 500 seg252 -1471.5 302.71 501 seg253 -1498.5 302.71 502 seg254 -1525.5 302.71 503 seg255 -1552.5 302.71 504 seg256 -1579.5 302.71 505 seg257 -1606.5 302.71 506 seg258 -1633.5 302.71 507 seg259 -1660.5 302.71 508 seg260 -1687.5 302.71 509 seg261 -1714.5 302.71 510 seg262 -1741.5 302.71 511 seg263 -1768.5 302.71 512 seg264 -1795.5 302.71 513 seg265 -1822.5 302.71 514 seg266 -1849.5 302.71
ST7637 ver 1.6 10/210 2009/03 515 seg267 -1876.5 302.71 516 seg268 -1903.5 302.71 517 seg269 -1930.5 302.71 518 seg270 -1957.5 302.71 519 seg271 -1984.5 302.71 520 seg272 -2011.5 302.71 521 seg273 -2038.5 302.71 522 seg274 -2065.5 302.71 523 seg275 -2092.5 302.71 524 seg276 -2119.5 302.71 525 seg277 -2146.5 302.71 526 seg278 -2173.5 302.71 527 seg279 -2200.5 302.71 528 seg280 -2227.5 302.71 529 seg281 -2254.5 302.71 530 seg282 -2281.5 302.71 531 seg283 -2308.5 302.71 532 seg284 -2335.5 302.71 533 seg285 -2362.5 302.71 534 seg286 -2389.5 302.71 535 seg287 -2416.5 302.71 536 seg288 -2443.5 302.71 537 seg289 -2470.5 302.71 538 seg290 -2497.5 302.71 539 seg291 -2524.5 302.71 540 seg292 -2551.5 302.71 541 seg293 -2578.5 302.71 542 seg294 -2605.5 302.71 543 seg295 -2632.5 302.71 544 seg296 -2659.5 302.71 545 seg297 -2686.5 302.71 546 seg298 -2713.5 302.71 547 seg299 -2740.5 302.71 548 seg300 -2767.5 302.71 549 seg301 -2794.5 302.71 550 seg302 -2821.5 302.71 551 seg303 -2848.5 302.71 552 seg304 -2875.5 302.71 553 seg305 -2902.5 302.71 554 seg306 -2929.5 302.71 555 seg307 -2956.5 302.71 556 seg308 -2983.5 302.71 557 seg309 -3010.5 302.71 558 seg310 -3037.5 302.71 559 seg311 -3064.5 302.71 560 seg312 -3091.5 302.71 561 seg313 -3118.5 302.71 562 seg314 -3145.5 302.71 563 seg315 -3172.5 302.71 564 seg316 -3199.5 302.71 565 seg317 -3226.5 302.71 566 seg318 -3253.5 302.71 567 seg319 -3280.5 302.71 568 seg320 -3307.5 302.71 569 seg321 -3334.5 302.71 570 seg322 -3361.5 302.71 571 seg323 -3388.5 302.71 572 seg324 -3415.5 302.71 573 seg325 -3442.5 302.71 574 seg326 -3469.5 302.71 575 seg327 -3496.5 302.71 576 seg328 -3523.5 302.71 577 seg329 -3550.5 302.71 578 seg330 -3577.5 302.71 579 seg331 -3604.5 302.71 580 seg332 -3631.5 302.71 581 seg333 -3658.5 302.71 582 seg334 -3685.5 302.71 583 seg335 -3712.5 302.71 584 seg336 -3739.5 302.71 585 seg337 -3766.5 302.71 586 seg338 -3793.5 302.71 587 seg339 -3820.5 302.71 588 seg340 -3847.5 302.71
ST7637 ver 1.6 11/210 2009/03 589 seg341 -3874.5 302.71 590 seg342 -3901.5 302.71 591 seg343 -3928.5 302.71 592 seg344 -3955.5 302.71 593 seg345 -3982.5 302.71 594 seg346 -4009.5 302.71 595 seg347 -4036.5 302.71 596 seg348 -4063.5 302.71 597 seg349 -4090.5 302.71 598 seg350 -4117.5 302.71 599 seg351 -4144.5 302.71 600 seg352 -4171.5 302.71 601 seg353 -4198.5 302.71 602 seg354 -4225.5 302.71 603 seg355 -4252.5 302.71 604 seg356 -4279.5 302.71 605 seg357 -4306.5 302.71 606 seg358 -4333.5 302.71 607 seg359 -4360.5 302.71 608 seg360 -4387.5 302.71 609 seg361 -4414.5 302.71 610 seg362 -4441.5 302.71 611 seg363 -4468.5 302.71 612 seg364 -4495.5 302.71 613 seg365 -4522.5 302.71 614 seg366 -4549.5 302.71 615 seg367 -4576.5 302.71 616 seg368 -4603.5 302.71 617 seg369 -4630.5 302.71 618 seg370 -4657.5 302.71 619 seg371 -4684.5 302.71 620 seg372 -4711.5 302.71 621 seg373 -4738.5 302.71 622 seg374 -4765.5 302.71 623 seg375 -4792.5 302.71 624 seg376 -4819.5 302.71 625 seg377 -4846.5 302.71 626 seg378 -4873.5 302.71 627 seg379 -4900.5 302.71 628 seg380 -4927.5 302.71 629 seg381 -4954.5 302.71 630 seg382 -4981.5 302.71 631 seg383 -5008.5 302.71 632 seg384 -5035.5 302.71 633 seg385 -5062.5 302.71 634 seg386 -5089.5 302.71 635 seg387 -5116.5 302.71 636 seg388 -5143.5 302.71 637 seg389 -5170.5 302.71 638 seg390 -5197.5 302.71 639 seg391 -5224.5 302.71 640 seg392 -5251.5 302.71 641 seg393 -5278.5 302.71 642 seg394 -5305.5 302.71 643 seg395 -5332.5 302.71 644 com130 -5491.5 302.71 645 com128 -5518.5 302.71 646 com126 -5545.5 302.71 647 com124 -5572.5 302.71 648 com122 -5599.5 302.71 649 com120 -5626.5 302.71 650 com118 -5653.5 302.71 651 com116 -5680.5 302.71 652 com114 -5707.5 302.71 653 com112 -5734.5 302.71 654 com110 -5761.5 302.71 655 com108 -5788.5 302.71 656 com106 -5815.5 302.71 657 com104 -5842.5 302.71 658 com102 -5869.5 302.71 659 com100 -5896.5 302.71 660 com98 -5923.5 302.71 661 com96 -5950.5 302.71 662 com94 -5977.5 302.71
ST7637 ver 1.6 12/210 2009/03 663 com92 -6004.5 302.71 664 com90 -6031.5 302.71 665 com88 -6058.5 302.71 666 com86 -6085.5 302.71 667 com84 -6112.5 302.71 668 com82 -6139.5 302.71 669 com80 -6166.5 302.71 670 com78 -6193.5 302.71 671 com76 -6220.5 302.71 672 com74 -6247.5 302.71 673 com72 -6274.5 302.71 674 com70 -6301.5 302.71 675 com68 -6328.5 302.71 676 com66 -6355.5 302.71 677 com64 -6382.5 302.71 678 com62 -6409.5 302.71 679 com60 -6436.5 302.71 680 com58 -6463.5 302.71 681 com56 -6490.5 302.71 682 com54 -6517.5 302.71 683 com52 -6544.5 302.71 684 com50 -6571.5 302.71 685 com48 -6598.5 302.71 686 com46 -6625.5 302.71 687 com44 -6652.5 302.71 688 com42 -6679.5 302.71 689 com40 -6706.5 302.71 690 l-mark-l(left) - 5440.21 350.72 691 l-mark-r(right) 5440.21 350.72 692 l-mark-b(bottom) 6542.56 -160.81
ST7637 ver 1.6 13/210 2009/03 5. block diagram v/f circuit v/r circuit segment drivers data latches common drivers common output controller circuit reset mpu interface(parallel & serial) vdd com0 to com 131 seg0 to seg 395 cls frc/pwm function circuit display data ram (ddram) [ 132x132x16 ] bus latch data register instruction register oscillator instruction decoder booster circuit v0 vg vm vss xv0 vdd1 vdd3 csel vdd2 vdd5 vdd4 cl otp rom vgout vgs vgin v0out v0s v0in xv0out xv0s xv0in vref vm v/c circuit vpp osc t.c. t.c. lut address counter vss vss1 vss2 vss4
ST7637 ver 1.6 14/210 2009/03 6. pin description 6.1 power supply name i/o description vdd supply power supply for logic circuit. vdd1 supply power supply for osc circuit. vdd2 supply power supply for booster circuit. vdd3 supply power supply for lcd. vdd4 supply power supply for lcd. vdd5 supply power supply for lcd. vss supply ground for logic circuit. ground system sho uld be connected together. vss1 supply ground for osc circuit. ground system should be connected together. vss2 supply ground for booster circuit. ground system sh ould be connected together. vss4 supply ground for lcd. ground system should be conne cted together. 6.2 lcd power supply pins name i/o description v0 out v0 in v0 s i/o positive lcd driver supply voltages. v0 out is the output voltage of v0 generated by ST7637. v0 in is the input pin of power supply to generate v0 vol tage for lcd. v0 s is the input pin of power supply to sense the v0 v oltage. v0 out ? v0 in & v0 s should be connected together by fpc. xv0 out xv0 in xv0 s i/o negative lcd driver supply voltages. xv0 out is the output voltage of xv0 generated by ST7637. xv0 in is the input pin of power supply to generate xv0 vo ltage for lcd. xv0 s is the input pin of power supply to sense the xv0 v oltage. xv0 out ? xv0 in & xv0 s should be connected together by fpc. vg out vg in vg s vm i/o bias lcd driver supply voltages. vg out is the output voltage of vg generated by ST7637. vg in is the input pin of power supply to generate vg vol tage for lcd. vg s is the input pin of power supply to sense the vg v oltage. vg out ? vg in & vg s should be connected together by fpc. vm is the i/o pin of lcd bias supply voltage voltages should have the following relationship; v0 vg vm vss xv0. vdda-0.7v vm 0.7v. vdda <3v:2 x vdda vg R R 3v ; vdda R 3v:2 x vdda vg R >1.8v when the internal power circuit is active, these vo ltages are generated as following table according to the state of lcd bias. note: n = 5 to 12 lcd bias vg vm 1/n bias (2/n) x v0 (1/n) x v0
ST7637 ver 1.6 15/210 2009/03 6.3 system control name i/o description cls i reserve for testing only. please fix this pin to vddi. cl i/o reserve for testing only. leave this pin ope n. csel i this pin should connect to vddi. tcap i/o test pin. left it opens. vref o reference voltage output for monitor only. lef t it opened. vpp i when writing otp, it needs external power suppl y voltage 7.5v~7.75v input to write successfully. 6.4 microprocessor interface name i/o description /rst i reset input pin when /rst is l, initialization is executed. if[3:1] i parallel / serial data input select input if3 if2 if1 mpu interface type h h h 80 series 16-bit parallel h h l 80 series 8-bit parallel h l h 68 series 16-bit parallel h l l 68 series 8-bit parallel l h h 8-bit serial (4 line) l h l 9-bit serial (3 line) note: refer to table 7.2-1 for detail interface connectio ns. /cs i chip select input pins data / instruction i/o is enabled only when /cs is " l". when chip select is non-active, d0 to d15 become high impedance. a0 i register select input pin in parallel interface: a0 = "h": d0 to d15 or si are display data a0 = "l": d0 to d15 or si are control command in 3-line/4-line interface: this pad will be used for scl function.
ST7637 ver 1.6 16/210 2009/03 rw_wr i rw_wr pin is only used in parallel interface. mpu type rw_wr description 6800-series rw read / write control input pin write status: rw = l. read status: rw = h. 8080-series /wr write enable clock input pin the data on d0 to d15 are latched at the rising edge of the /wr signal. when in the serial interface, connect it to vddi. e_rd i e_rd pin is only used in parallel interface. mpu type e_rd description 6800-series e enable clock pin: write status: the data on d0 to d15 are latched at the falling edge of the e signal. read status: the data on d0 to d15 are latched at the rising edge of the e signal. 8080-series /rd read enable clock input pin the data on d0 to d15 are latched at the falling edge of the /wr signal. when in the serial interface, connect it to vddi. d15 to d0 i/o they connect to the standard 8-bit or 16 bit mpu bus via the 8/16 Cbit bi-directional bus. when the following interface is selected and the /c s pin is high, the following pins become high impedance. 1. in 8-bit parallel: d15-d8 pins are in the state of high impedance should connect to vddi. 2. in 3-line/4-line interface d0 pad will be used f or si function 3. in 4-line interface d1 pad will be used for a0 fu nction 4. in serial interface: unused pins are in the state of high impedance should connect to vddi. si i si is used to input serial data when the serial inte rface is selected.(3 line and 4 line) it is used by d0 pad, see table 7.2-1. scl i scl is used to input serial clock when the serial in terface is selected. the data is converted in the rising edge. (3 line a nd 4 line) it is used by a0 pad , see table 7.2-1. te o tearing effect output.
ST7637 ver 1.6 17/210 2009/03 /ext i otp burn-in control pin. there is a pull-high resistor between /ext & vdd in st76 37. when burning otp, please add an external vss on /ext. (needs external power supply voltage vpp=7.5v~7.75v) note: 1. microprocessor interface pins should not be floa ting in any operation mode. 2. unused pin should connect to vddi ( supply digital voltage ). 6.5 lcd driver outputs name i/o description seg0 to seg395 o lcd segment driver outputs the display data and the m signal control the outpu t voltage of segment driver. segment driver output voltage display data m (internal) normal display reverse display h h vg vss h l vss vg l h vss vg l l vg vss sleep-in mode vss vss com0 to com131 o lcd common driver outputs the internal scanning data and m signal control the output voltage of common driver. scan data m (internal) common driver output voltage h h xv0 h l v0 l h vm l l vm sleep-in mode vss name i/o description detgbi detgbo ito detgbi must connect to detgbo by ito which run a ri ng on lcm glass.
ST7637 ver 1.6 18/210 2009/03 driving waveform ST7637 i/o pin ito resister limitation pin name ito resister vdd, vdd1~vdd5, vss,vss1,vss2,vss4,si(in serial int erface is d0) <100 v0 in , v0 out , v0 s ,xv0 in , xv0 out ,xv0 s , vg in , vg out ,vg s ,vm <300 vpp <50 a0, e_rd, rw_wr, /cs, d0(in parellel interface),d1, d15, (scl), te <1k /rst <10k if[3:1], cls, csel, /ext <1k tcap, cl, vref floating note: 1. make sure that the ito resistance of com0 ~ com131 is equal, and so is it of seg0 ~ seg3 95. these limitations include the bottleneck of ito lay out. 2. ito layout suggestion is shown as below: separated by ito v0o v0i v0s driver side fpc pin fpc pin short by fpc v0i vdd vdd1 vdd2 driverside vddx fpc pin fpc pin shortbyfpc separated by ito
ST7637 ver 1.6 19/210 2009/03 7. functional description 7.1 microprocessor interface chip select input /cs pin is chip selection. the ST7637 is active when /cs=l. in serial interface mode, the internal shift register and the counter are reset when /cs=h. 7.2 selecting parallel / serial interface ST7637 has six types of interfaces with an mpu, which are two serial and four parallel interfaces. these parallel or serial interfaces are determined by if pin as shown in tab le 7.2-1. i/f mode pin assignment if3 if2 if1 i/f description /cs a0 e_rd rw_wr used data bus d1 d0 h h h 80 serial 16-bit parallel /cs a0 /rd /wr d15~d2 d1 d0 h h l 80 serial 8-bit parallel /cs a0 /rd /wr d7~d2 d1 d0 h l h 68 serial 16-bit parallel /cs a0 e r/w d15~d2 d1 d0 h l l 68 serial 8-bit parallel /cs a0 e r/w d7~d2 d1 d0 l h h 8-bit spi mode (4 line) /cs scl -- -- -- a0 si l h l 9-bit spi mode (3 line) /cs scl -- -- -- -- si table 7.2-1 parallel / serial interface mode note: when these pins are set to any other combinat ion, a0, e_rd and rw_wr inputs are disabled and d0 to d15 are to be high impedance. 7.2.1. 8-bit or 16-bit parallel interface the ST7637 identifies the type of the data bus signa ls according to the combination of a0, /rd (e) and /w r (w/r) signals, as shown in table 7.2-2. common 6800-series 8080-series a0 rw e /wr /rd description h h h display data read out h h h register status read l l h instruction write h l h display data write table 7.2-2 parallel data transfer
ST7637 ver 1.6 20/210 2009/03 figure 7.2-3 parallel data transfer example chart relation between data bus and gradation data ST7637 offers 256 color, 4096 color display, 65k colo r display, and truncated 262k color display, truncat ed 16m color display. when using 256 colors, 4096, 65k, 262k, and 16m color display; you can specify color for each o f r, g, and b using the palette function. use the command for swi tching between these modes. (1) 256 color input mode 1. 8-bit interface d7, d6, d5, d4, d3, d2, d1, d0: rrr ggg bb 1st -write there is only 1 write operation for 1 pixel data. 1 pixel data is written in the display data ram when 1st -write operation finishes. (2) 4096-color display (1-1) type a 4096 color display 1. 8-bit mode d7, d6, d5, d4, d3, d2, d1, d0: rrrr gggg 1st-write d7, d6, d5, d4, d3, d2, d1, d0: bbbb rrrr 2nd-write d7, d6, d5, d4, d3, d2, d1, d0: gggg bbbb 3rd-write
ST7637 ver 1.6 21/210 2009/03 there are 3 write operations for 2 pixel data. 1st pixel data is written in the display data ram wh en 2nd Cwrite operation finishes, and 2nd pixel dat a is written in the display data ram when 3rdCwrite operation finishes. 2. 16-bit mode d15, d14, d13, d12, d11, d10, d9, d8, d7, d6, d5, d 4, d3, d2, d1, d0: rrrr gggg bbbb xxxx 1st-write there is only 1 write operation for 1 pixel data. 1 pixel data is written in the display data ram when 1st Cwrite operation finishes. x are ignored dum my bits. (1-2) type b 4096 color display 1. 8-bit mode d7, d6, d5, d4, d3, d2, d1, d0: xxxx rrrr 1st-write d7, d6, d5, d4, d3, d2, d1, d0: gggg bbbb 2nd-write there are 2 write operations for 1 pixel data. 1st pixel data is written in the display data ram wh en 2nd Cwrite operation finishes. x are ignored d ummy bits. 2. 16-bit mode d15, d14, d13, d12, d11, d10, d9, d8, d7, d6, d5, d 4, d3, d2, d1, d0: xxxx rrrr gggg bbbb 1st-write there is only 1 write operation for 1 pixel data. 1 pixel data is written in the display data ram when 1st Cwrite operation finishes. x are ignored dum my bits. (3) 65k color input mode 1. 8-bit mode d7, d6, d5, d4, d3, d2, d1, d0: rrrrr ggg 1st-write d7, d6, d5, d4, d3, d2, d1, d0: ggg bbbbb 2nd-write there are 2 write operations for 1 pixel data. 1st pixel data is written in the display data ram wh en 2nd Cwrite operation finishes. 2. 16-bit mode d15, d14, d13, d12, d11, d10, d9, d8, d7, d6, d5, d 4, d3, d2, d1, d0: rrrrr gggggg bbbbb there is only 1 write operation for 1 pixel data. 1 pixel data is written in the display data ram when 1st Cwrite operation finishes. (4) truncated 262k color input mode 1. 8-bit mode d7, d6, d5, d4, d3, d2, d1, d0: rrrrrr xx 1st-write d7, d6, d5, d4, d3, d2, d1, d0: gggggg xx 2nd-write
ST7637 ver 1.6 22/210 2009/03 d7, d6, d5, d4, d3, d2, d1, d0: bbbbbb xx 3rd-write there are 3 write operations for 1 pixel data. 1st pixel data is written in the display data ram wh en 3rdCwrite operation finishes. x are ignored du mmy bits. 2. 16 bit mode d15, d14, d13, d12, d11, d10, d9, d8, d7, d6, d5, d 4, d3, d2, d1, d0: rrrrrr xx gggggg xx 1st-write d15, d14, d13, d12, d11, d10, d9, d8, d7, d6, d5, d 4, d3, d2, d1, d0: bbbbbb xxxxxxxxxxxx 2nd-write there are 2 write operations for 1 pixel data. 1st pixel data is written in the display data ram wh en 2nd Cwrite operation finishes. x are ignored d ummy bits. (5) truncated 16m color input mode 1. 8-bit mode d7, d6, d5, d4, d3, d2, d1, d0: rrrrrrrr 1st-write d7, d6, d5, d4, d3, d2, d1, d0: gggggggg 2nd-write d7, d6, d5, d4, d3, d2, d1, d0: bbbbbbbb 3rd-write there are 3 write operations for 1 pixel data. 1st pixel data is written in the display data ram wh en 3rdCwrite operation finishes. x are ignored du mmy bits. 2. 16 bit mode d15, d14, d13, d12, d11, d10, d9, d8, d7, d6, d5, d 4, d3, d2, d1, d0: rrrrrrrr gggggggg 1st-write d15, d14, d13, d12, d11, d10, d9, d8, d7, d6, d5, d 4, d3, d2, d1, d0: bbbbbbbb xxxxxxxx 2nd-write there are 2 write operations for 1 pixel data. 1st pixel data is written in the display data ram wh en 2nd Cwrite operation finishes. x are ignored d ummy bits. note: 7637 offer read ddram function only in 65k color mode .
ST7637 ver 1.6 23/210 2009/03 7.2.2. 8- and 9-bit serial interface the 8-bit serial interface uses four pins /cs, si, scl , and a0 to write in commands and data. meanwhile, t he 9-bit serial interface uses three pins /cs, si and scl for the same purpose. data read is not available in the serial interface. data must write to ic with 8 bits for each time. t he relation between gray-scale data and data bus in the serial input is the same as that in the 8-bit parallel interface m ode at every gradation. (1) 8-bit serial interface (4-line) when entering data (parameters): a0= high at the ris ing edge of the 8 th scl. when entering command: a0= low at the rising edge o f the 8 th scl when entering reading command: (2) 9-bit serial interface (3-line)
ST7637 ver 1.6 24/210 2009/03 when entering data (parameters): si= high at the ris ing edge of the 1 st scl. when entering command: si= low at the rising edge of the 1 st scl. when entering reading command:  if /cs is set to high while the 8 bits from d7 to d 0 are entered, the data concerned is invalidated. be fore entering succeeding sets of data, you must correctly input t he data concerned again.  in order to avoid data transfer error due to incom ing noise, it is recommended to set /cs at high on b yte basis to initialize the serial-to-parallel conversion counte r and the register.
ST7637 ver 1.6 25/210 2009/03 7.2.3. 8-bit and 9-bit serial interface data color coding 8-bit serial interface (4-line) (1) r 3-bit, g 3-bit, b 2-bit, 256 colors there is 1 pixel ( = 3 sub-pixels ) per byte. (2) r 4-bit, g 4-bit, b 4-bit, 4,096 colors type a there are 2 pixel ( = 3 sub-pixels ) per 3 byte.
ST7637 ver 1.6 26/210 2009/03 (3) r 4-bit, g 4-bit, b 4-bit, 4,096 colors type b there is 1 pixel ( = 3 sub-pixels ) per 2 bytes. (4) r 5-bit, g 6-bit, b 5-bit, 65,536 colors there is 1 pixel ( = 3 sub-pixels ) per 2 byte.
ST7637 ver 1.6 27/210 2009/03 (5) r 5-bit, g 6-bit, b 5-bit, 262,144 colors there is 1 pixel ( = 3 sub-pixels ) per 3 byte. (6) r 8-bit, g 8-bit, b 8-bit, 16m colors there is 1 pixel ( = 3 sub-pixels ) per 3 byte.
ST7637 ver 1.6 28/210 2009/03 9-bit serial interface (3-line) (1) r 3-bit, g 3-bit, b 2-bit, 256 colors there is 1 pixel ( = 3 sub-pixels ) per byte. (2) r 4-bit, g 4-bit, b 4-bit, 4,096 colors C type a there are 2 pixel ( = 3 sub-pixels ) per 3 byte. r2 r1 r0 g3 g2 g1 g0 r3 1 b3 b2 b1 b0 r3 r2 r1 r0 1 g3 g2 g2 g0 b3 1 b2 b1 b0 d7 d6 d5 d4 d3 d2 d1 d0 d7 d6 d5 d4 d3 d2 d1 d0 d7 d6 d5 d4 d3 d2 d1 d0 /cs si scl pixeln pixeln+1 lut(12bitto16bit) g1 r1 b3 g3 r3 b2 g2 r2 b1 frame memory note:r3,g3,b3arethemostsignificantbitsand r0,g0,b0aretheleast significantbits. thereare2pixel(=3subpixels)per3byte.
ST7637 ver 1.6 29/210 2009/03 (3) r 4-bit, g 4-bit, b 4-bit, 4,096 colors C type b there is 1 pixel ( = 3 sub-pixels ) per 2 bytes. (4) r 5-bit, g 6-bit, b 5-bit, 65,536 colors there is 1 pixel ( = 3 sub-pixels ) per 2 byte.
ST7637 ver 1.6 30/210 2009/03 (5) r 5-bit, g 6-bit, b 5-bit, 262,144 colors there is 1 pixel ( = 3 sub-pixels ) per 3 byte. (6) r 8-bit, g 8-bit, b 8-bit, 16m colors there is 1 pixel ( = 3 sub-pixels ) per 3 byte.
ST7637 ver 1.6 31/210 2009/03 7.3 access to ddram and internal registers ST7637 realizes high-speed data transfer because the access from mpu is a sort of pipeline processing do ne via the bus holder attached to the internal, requiring the cycl e time alone without needing the wait time. for example, when mpu writes data to the ddram, the d ata is once held by the bus holder and then written to the ddram before the succeeding write cycle is started. when mpu reads data from the ddram, the first read cycle is dummy and the bus holder holds the data read in the dummy cycle, and then it read from the bus holder to the system bus in the succeeding read cycle. figure 7.3-1 illustra tes these relations. in 80-series interface mode: n dummy d (n ) d (n +1) mpusignal a0 data internalsignals addresscounter /rd n d (n ) d (n +1) d (n +2) d (n +3) internallatch read operation /wr /wr /rd d (n ) d (n +1) d (n +2) figure 7.3-1
ST7637 ver 1.6 32/210 2009/03 7.4 display data ram (ddram) 7.4.1. ddram it is 132 x 132 x 16 bits capacity ram prepared for storing dot data. refer to the following memory map for the ram configuration. memory map rgb alignment data control command column 0 1 131 (madctr) mx=0 131 130 0 (madctr) mx=1 color r g b r g b r g b data page (madctr) my=0 (madctr) my=1 0 131 1 130 2 129 3 128 4 127 5 126 6 125 7 124 : : 124 7 125 6 126 5 127 4 128 3 129 2 130 1 131 0 segout 0 1 2 3 4 5 393 394 395 you can change position of r and b with madctr comman d.
ST7637 ver 1.6 33/210 2009/03 7.4.2. address control the address counter sets the addresses of the displ ay data ram for writing. data is written pixel into the ram matrix of ST7637. the data for one pixel or two pixels is collected (rgb 5-6-5-bit), according to the data formats. as soon as this pixel -data information is complete, the write access i s activated on the ram. the locations of ram are addressed by the addre ss pointers. the address ranges are x=0 to x=131 (8 3h) and y=0 to y=131 (83h). addresses outside these ranges are n ot allowed. before writing to the ram, a window must be defined i nto which will be written. the window is programmab le via the command registers xs, ys designating the start addres s and xe, ye designating the end address. for example the whole display contents will be writ ten, the window is defined by the following values: xs=0 (0h) ys=0 (0h) and xe=131 (83h), ye=131 (83h). in vertical addressing mode (mv=1), the y-address in crements after each byte, after the last y-address (y=ye), y wraps around to ys and x increments to address the next co lumn. in horizontal addressing mode (mv=0), the x-ad dress increments after each byte, after the last x-addres s (x=xe), x wraps around to xs and y increments to ad dress the next row. after the every last address (x=xe and y=ye) the address pointers wrap around to address (x=xs and y= ys). for flexibility in handling a wide variety of display a rchitectures, the commands caset, raset and madctr, d efine flags mv, mx and my, which allows mirroring of the x-addre ss and y-address. all combinations of flags are all owed. figure 7.4-1show the available combinations of writing to the display ram. when mx, my and mv will be changed the data must be rewritten to the display ram. for each image condition, the controls for the colu mn and row counters apply as below: condition column counter row counter when ramwr command is accepted return to start column (xs) return to start row (ys) complete pixel read / write action increment by 1 no change the column counter value is larger than end column ( xe) return to start column (xs) increment by 1 the column counter value is larger than end column ( xe) and the row counter value is larger than end row (ye) return to start column (xs) return to start row (ys)
ST7637 ver 1.6 34/210 2009/03 madctr parameter display data direction mv mx my image in the host (mpu) image in the driver (ddram) normal 0 0 0 y-mirror 0 0 1 x-mirror 0 1 0 x-mirror y-mirror 0 1 1 x-y exchange 1 0 0 x-y exchange y-mirror 1 0 1 x-y exchange x-mirror 1 1 0 x-y exchange x-mirror y-mirror 1 1 1 figure 7.4-1 frame data write direction according t o the madctr parameters (mv, mx and my)
ST7637 ver 1.6 35/210 2009/03 7.4.3. i/o buffer circuit it is the bi-directional buffer used when mpu reads or writes the ddram. since mpus read or write of ddram is performed independently from data output to the dis play data latch circuit, asynchronous access to the ddram when the lcd is turned on does not cause troubles such as fl icking of the display images. 7.4.4. scroll address circuit the circuit associates lines on ddram with com outp ut. ST7637 processes signals for the liquid crystal display on 1-line basis. thus, when specifying a specific area in the area scroll display or partial display, you must d esignate it in line. 7.4.5. display data latch circuit this circuit is used to temporarily hold display da ta to be output from the ddram to the seg decoder circ uit. since display normal/inverse and display on/off commands are used to control data in the latch circuit alone, they d o not modify data in the ddram.
ST7637 ver 1.6 36/210 2009/03 7.4.6. normal display on or partial mode on, verti cal scroll off in this mode, contents of the frame memory within a n area where column address is 00h to 83h and row a ddress is 00h to 83h is displayed. to display a dot on leftmost top corner, store the dot data at (column address, row address) = (0,0). example1) normal display on seg0 :: : seg4 seg3 seg2 seg1 seg131 seg130 seg129 seg128 : example2) partial display on: psl[6:0] = 04h, pel[6:0] = 80h, madctr (ml)=0 seg0 :: : seg4 seg3 seg2 seg1 seg131 seg130 seg129 seg128 :
ST7637 ver 1.6 37/210 2009/03 7.4.7. vertical scroll/rolling scroll 7.4.7.1. rolling scroll there is just one types of vertical scrolling, whic h are determined by the commands vertical scrolling definition (33h) and vertical scrolling start address (37h). figure 7.4-2 rolling scroll definition when vertical scrolling definition parameters (tfa+vsa+bfa) =132. in this case, rolling scrolling is applied as shown below. all the memory contents will be used. example1) panel size=132 x 132, tfa =3, vsa=127, bfa=2, ssa= 4, madctr ml=0: rolling scroll
ST7637 ver 1.6 38/210 2009/03 example2) panel size=132 x 132, tfa =3, vsa=127, bfa=2, ssa= 4, madctr ml=1: rolling scroll (tfa and bfa are exchanged) 7.4.7.2. vertical scroll example there are 2 types of vertical scrolling, which are determined by the commands vertical scrolling defin ition (33h) and vertical scrolling start address (37h). case 1: tfa + vsa + bfa<132 n/a. do not set tfa + vsa + bfa<132. in that case, unexpec ted picture will be shown. case 2: tfa + vsa + bfa=132 (rolling scrolling) example1) when madctr parameter ml=0, tfa=0, vsa=132, bfa=0 and vscsad=40. 1 2 1 1 2 1 2 2
ST7637 ver 1.6 39/210 2009/03 example2) when madctr parameter ml=1, tfa=10, vsa=122 , bfa=0 and vscsad=30. 1 1 2 1 2 3 3 1 3 2 3 2
ST7637 ver 1.6 40/210 2009/03 7.4.8. tearing effect output line the tearing effect output line supplies to the mpu a panel synchronization signal. this signal can be ena bled or disabled by the tearing effect line off & on commands. the sig nal can be used by the mpu to synchronize frame memo ry writing when displaying video images. 7.4.8.1. tearing effect line modes mode 1 , the tearing effect output signal consists of v-sync (tvhd) information. it starts at 124th line signal and ends at the 132th line signal. there is one high pulse duri ng each frame. mode 2 , the tearing effect output signal consists of both h-sync(thdh) and v-sync(tvdh) information. te pin outpu ts thdh pulse on each com scan signal. during 124th ~ 132th line signal, it output a high pulse which equ als: 1 thdh + 1 tvdh. note: during sleep in mode, the tearing effect output pin is active low.
ST7637 ver 1.6 41/210 2009/03 7.4.8.2. tearing effect line timing the tearing effect signal is described below: figure 7.4-3 ac characteristics of tearing effect sig nal idle mode off (frame rate = 77hz) symbol parameter min typ max unit description t vdl vertical timing low duration -- 11.4 -- ms t vdh vertical timing high duration 1 1.6 -- ms mode1 t hdl horizontal timing low duration - 92 -- us t hdh horizontal timing high duration 3 6 -- us mode2 note: the signals rise and fall times (tf, tr) are stipulated to be equal to or less than 15ns.
ST7637 ver 1.6 42/210 2009/03 example 1: mpu write is faster than panel read. data write to frame memory is now synchronized to t he panel scan. it should be written during the vertic al sync pulse of the tearing effect output line. this ensures that da ta is always written ahead of the panel scan and ea ch panel frame refresh has a complete new image:
ST7637 ver 1.6 43/210 2009/03 example 2: mpu write is slower than panel read. the mpu to frame memory write begins just after panel read has commenced i.e. after one horizontal sync pulse of the tearing effect output line. this allows time for the image to download behind the panel read pointer and finishing download during the subsequent frame before the rea d pointer catches the mpu to frame memory write po sition.
ST7637 ver 1.6 44/210 2009/03 7.5 gray-scale display ST7637 incorporates a 4frc & 31 pwm function circuit to display a 64 gray-scale display. 7.6 oscillation circuit ST7637 is built-in an oscillator circuit. it provide s internal clock without external resistor. this os cillator signal is used in the voltage converter and display timing generation cir cuit. 7.7 display timing generator circuit this circuit generates some signals to be used for displaying lcd. the display clock , which is genera ted by oscillation clock, generates the clock for the line counter and the signal for the display data latch. the line ad dress of on-chip ram is generated in synchronization with the display clock and the display data latch circuit latches the 132 -bits display data in synchronization with the display clock. the display data, which is read to the lcd driver, is complete ly independent of the access to the display data ram from the microproces sor. the display clock generates an lcd ac signal (m ), which enables the lcd driver to make an ac drive waveform, and also generates an internal common timing signa l and start signal to the common driver. the frame signal or th e line signal changes the m by setting internal ins truction. driving waveform and internal timing signal are shown in fi gure 7.7-1. figure 7.7-1 2-frame ac driving waveform (duty rati o: 1/132)
ST7637 ver 1.6 45/210 2009/03 figure 7.7-2 n-line inversion driving waveform (n=1 0, duty ratio=1/132)
ST7637 ver 1.6 46/210 2009/03 7.8 power level definition 7.8.1. power on/off sequence note: vddi=vdd, vdd1; vdda=vdd2, vdd3, vdd4, vdd5 during power off, if lcd is in the sleep out mode, vd da and vddi must be powered down minimum 120msec afte r /rst has been released. during power off, if lcd is in the sleep in mode, vdd i or vdda can be powered down minimum 0msec after /rst has been released. /cs can be applied at any timing or can be permanent ly grounded. /rst has priority over /cs. if /rst line is not held stable by host during power on sequence as defined in sections case1 and case2, t hen it will be necessary to apply a hardware reset (/rst) after hos t power on sequence is complete to ensure correct ope ration. otherwise function is not guaranteed. the power on/off sequence is illustrated below: case 1 C /rst line is held high or unstable by host at power on if /rst line is held high or unstable by the host du ring power on, then a hardware reset must be applied after both vdda and vddi have been applied C otherwise correct funct ionality is not guaranteed. there is no timing rest riction upon this hardware reset. note: unless otherwise specified, timings herein sh ow cross point at 50% of signal/power level. case 2 C /rst line is held low by host at power on if /rst line is held low (and stable) by the host du ring power on, then the /rst must be held low for mi nimum 10 sec after both vdda and vddi have been applied.
ST7637 ver 1.6 47/210 2009/03 note: unless otherwise specified, timings herein sh ow cross point at 50% of signal/power level.
ST7637 ver 1.6 48/210 2009/03 7.8.2. power levels 6 level modes are defined they are in order of maxi mum power consumption to minimum power consumption: 1. normal mode on (full display), idle mode off, sl eep out: in this mode, the display is able to show maximum 6 5k colors. 2. partial mode on, idle mode off, sleep out: in this mode part of the display is used with maxim um 65k colors. 3. normal mode on (full display), idle mode on, sle ep out: in this mode, the full display area is used but wit h 8 colors. 4. partial mode on, idle mode on, sleep out: in this mode, part of the display is used but with 8 colors. 5. sleep in mode: in this mode, the dc:dc converter, internal oscilla tor and panel driver circuit are stopped. only the mcu interface and memory works with digital vdd power s upply. contents of the memory are safe. 6. power off mode: in this mode, both analog vdd and digital vddi are removed. note: transition between modes 1-5 is controllable by mcu commands. mode 6 is entered only when both power supplies are removed.
ST7637 ver 1.6 49/210 2009/03 power flow chart for different power modes poweronsequence hwreset swreset sleepin normaldisplaymodeon idlemodeoff sleepin normaldisplaymodeon idlemodeon sleepin partialmodeon idlemodeoff sleepin partialmodeon idlemodeon sleepout normaldisplaymodeon idlemodeoff sleepout normaldisplaymodeon idlemodeon sleepout partialmodeon idlemodeoff sleepout partialmodeon idlemodeon normaldisplaymodeon=noron partialmodeon=ptlon idlemodeoff=idmoff idlemodeon=idmon sleepout=slpout sleepin=slpin noron ptlon slpin slpout slpin slpout slpin slpout slpin slpout ptlon noron noron ptlon ptlon noron idmon idmoff idmon idmoff idmon idmoff idmon idmoff sleepout sleepin note 1: there is not any abnormal visual effect when ther e is changing from one power mode to another power mo de.
ST7637 ver 1.6 50/210 2009/03 7.9 color depth conversion look up table look up table input color 256 color data 8-bit/pixel 4k color data 12-bit/pixel look up table outputs (16-bit/pixel) frame memory data (5 or 6-bit) default value rgbset parameter 0 00 0000 r 00 4 r 00 3 r 00 2 r 00 1 r 00 0 0000 0 1 001 0001 r 01 4 r 01 3 r 01 2 r 01 1 r 01 0 0001 0 2 010 0010 r 02 4 r 02 3 r 02 2 r 02 1 r 02 0 0010 0 3 011 0011 r 03 4 r 03 3 r 03 2 r 03 1 r 03 0 0011 0 4 100 0100 r 04 4 r 04 3 r 04 2 r 04 1 r 04 0 0100 0 5 101 0101 r 05 4 r 05 3 r 05 2 r 05 1 r 0 5 0 0101 0 6 110 0110 r 06 4 r 06 3 r 06 2 r 06 1 r 06 0 0110 0 7 111 0111 r 07 4 r 07 3 r 07 2 r 07 1 r 07 0 0111 0 8 1000 r 08 4 r 08 3 r 08 2 r 08 1 r 08 0 1000 0 9 1001 r 09 4 r 09 3 r 09 2 r 09 1 r 09 0 1001 0 10 1010 r 10 4 r 10 3 r 10 2 r 10 1 r 10 0 1010 0 11 1011 r 11 4 r 1 1 3 r 11 2 r 11 1 r 11 0 1011 0 12 1100 r 12 4 r 12 3 r 12 2 r 12 1 r 12 0 1100 0 13 1101 r 13 4 r 13 3 r 13 2 r 13 1 r 13 0 1101 0 14 1110 r 14 4 r 14 3 r 14 2 r 14 1 r 14 0 1110 0 15 red dummy input 1111 r 15 4 r 15 3 r 15 2 r 15 1 r 15 0 1111 1 16 000 0000 g 00 5 g 00 4 g 00 3 g 00 2 g 00 1 g 00 0 0000 00 17 001 0001 g 01 5 g 01 4 g 01 3 g 01 2 g 01 1 g 01 0 0001 00 18 010 0010 g 02 5 g 02 4 g 02 3 g 02 2 g 02 1 g 02 0 0010 00 19 011 0011 g 03 5 g 03 4 g 03 3 g 03 2 g 03 1 g 03 0 0011 00 20 100 0100 g 04 5 g 04 4 g 04 3 g 04 2 g 04 1 g 04 0 0100 00 21 101 0101 g 05 5 g 05 4 g 05 3 g 05 2 g 05 1 g 05 0 0101 00 22 110 0110 g 06 5 g 06 4 g 06 3 g 06 2 g 06 1 g 06 0 0110 00 23 111 0111 g 07 5 g 07 4 g 07 3 g 07 2 g 07 1 g 07 0 0111 00 24 1000 g 08 5 g 08 4 g 08 3 g 08 2 g 08 1 g 08 0 1000 00 25 1001 g 09 5 g 09 4 g 09 3 g 09 2 g 09 1 g 09 0 1001 00 26 1010 g 10 5 g 10 4 g10 3 g10 2 g10 1 g10 0 1010 00 27 1011 g 11 5 g 11 4 g11 3 g11 2 g11 1 g11 0 1011 00 28 1100 g 12 5 g 12 4 g12 3 g12 2 g12 1 g12 0 1100 00 29 1101 g 13 5 g 13 4 g13 3 g13 2 g13 1 g13 0 1101 00 30 1110 g 14 5 g 14 4 g14 3 g14 2 g14 1 g14 0 1110 00 31 green dummy input 1111 g 15 5 g 15 4 g15 3 g15 2 g15 1 g15 0 1111 11 32 00 0000 b 0 0 4 b00 3 b00 2 b00 1 b00 0 0000 0 33 01 0001 b 01 4 b01 3 b01 2 b01 1 b01 0 0001 0 34 10 0010 b 02 4 b02 3 b02 2 b02 1 b02 0 0010 0 35 11 0011 b 03 4 b03 3 b03 2 b03 1 b03 0 0011 0 36 0100 b 04 4 b04 3 b04 2 b04 1 b04 0 0100 0 37 0101 b 05 4 b05 3 b05 2 b05 1 b05 0 0 101 0 38 0110 b 06 4 b06 3 b06 2 b06 1 b06 0 0110 0 39 0111 b 07 4 b07 3 b07 2 b07 1 b07 0 0111 0 40 1000 b 08 4 b08 3 b08 2 b08 1 b08 0 1000 0 41 1001 b 09 4 b09 3 b09 2 b09 1 b09 0 1001 0 42 1010 b 10 4 b10 3 b10 2 b10 1 b10 0 1010 0 43 1011 b 11 4 b11 3 b11 2 b11 1 b11 0 1011 0 44 1100 b 12 4 b12 3 b12 2 b12 1 b12 0 1100 0 45 1101 b 13 4 b13 3 b13 2 b13 1 b13 0 1101 0 46 1110 b 14 4 b14 3 b14 2 b14 1 b14 0 1110 0 47 blue dummy input 1111 b 15 4 b15 3 b15 2 b15 1 b15 0 1111 1 48
ST7637 ver 1.6 51/210 2009/03 7.10 liquid crystal driver power circuit the power supply circuits generate the voltage levels necessary to drive liquid crystal driver circuits with low power consumption and the fewest components. there are vo ltage converter circuits, voltage regulator circuit s, and voltage follower circuits. they are controlled by power con trol instruction. for details, refers to "instructi on description". figure 7.10-1 shows the referenced combinations in using p ower supply circuits. booster2 (x2) booster1 (x8) booster3 (x8) v0 vg xv0 vss2 1.0uf/25v nonpolar 1.0uf/16v nonpolar icinternal icexternal vss2 vdd2 reserved resistor (1m /defaultnc.) figure 7.10-1 dc/dc booster block diagram 7.10.1. voltage regulator circuits there is a built-in voltage regulator circuits in st 7637 for generating v0. after internal voltage is r egulated by voltage regulator circuit, v0 is generated. detail explanat ion of v0 set is listed below: 7.10.1.1. set v0 (temperatue = 24 ) v0= a +{ vop[8:0] + vop-offset[8:0] +( ev[6:0] -3fh)}x b (v) example: vop[8:0]=011010010 vop[8:0]=000000000 ev[6:0]=0111111 v0=3.6 + { 210 + 0 + (63-63) } x 0.04 =12 (v)  a is a fixed constant value (see table 7.10-2).  b is a fixed constant value (see table 7.10-2).  vop [8:0] is the programmed vop value. the programmi ng range for vop[8:0] is 0 to 410 (19ahex).  the range of contrast is 128 steps for fine tuning vop. symbol value unit a 3.6 v b 0.04 v table 7.10-2
ST7637 ver 1.6 52/210 2009/03 the vop [8:0] value must be in the v0 programming ran ge as given in figure 7.10-3. evaluating v0 equation, values outside the programming range indicated in many res ult. v0 range equals from 3.6v to 18v (v0=3.6+{vop[8:0]+vop-offset[8:0]+(ev[6:0]-3fh)}x0.04) . 00 01 02 03 04 05 06 ..... 410 dec b = 0.04v 3.6+0.04x4= 3.76v v0 programming range(00hex to19ahex) vop [8:0] programming, (00 hex to 19a hex ) a = 3.6v figure 7.10-3 v0 programming range as the programming range for the internally generate d v0 voltage is above the limited v0 (18v), users has to ensure while selecting the temperature compensation that u nder all conditions and including all tolerances th at the v0 voltage remains below 18v.
ST7637 ver 1.6 53/210 2009/03 7.10.1.2. set v0 with temperature compansation (tem peratue 24 ) there are 16-line slope in each temperature steps a nd customer can select one line slope of temperatur e compensation coefficiency for each temperature step . each temperature step is 8 o c. please see figure 7.10-4 as below. figure 7.10-4 in command tempsel (see section 9.1.72) each mtx, wher e x=0, 1, 2,, e, f, has a value between 0 and 15. m tx = 0 results in 0v increment on v0, mtx = 1 results in mx=5mv increment, , mtx = 15 results in mx=15x5mv=7 5mv increment. note that each mtx individually correspo nds to a temperature interval; the relations betwee n mx and v0 quantity due to temperature v0(t) are described in the equations shown as follows: temperature range equation v0(v) at temperature= t -40 t -32 v0(t) = v0(t 24 )+ (-32-t) ? m0 +( m1 + m2 + m3 + m4 + m5 + m6 + m7) ? 8 -32 t -24 v0(t) = v0(t 24 )+ (-24-t) ? m1 +( m2 + m3 + m4 + m5 + m6 + m7) ? 8 -24 t -16 v0(t) = v0(t 24 )+ (-16-t) ? m2 +( m3 + m4 + m5 + m6 + m7) ? 8 -16 t -8 v0(t) = v0(t 24 )+ (-8-t) ? m3 +( m4 + m5 + m6 + m7) ? 8 -8 t 0 v0(t) = v0(t 24 )+ (0-t) ? m4 +( m5 + m6 + m7) ? 8 0 t 8 v0(t) = v0(t 24 )+ (8-t) ? m5 +( m6 + m7) ? 8 8 t 16 v0(t) = v0(t 24 )+ (16-t) ? m6 + m7 ? 8 16 t 24 v0(t) = v0(t 24 )+ (24-t) ? m7 24 t 32 v0(t) = v0(t 24 ) (t-24) ? m8 32 t 40 v0(t) = v0(t 24 ) (t-32) ? m9 m8 ? 8 40 t 48 v0(t) = v0(t 24 ) (t-40) ? m10 (m9 + m8 ) ? 8 48 t 56 v0(t) = v0(t 24 ) (t-48) ? m11 (m10 + m9 + m8 ) ? 8 56 t 64 v0(t) = v0(t 24 ) (t-56) ? m12 (m11 + m10 + m9 + m8 ) ? 8 64 t 72 v0(t) = v0(t 24 ) (t-64) ? m13 (m12 + m11 + m10 + m9 + m8 ) ? 8 72 t 80 v0(t) = v0(t 24 ) (t-72) ? m14 (m13 + m12 + m11 + m10 + m9 + m8 ) ? 8 80 t 88 v0(t) = v0(t 24 ) (t-80) ? m15 ( m14 + m13 + m12 + m11 + m10 + m9 + m8 ) ? 8
ST7637 ver 1.6 54/210 2009/03 note: please make sure to avoid any kind of heating sourc e closing to ST7637 such as back light, to prevent vop is not anticipative because of temperature comp ensate circuit worked.
ST7637 ver 1.6 55/210 2009/03 setting example for default tc curve command 0xf4 data 1 st : 0xff 2 nd : 0x36 3 rd : 0x04 4 th : 0x00 5 th : 0x33 6 th : 0x42 7 th : 0xc4 8 th : 0x59 bias=1/9, vop=14v, default tc 0 2 4 6 8 10 12 14 16 18 -30 -20 -10 0 10 20 30 40 50 60 70 80 temperature vop (v) default tc
ST7637 ver 1.6 56/210 2009/03 setting example for tc curve=-0.06%/ command 0xf4 data 1 st : 0x33 2 nd : 0x33 3 rd : 0x33 4 th : 0x33 5 th : 0x33 6 th : 0x33 7 th : 0x33 8 th : 0x33 bias=1/9, vop=14, tc=-0.06%/ 0 2 4 6 8 10 12 14 16 18 -30 -20 -10 0 10 20 30 40 50 60 70 80 temperature vop (v) -0.06%
ST7637 ver 1.6 57/210 2009/03 setting example for tc curve=-0.09%/ command 0xf4 data 1 st : 0x44 2 nd : 0x44 3 rd : 0x44 4 th : 0x44 5 th : 0x44 6 th : 0x44 7 th : 0x44 8 th : 0x44 bias=1/9, vop=14, tc=-0.09%/ 0 2 4 6 8 10 12 14 16 -30 -20 -10 0 10 20 30 40 50 60 70 80 temperature vop -0.09%
ST7637 ver 1.6 58/210 2009/03 setting example for tc curve=-0.15%/ command 0xf4 data 1 st : 0x55 2 nd : 0x55 3 rd : 0x55 4 th : 0x55 5 th : 0x55 6 th : 0x55 7 th : 0x55 8 th : 0x55 bias=1/9, vop=14v,tc=-0.15% 0 2 4 6 8 10 12 14 16 -30 -20 -10 0 10 20 30 40 50 60 70 80 temperature vop (v) tc=-0.15%
ST7637 ver 1.6 59/210 2009/03 7.10.1.3. v0 fine tuning ST7637 has 2 commands for fine tuning v0. these com mands are vopofsetinc (see section 9.1.47) and vopofsetdec (see section 9.1.48). when writing vopo fsetinc into ic for each time, v0 would increase 40 mv; when writing vopofsetdec into ic for each time, v0 would decreas e 40mv. example: vop[8:0]=011010010 ev[6:0]=0111111 vopofsetinc x2 v0=3.6 + { 210 + (63-63) } x 0.04 + 0.04x2 =12.08 (v) 7.10.2. voltage follower circuits there is a build-in voltage follower circuits in st 7637 for generating vg and vm. these voltages are d ecided by bias ratio selection circuitry which is set by users wit h software to control 1/5 to 1/12 bias ratios to ma tch the optimum display performance of lcd panel. bias driving rule is list ed below: lcd bias vg vm 1/n bias (2/n) x v0 (1/n) x v0 n=5 to 12 7.10.3. otp setting flow ST7637 provides the write and read function to writ e the electronic control value and built-in resista nce ratio into built-in otp, and then read them from it . using the write and read functions, you can store these values appropriate to each lcd panel. this function is very convenient for user in setting from some d ifferent panels voltage. but using this function must atten tion the setting procedure. please see the followin g diagram. figure 7.10-5 v0 value control for different module s by loading vop offset note1: this setting flow is used for lcm assembler. note2: otp shouldnt be written without preceding l oading correctly from otp in order to avoid some er rors during ic operation.
ST7637 ver 1.6 60/210 2009/03 note3: when writing value to otp, the voltage of vp p must be more than 7.5v (7.5v~7.75v); the current of ivpp must be more than 4 ma. note4: if the otp is exposed to a high temperature for hours, data in the memory cell may probably be lost before the data retention guarantee period. to reta in data in the memory cell, keep the memory cell be low 90 . the data retention guarantee period is specified including the retention period. 7.11 frquency temperature gradient compensation coe fficient ST7637 will auto-switch frame rate on different tempe ra ture such as figure 7.11-1. ta,tb and tc are frame rate switching temperatures which can be defined by custom er with command tmprng(see section 9.1.70). fa, fb, f c and fd are switched frame rate which also can be defi ned by customer with command frmsel (see section 9.1. 65). the frame rate range is from 37.5hz to 170hz. when the temperature is in increasing state, frame rate changes to the higher step at ta/tb/tc+th( ). when the temperature is in decreasing state, frame rate changes to the lower step at ta/tb/tc. for example: t c=10 and th=5 , fc switches to fd at 15 but fd switches to fc at 10 . please take figure 7.11-1 for reference. figure 7.11-1
ST7637 ver 1.6 61/210 2009/03 7.11.1. lcm glass detection (function reserved) sleep out-command is a trigger for an internal func tion of the display module, which indicates, if the display glass of the display module is broken or no t. this feature uses bit-4 (d4) in the parameter of co mmand read display self-diagnostic result (0fh) (=rddsdr) as the indicator. if this display glass i s broken, this bit (d4) is set to 0. the following figure is a reference of how this gla ss break detection can be implemented. for example, there is connected together 2 bumps (detgbi and det gbo) via route of ito. this route of ito is the nea rest route of the edge of the display glass. detgbo detgbi display area
ST7637 ver 1.6 62/210 2009/03 8. reset circuit the registers that are initialized are listed below . item after power on after s oft ware reset after h ard ware reset frame memory (ram data) random no change no change rddid tbd tbd tbd rddpm 08h 08h 08h rddmadctr 00h no change 0 0h rddcolmod 0 5 h (1 6 - bit/pixel) no change 0 5 h (1 6 - bit/pixel) rddim 00h 00h 00h rddsm 00h 00h 00h rddsdr 00h 00h 00h sleep in/out in in in display mode (normal/partial) normal normal normal display inversion on/off off off off all pixel off mode di sable disable disable all pixel on mode disable disable disable contrast (ev) 3fh 3fh 3fh display on/off display off display off display off column: start address (xs) 00h 00h 00h column: end address (xe) 83h 83h (when mv=0) 83h (when mv=1) 83h row: start address (ys) 00h 00h 00h row: end address (ye) 83h 83h (when mv=0) 83h (when mv=1) 83h color set random contents of the look-up table protected random partial: start address (ps) 00h 00h 00h partial: end address (pe) 83h 83h 83h scrol l: top fixed area (tfa) 00h 00h 00h scroll: scroll area (vsa) 8 4 h 8 4 h 8 4 h scroll: bottom fixed area (bfa) 00h 00h 00h te on/off off off off te mode 0 (mode1) 0 (mode1) 0 (mode1) memory data access control my/mx/mv/ml/rgb) 0/0/0/0/0 no change 0/0/0/0/0 scroll start address (ssa) 00h 00h 00h idle mode on/off off off off interface color pixel format (p) 0 5 h (1 6 bit/pixel) no change 0 5 h (1 6 bit/pixel) id1 s et by customer s et by customer s et by customer id2 s et by customer s et by customer s et by customer id3 s et by customer s et by customer s et by customer drive duty 83 h 83 h 83 h first common 00h 00h 00h fosc divider no division no division no division
ST7637 ver 1.6 63/210 2009/03 item after power on after software reset after hardware reset vop 0d2h 0d2h 0d2h vop offset incre ase/decrease disable disable disable bias 1/ 9 bias 1/ 9 bias 1/ 9 bias booster setting 8 x 8 x 8 x booster efficiency 01 01 01 vg source from 2 vdd2 from 2 vdd2 from 2 vdd2 epctin 0 0 0 otp selection disable disable disable frame frequency in normal color (fa/fb/fc/fd) 46hz/61.5hz/72hz/77hz 46hz/61.5hz/72hz/77hz 46hz/61 .5hz/72hz/77hz frame frequency in 8-color (idle) (f8a/f8b/f8c/f8d) 46hz/61.5hz/72hz/77hz 46hz/61.5hz/72hz/77hz 46hz/61 .5hz/72hz/77hz temperature range (ta/tb/tc) -10 /0 /10 -10 /0 /10 -10 /0 /10 temperature hysteresis (th) 6 6 6 tempsel r efer to 9.1.72 r efer to 9.1.72 r efer to 9.1.72
ST7637 ver 1.6 64/210 2009/03 9. instructions 9.1 instruction table command table-1 , /ext= h , l, or floating hex command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 function ref (00h) nop 0 1 0 0 0 0 0 0 0 0 0 no operation 9.1.1 (01h) swreset 0 1 0 0 0 0 0 0 0 0 1 software reset 9.1.2 (04h) rddid 0 1 0 0 0 0 0 0 1 0 0 read display id 9.1.3 - 1 0 1 - - - - - - - - dummy read - 1 0 1 id17 id16 id15 id14 id13 id12 id11 id10 id1 read (d23-d16) - 1 0 1 1 id26 id25 id24 id23 id22 id21 id20 id2 read (d15-d8) - 1 0 1 id37 id36 id35 id34 id33 id32 id31 id30 id3 read (d7-d0) (09h) rddst 0 1 0 0 0 0 0 1 0 0 1 read display status 9.1.4 - 1 0 1 - - - - - - - - dummy read - 1 0 1 st31 st30 st29 st28 st27 st26 st25 st24 (d31-d24) - 1 0 1 st23 st22 st21 st20 st19 st18 st17 st16 (d23-d16) - 1 0 1 st15 st14 st13 st12 st11 st10 st9 st8 (d15-d8) - 1 0 1 st7 st6 st5 st4 st3 st2 st1 st0 (d7-d0) (0ah) rddpm 0 1 0 0 0 0 0 1 0 1 0 read display power mode 9.1.5 - 1 0 1 - - - - - - - - dummy read - 1 0 1 d7 d6 d5 d4 d3 d2 0 0 - (0bh) rddmadctr 0 1 0 0 0 0 0 1 0 1 1 read display madctr 9.1.6 - 1 0 1 - - - - - - - - dummy read - 1 0 1 d7 d6 d5 d4 d3 0 0 0 - (0ch) rddcolmod 0 1 0 0 0 0 0 1 1 0 0 read display pixel format 9.1.7 - 1 0 1 - - - - - - - - dummy read - 1 0 1 0 0 0 0 0 d2 d1 d0 - (0dh) rddim 0 1 0 0 0 0 0 1 1 0 1 read display image mode 9.1.8 - 1 0 1 - - - - - - - - dummy read - 1 0 1 d7 0 d5 d4 d3 0 0 0 - (0eh) rddsm 0 1 0 0 0 0 0 1 1 1 0 read display image mode 9.1.9 - 1 0 1 - - - - - - - - dummy read - 1 0 1 d7 d6 0 0 0 0 0 0 - (0fh) rddsdr 0 1 0 0 0 0 0 1 1 1 1 read display self-diagnostic result 9.1.10 - 1 0 1 - - - - - - - - dummy read 1 0 1 1 1 1 d4 0 0 0 0 -
ST7637 ver 1.6 65/210 2009/03 (10h) slpin 0 1 0 0 0 0 1 0 0 0 0 sleep in & booster off 9.1.11 (11h) slpout 0 1 0 0 0 0 1 0 0 0 1 sleep out & booster on 9.1.12 (12h) ptlon 0 1 0 0 0 0 1 0 0 1 0 partial mode on 9.1.13 (13h) noron 0 1 0 0 0 0 1 0 0 1 1 partial off (normal) 9.1.14 (20h) invoff 0 1 0 0 0 1 0 0 0 0 0 display inversion off (normal) 9.1.15 (21h) invon 0 1 0 0 0 1 0 0 0 0 1 display inversion on 9.1.16 (22h) apoff 0 1 0 0 0 1 0 0 0 1 0 all pixel off (only for test purpose) 9.1.17 (23h) apon 0 1 0 0 0 1 0 0 0 1 1 all pixel on (only for test purpose) 9.1.18 (25h) wrcntr 0 1 0 0 0 1 0 0 1 0 1 write contrast 9.1.19 - 1 1 0 0 ev6 ev5 ev4 ev3 ev2 ev1 ev0 ev = 0 to 127 (28h) dispoff 0 1 0 0 0 1 0 1 0 0 0 display off 9.1.20 (29h) dispon 0 1 0 0 0 1 0 1 0 0 1 display on 9.1.21 (2ah) caset 0 1 0 0 0 1 0 1 0 1 0 column address set 9.1.22 1 1 0 xs7 xs6 xs5 xs4 xs3 xs2 xs1 xs0 x_adr start: 0 xs 83h 1 1 0 xe7 xe6 xe5 xe4 xe3 xe2 xe1 xe0 x_adr end: xs xe 83h (2bh) raset 0 1 0 0 0 1 0 1 0 1 1 row address set 9.1.23 1 1 0 ys7 ys6 ys5 ys4 ys3 ys2 ys1 ys0 y_adr start: 0 ys 83h 1 1 0 ye7 ye6 ye5 ye4 ye3 ye2 ye1 ye0 y_adr end: ys ye 83h (2ch) ramwr 0 1 0 0 0 1 0 1 1 0 0 memory write 9.1.24 1 1 0 d7 d6 d5 d4 d3 d2 d1 d0 write data (2dh) rgbset 0 1 0 0 0 1 0 1 1 0 1 color set for 256 or 4k color display 9.1.25 - 1 1 0 - - - r4 r3 r2 r1 r0 red tone (00000) - 1 1 0 : : : : : : : : : - - 1 1 0 - - - r4 r3 r2 r1 r0 red tone (11111) - 1 1 0 - - g5 g4 g3 g2 g1 g0 green tone (000000) 1 1 0 : : : : : : : : : - 1 1 0 - - g5 g4 g3 g2 g1 g0 green tone (111111) 1 1 0 - - - b4 b3 b2 b1 b0 blue tone (00000) 1 1 0 : : : : : : : : : - 1 1 0 - - - b4 b3 b2 b1 b0 blue tone (11111) (2eh) ramrd 0 1 0 0 0 1 0 1 1 1 0 memory read 9.1.26 1 1 0 - - - - - - - - dummy read 1 1 0 d7 d6 d5 d4 d3 d2 d1 d0 (30h) ptlar 0 1 0 0 0 1 1 0 0 0 0 partial start/end address set 9.1.27
ST7637 ver 1.6 66/210 2009/03 - 1 1 0 ps7 ps6 ps5 ps4 ps3 ps2 ps1 ps0 start address (0~131) - 1 1 0 pe7 pe6 pe5 pe4 pe3 pe2 pe1 pe0 end address (0~131) (33h) scrlar 0 1 0 0 0 1 1 0 0 1 1 scroll area 9.1.28 - 1 1 0 tfa7 tfa6 tfa5 tfa4 tfa3 tfa2 tfa1 tfa0 tfa=0~132 - 1 1 0 vsa7 vsa6 vsa5 vsa4 vsa3 vsa2 vsa1 vsa0 vsa=0~132 - 1 1 0 bfa7 bfa6 bfa5 bfa4 bfa3 bfa2 bfa1 bfa0 bfa=0~132 (34h) teoff 0 1 0 0 0 1 1 0 1 0 0 tearing effect line off 9.1.29 (35h) teon 0 1 0 0 0 1 1 0 1 0 1 tearing effect mode set & on 9.1.30 - 1 1 0 - - - - - - - m 0: mode1, 1: mode2 (36h) madctr 0 1 0 0 0 1 1 0 1 1 0 memory data access control 9.1.31 - 1 1 0 my mx mv ml rgb - - - - (37h) vscsad 0 1 0 0 0 1 1 0 1 1 1 scroll start address of ram 9.1.32 1 1 0 ssa7 ssa6 ssa5 ssa4 ssa3 ssa2 ssa1 ssa0 ssa = 0~131 (38h) idmoff 0 1 0 0 0 1 1 1 0 0 0 idle mode off 9.1.33 (39h) idmon 0 1 0 0 0 1 1 1 0 0 1 idle mode on 9.1.34 (3ah) colmod 0 1 0 0 0 1 1 1 0 1 0 interface pixel format 9.1.35 - 1 1 0 - - - - - p2 p1 p0 interface format (dah) rdid1 0 1 0 1 1 0 1 1 0 1 0 read id1 9.1.36 - 1 0 1 - - - - - - - - dummy read - 1 0 1 id17 id16 id15 id14 id13 id12 id11 id10 (d7-d0) (dbh) rdid2 0 1 0 1 1 0 1 1 0 1 1 read id2 9.1.37 - 1 0 1 - - - - - - - - dummy read - 1 0 1 id27 id26 id25 id24 id23 id22 id21 id20 (d7-d0) (dch) rdid3 0 1 0 1 1 0 1 1 1 0 0 read id3 9.1.38 - 1 0 1 - - - - - - - - dummy read - 1 0 1 id37 id36 id35 id34 id33 id32 id31 id30 (d7-d0) note 1: when /ext connects to h or floating, command s which are not defined in command table-1 are tr eated as nop (00h) command. note 2: commands 10h, 12h, 13h, 20h, 21h, 25h, 28h, 29h, 30h, 36h (bit ml only), 38h and 39h are updat ed during v-sync when module is in sleep out mode to avoid abno rmal visual effects. during sleep in mode, these commands are updated im mediately. read status (09h), read display power mode (0ah), rea d display madctr (0bh), read display pixel format (0ch ), read display image mode (0dh), read display signal m ode (0eh) and read display self diagnostic result (0f h) of these commands is updated immediately both in sleep in mode and sleep out mode.
ST7637 ver 1.6 67/210 2009/03 command table-2 , /ext= l or command d7h[7] enable hex command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 function ref (b0h) dutyset 0 1 0 1 0 1 1 0 0 0 0 display duty setting 9.1.39 1 1 0 du7 du6 du5 du4 du3 du2 du1 du0 (b1h) firstcom 0 1 0 1 0 1 1 0 0 0 1 first com. page address 9.1.40 1 1 0 -- f6 f5 f4 f3 f2 f1 f0 (b3h) oscdiv 0 1 0 1 0 1 1 0 0 1 1 fosc divider 9.1.41 1 1 0 - - - - - - cld1 cld0 (b5h) nlinvset 0 1 0 1 0 1 1 0 1 0 1 n-line control 9.1.42 1 1 0 m n6 n5 n4 n3 n2 n1 n0 (b7h) comscandir 0 1 0 1 0 1 1 0 1 1 1 com/seg scan direction for glass layout 9.1.43 1 1 0 0 smx 0 0 sbgr 0 - - (b8h) rmwin 0 1 0 1 0 1 1 1 0 0 0 read modify write control in 9.1.44 (b9h) rmwout 0 1 0 1 0 1 1 1 0 0 1 read modify write control out 9.1.45 (c0h) vopset 0 1 0 1 1 0 0 0 0 0 0 vop setting 9.1.46 1 1 0 vop7 vop6 vop5 vop4 vop3 vop2 vop1 vop0 1 1 0 - - - - - - - vop8 (c1h) vopofsetinc 0 1 0 1 1 0 0 0 0 0 1 +40mv/setp 9.1.47 (c2h) vopofsetdec 0 1 0 1 1 0 0 0 0 1 0 -40mv/setp 9.1.48 (c3h) biassel 0 1 0 1 1 0 0 0 0 1 1 bias selection 9.1.4 9 1 1 0 - - - - - bias2 bias1 bias0 (c4h) bstbmpxsel 0 1 0 1 1 0 0 0 1 0 0 booster setting 9.1.50 1 1 0 - - - - - bst2 bst 1 bst0 (c5h) bsteffsel 0 1 0 1 1 0 0 0 1 0 1 booster efficiency selection 9.1.51 1 1 0 - - - - - - btf1 btf0 (c7h) vopoffset 0 1 0 1 1 0 0 0 1 1 1 9.1.52 1 1 0 vos7 vos6 vos5 vos4 vos3 vos2 vos1 vos0 1 1 0 - - - - - - - vos8 (cbh) vgsorcsel 0 1 0 1 1 0 0 1 0 1 1 fv3 with booster x2 control 9.1.53 1 1 0 - - - - - - - 2bt0 (cch) id1set 0 1 0 1 1 0 0 1 1 0 0 id1 setting 9.1.54 1 1 0 id1_7 id1_6 id1_5 id1_4 id1_3 id1_2 id1_1 id1_0 (cdh) id2set 0 1 0 1 1 0 0 1 1 0 1 id2 setting 9.1.55
ST7637 ver 1.6 68/210 2009/03 1 1 0 1 id2_6 id2_5 id2_4 id2_3 id2_2 id2_1 id2_0 (ceh) id3set 0 1 0 1 1 0 0 1 1 1 0 id3 setting 9.1.56 1 1 0 id3_7 id3_6 id3_5 id3_4 id3_3 id3_2 id3_1 id3_0 (d0h) anaset 0 1 0 1 1 0 1 0 0 0 0 analog circuit setting 9.1.57 1 1 0 0 0 0 1 1 1 0 1 (d7h) autoloadset 0 1 0 1 1 0 1 0 1 1 1 mask rom data auto re-load control 9.1.58 1 1 0 exte otpbe - ard 1 1 1 1 (deh) rdtststatus 0 1 0 1 1 0 1 1 1 1 0 read ic status 9.1.59 1 0 1 - - - - - - - - dummy read (e0h) epctin 0 1 0 1 1 1 0 0 0 0 0 control otp wr/rd 9.1.60 1 1 0 0 0 wr /xrd 0 0 0 0 0 (e1h) epctout 0 1 0 1 1 1 0 0 0 0 1 otp control cancel 9.1.61 (e2h) epmwr 0 1 0 1 1 1 0 0 0 1 0 write to otp 9.1.62 (e3h) epmrd 0 1 0 1 1 1 0 0 0 1 1 read from otp 9.1.63 (e4h) otpsel 0 1 0 1 1 1 0 0 1 0 0 select otp 9.1.64 1 1 0 ms1 ms0 0 1 1 0 0 0 (e5h) romset 0 1 0 1 1 1 0 0 1 0 1 programmable rom setting 9.1.65 1 1 0 0 0 0 0 1 1 0 0 (e7h) 0 1 0 1 1 1 0 0 1 1 1 low voltage mode setting 9.1.66 1 1 0 0 0 1 0 0 0 1 0 (e8h) 0 1 0 1 1 1 0 1 0 0 0 1 1 0 0 0 1 1 0 1 1 1 1 1 0 0 0 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 1 (ebh) hpmset 0 1 0 1 1 1 0 1 0 1 1 high power mode setting 9.1.67 1 1 0 0 0 0 0 0 0 1 0 1 1 0 0 0 0 0 0 0 0 1 (f0h) frmsel 0 1 0 1 1 1 1 0 0 0 0 frame freq. in temp range a,b,c and d 9.1.68 1 1 0 - - - fa4 fa3 fa2 fa1 fa0 1 1 0 - - - fb4 fb3 fb2 fb1 fb0 1 1 0 - - - fc4 fc3 fc2 fc1 fc0 1 1 0 - - - fd4 fd3 fd2 fd1 fd0
ST7637 ver 1.6 69/210 2009/03 (f1h) frm8sel 0 1 0 1 1 1 1 0 0 0 1 frame freq. in temp range a,b,c and d (idle) 9.1.69 1 1 0 - - - f8a4 f8a3 f8a2 f8a1 f8a0 1 1 0 - - - f8b4 f8b3 f8b2 f8b1 f8b0 1 1 0 - - - f8c4 f8c3 f8c2 f8c1 f8c0 1 1 0 - - - f8d4 f8d3 f8d2 f8d1 f8d0 (f2h) tmprng 0 1 0 1 1 1 1 0 0 1 0 temp range a,b and c 9.1.70 1 1 0 - ta6 ta5 ta4 ta3 ta2 ta1 ta0 1 1 0 - tb6 tb5 tb4 tb3 tb2 tb1 tb0 1 1 0 - tc6 tc5 tc4 tc3 tc2 tc1 tc0 (f3h) tmphys 0 1 0 1 1 1 1 0 0 1 1 hysteresis value set 9.1.71 1 1 0 - - - - th3 th2 th1 th0 (f4h) tempsel 0 1 0 1 1 1 1 0 1 0 0 tempsel 9.1.72 1 1 0 mt13 mt12 mt11 mt10 mt03 mt02 mt01 mt00 1 1 0 mt33 mt32 mt31 mt30 mt23 mt22 mt21 mt20 1 1 0 mt53 mt52 mt51 mt50 mt43 mt42 mt41 mt40 1 1 0 mt73 mt72 mt71 mt70 mt63 mt62 mt61 mt60 1 1 0 mt93 mt92 mt91 mt90 mt83 mt82 mt81 mt80 1 1 0 mtb3 mtb2 mtb1 mtb0 mta3 mta2 mta1 mta0 1 1 0 mtd3 mtd2 mtd1 mtd0 mtc3 mtc2 mtc1 mtc0 1 1 0 mtf3 mtf2 mtf1 mtf0 mte3 mte2 mte1 mte0 (f7h) thys 0 1 0 1 1 1 1 0 1 1 1 temperature detection threshold 9.1.73 1 1 0 thys7 thys6 thys5 thys4 thys3 thys2 thys1 thys0 (f9h) frame set 0 1 0 1 1 1 1 1 0 0 1 set frame rgb value 9.1.74 1 1 0 - - - p14 p13 p12 p11 p10 1 1 0 - - - p24 p23 p22 p21 p20 : : : : : : : : : : : 1 1 0 - - - p154 p153 p152 p151 p150 1 1 0 - - - p164 p163 p162 p161 p160
ST7637 ver 1.6 70/210 2009/03 otpb related register list register function 0xb7[3] bgr setting 0xb7[6] mx setting 0xc3[2:0] bias setting 0xc4[2:0] booster setting 0xc5[1:0] booster efficiency setting 0xcb[0] vg source control 0xcc[7:0] id1 setting 0xce[7:0] id3 setting otpc related register list register function 0xb5[7:0] n-line setting 0xc7[8:0] vop offset setting 0xcd[6:0] id2 setting 0xd7[6] otpb auto-read enable 0xd7[7] external command enable
ST7637 ver 1.6 71/210 2009/03 9.1.1. nop(00h) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex nop 0 1 0 0 0 0 0 0 0 0 0 (00h) parameter no parameter description this command is an empty command. it doe s not have effect on the display module. however it can be used to terminate ram data write or r ead as described in ramwr (memory write), ramrd (memory read) and parameter write commands. restriction - register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default status default value power on sequence n/a s/w reset n/a h/w reset n/a flow chart -
ST7637 ver 1.6 72/210 2009/03 9.1.2. swreset: software reset (01h) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex swreset 0 1 0 0 0 0 0 0 0 0 1 (01h) parameter no parameter description when the software reset command is written, it causes a software reset. it resets the commands and parameters to their s/w reset default v alues and all segment & common outputs are set to vm (display off: blank di splay). (see default tables in each command description) note: the frame memory contents are not affected by this command. restriction it will be necessary to wait 5msec before sending new command following software reset. the display module loads all display supplie rs factory default values to the registers during 5msec. if software reset is applied during sleep out mode, it will be necessary to wait 120msec before sending sleep out c ommand. software reset command cannot be sent during sleep ou t sequence. register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default status default value power on sequence n/a s/w reset n/a h/w reset n/a flow chart
ST7637 ver 1.6 73/210 2009/03 9.1.3. rddid: read display id (04h) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex rddid 0 1 0 0 0 0 0 0 1 0 0 (04h) dummy read 1 0 1 - - - - - - - - - 2 nd parameter 1 0 1 id17 id16 id15 id14 id13 id12 id11 id10 - 3 rd parameter 1 0 1 1 id26 id25 id24 id23 id22 id21 id20 - 4 th parameter 1 0 1 id37 id36 id35 id34 id33 id32 id31 id30 - note: - dont care description this read byte returns 24-bit display id entification information. the 1 st parameter is dummy data the 2 nd parameter (id17 to id10): lcd modules manufacturer id. the 3 rd parameter (id26 to id20): lcd module/driver version id the 4 th parameter (id37 to id30): lcd module/driver id. note: commands rdid1/2/3(dah, dbh, dch) read data correspond to the parameters 2,3,4 of the command 04h, respectively. restriction register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default default value status id1 id2 id3 power on sequence 0x00 0x80 0x00 s/w reset 0x00 0x80 0x00 h/w reset 0x00 0x80 0x00
ST7637 ver 1.6 74/210 2009/03 flow chart
ST7637 ver 1.6 75/210 2009/03 9.1.4. rddst: read display status (09h) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex rddst 0 1 0 0 0 0 0 1 0 0 1 (09h) dummy read 1 0 1 - - - - - - - - - 2 nd parameter 1 0 1 st31 st30 st29 st28 st27 st26 st25 st24 - 3 rd parameter 1 0 1 st23 st22 st21 st20 st19 st18 st17 st16 - 4 th parameter 1 0 1 st15 st14 st13 st12 st11 st10 st9 st8 - 5 th parameter 1 0 1 st7 st6 st5 st4 st3 st2 st1 st0 - note: - dont care description this command indicates the current statu s of the display as described in the table below: bit description value st31 booster voltage status 1=booster on, 0=off st30 row address order (my) 1=decrement, 0= increment st29 column address order (mx) 1=decrement, 0=increment st28 row/column order (mv) 1= row/column exchange (mv=1) 0= normal (mv=0) st27 scan address order (ml) 1=decrement, 0=increment st26 rgb/bgr order (rgb) 1=bgr, 0=rgb st25 not used 0 st24 not used 0 st23 not used 0 st22 st21 st20 interface color pixel format definition 010 = 8-bit / pixel, 011 = 12-bit / pixel type a 100 = 12-bit / pixel type b 101 = 16-bit / pixel, 110 = 18-bit / pixel, 111 = 24-bit / pixel st19 idle mode on/off 1 = on, 0 = off st18 partial mode on/off 1 = on, 0 = off st17 sleep in/out 1 = out, 0 = in st16 display normal mode on/off 1 = normal display, 0 = partial display st15 vertical scrolling status 1 = scroll on, 0 = scroll off st14 not used 0 st13 inversion status 1 = on, 0 = off st12 all pixels on 1 = all pixal on , 0 = normal display st11 all pixels off 1 = all pixal off , 0 = normal display st10 display on/off 1 = on, 0 = off st9 tearing effect line on/off 1 = on, 0 = off st8 not used 0 st7 not used 0 st6 not used 0 st5 tearing effect line mode 0 = mode1, 1 = mode2 st4 not used 0 st3 not used 0 st2 not used 0 st1 not used 0
ST7637 ver 1.6 76/210 2009/03 st0 not used 0 restriction register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default status default value (st[31:0]) power on sequence 0000 0000_0101 0001_0000 0000_000 0 0000 s/w reset 0xxx xx00_0xxx 0001_0000 0000_0000 0000 h/w reset 0000 0000_0101 0001_0000 0000_0000 0000 flow chart
ST7637 ver 1.6 77/210 2009/03 9.1.5. rddpm: read display power mode (0ah) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex rddpm 0 1 0 0 0 0 0 1 0 1 0 (0ah) dummy read 1 0 1 - - - - - - - - - 2 nd parameter 1 0 1 d7 d6 d5 d4 d3 d2 0 0 - note: - dont care description this command indicates the current statu s of the display as described in the table below: bit description value d7 booster voltage status 1=booster on, 0=booster off d6 idle mode on/off 1 = idle mode on, 0 = idle mode off d5 partial mode on/off 1 = partial mode on, 0 = partial mode d4 sleep in/out 1 = sleep out, 0 = sleep in d3 display normal mode on/off 1 = normal display, 0 = partial display d2 display on/off 1 = display on, 0 = display off d1 not used 0 d0 not used 0 restriction register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default status default value (d[7:0]) power on sequence 00001000b (08h) s/w reset 00001000b (08h) h/w reset 00001000b (08h) flow chart
ST7637 ver 1.6 78/210 2009/03 9.1.6. rddmadctr: read display madctr (0bh) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex rddmadctr 0 1 0 0 0 0 0 1 0 1 1 (0bh) dummy read 1 0 1 - - - - - - - - - 2 nd parameter 1 0 1 d7 d6 d5 d4 d3 0 0 0 - note: - dont care description this command indicates the current statu s of the display as described in the table below: bit description value d7 row address order (my) 1=decrement, 0=increment d6 column address order (mx) 1=decrement, 0=increment d5 row/column order (mv) 1= row/column exchange (mv=1) 0= normal (mv=0) d4 scan addres s order (ml) 1=decrement, 0=increment d3 rgb/bgr order (rgb) 1=bgr, 0=rgb d2 not used 0 d1 not used 0 d0 not used 0 restriction register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default status default value (d[7:0]) power on sequence 00h s/w reset no change h/w reset 00h flow chart
ST7637 ver 1.6 79/210 2009/03 9.1.7. rddcolmod: read display pixel format (0ch) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex rddcolmod 0 1 0 0 0 0 0 1 1 0 0 (0ch) dummy read 1 0 1 - - - - - - - - - 2 nd parameter 1 0 1 0 0 0 0 0 d2 d1 d0 - note: - dont care description this command indicates the current statu s of the display as described in the table below: bit description value d7 0 (not used) d6 0 (not used) d5 0 (not used) d4 rgb interface color format 0 (not used ) d3 0 d2 d1 d0 control interface color format 010=8 bit/pixel 011=12 bit/pixel (type a) 100=12 bit/pixel (type b) 101=16 bit/pixel "110" = 18-bit/pixel "111" = 24-bit/pixel the others = not defined restriction register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default status default value (d[7:0]) power on sequence 16 bit/pixel s/w reset no change h/w reset 16 bit/pixel
ST7637 ver 1.6 80/210 2009/03 flow chart
ST7637 ver 1.6 81/210 2009/03 9.1.8. rddim: read display image mode (0dh) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex rddim 0 1 0 0 0 0 0 1 1 0 1 (0dh) dummy read 1 0 1 - - - - - - - - - 2 nd parameter 1 0 1 d7 0 d5 d4 d3 0 0 0 - note: - dont care description this command indicates the current statu s of the display as described in the table below: bit description value d7 vertical scrolling on/off 1 = vertical scrolling is on, 0 = vertical scrolling is off, d6 not used 0 d5 inversion on/off 1 = inversion is on, 0 = in version is off d4 all pixels on 1 = all pixels on, 0 = normal mode d3 all pi xels off 1 = all pixels off, 0 = normal mode d2 d1 d0 not used 0 0 0 restriction register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default status default value (d[7:0]) power on sequence 00h s/w reset 00h h/w reset 00h
ST7637 ver 1.6 82/210 2009/03 flow chart
ST7637 ver 1.6 83/210 2009/03 9.1.9. rddsm: read display signal mode (0eh) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex rddsm 0 1 0 0 0 0 0 1 1 1 0 (0eh) dummy read 1 0 1 - - - - - - - - - 2 nd parameter 1 0 1 d7 d6 0 0 0 0 0 0 - note: - dont care description this command indicates the current statu s of the display as described in the table below: bit description value d7 tearing effect line on/off 1 = on, 0 = off d6 tearing effect line mode 0 = mode1, 1 = mode2 d5 not used 0 d4 not used 0 d3 not used 0 d2 not us ed 0 d1 not used 0 d0 not used 0 restriction register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default status default value (d[7:0]) power on sequence 00h s/w reset 00h h/w reset 00h flow chart
ST7637 ver 1.6 84/210 2009/03 9.1.10. rddsdr: read display self-diagnostic result (0fh) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex rddsdr 0 1 0 0 0 0 0 1 1 1 1 (0fh) dummy read 1 0 1 - - - - - - - - - 2 nd parameter 1 0 1 1 1 1 d4 0 0 0 0 note: - dont care description this command indicates the current statu s of the display as described in the table below: bit description value d7 not used 1 d6 not used 1 d5 not used 1 d4 g lass broken detection see section 7.11.1 d3 not used 0 d2 not used 0 d1 not used 0 d0 not used 0 restriction register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default status default value (d[7:0]) power on sequence e0h s/w reset e0h h/w reset e0h flow chart
ST7637 ver 1.6 85/210 2009/03 9.1.11. slpin: sleep in (10h) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex slpin 0 1 0 0 0 0 1 0 0 0 0 (10h) parameter no parameter description this command causes the lcd module to ente r the minimum power consumption mode. in this mode the dc/dc converter is stopped, internal d isplay oscillator is stopped, and panel scanning is stopped. mcu interface and memory are still working and the mem ory keeps its contents restriction this command has no effect when module is already in sleep in mode. sleep in mode can only be exit by the sleep out command (11h). it will be necessary to wait 5msec before sending nex t command. this is to allow time for the supply voltages and clock circuits to stabilize. it will be necessary to wait 120msec after sending sl eep out command (when in sleep in mode) before sleep in command can be sent. register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default status default value power on sequence sleep in mode s/w reset sleep in mode h/w reset sleep in mode
ST7637 ver 1.6 86/210 2009/03 flow chart it takes about 120m sec to get into sleep in mode ( booster off state) after slpin command issued. the results of booster off can be check by rddst (09h) command bit31.
ST7637 ver 1.6 87/210 2009/03 9.1.12. slpout: sleep out (11h) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex slpout 0 1 0 0 0 0 1 0 0 0 1 (11h) parameter no parameter description this command turns off sleep mode. in th is mode the dc/dc converter is enabled, internal display oscillator is started, and panel scanning i s started. restriction this command has no effect when module is already in sleep out mode. sleep out mode can only be exit by the sleep in command (10h). it will be necessary to wait 5msec before sending nex t command. this is to allow time for the supply voltages and clock circuits to stabilize. the display module loads all display suppliers fac tory default values to the registers during this 5msec and there cannot be any abnormal visual effec t on the display image if factory default and register values are same when this load is done and when the display module is already sleep out Cmode. the display module is doing self-diagnostic functio ns during this 5msec. it will be necessary to wait 120msec after sending sleep in command (when in sleep out mode) before sleep out command can be sent. register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default status default value power on sequence sleep in mode s/w reset sleep in mode h/w reset sleep in mode
ST7637 ver 1.6 88/210 2009/03 flow chart it takes 120msec to become sleep out mode (booster on mode) after slpout command issued. the results of booster on can be check by rdds t (09h) command bit31.
ST7637 ver 1.6 89/210 2009/03 9.1.13. ptlon: partial display mode on (12h) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex ptlon 0 1 0 0 0 0 1 0 0 1 0 (12h) parameter no parameter description this command turns on partial mode. the partial mode window is described by the partial area command (30 h ) exit from ptlon by normal display mode on command (13h ) there is no abnormal visual effect during mode chan ge between normal mode on <-> partial mode on. restriction this command has no effect when partial m ode is active. register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default status default value power on sequence partial mode off s/w reset partial mode off h/w reset partial mode off flow chart see partial area (30h)
ST7637 ver 1.6 90/210 2009/03 9.1.14. noron: normal display mode on (13h) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex noron 0 1 0 0 0 0 1 0 0 1 1 (13h) parameter no parameter description this command returns the display to norm al mode. normal display mode on means partial mode off, scrol l mode off. exit from noron by the partial mode on command (12h) there is no abnormal visual effect during mode chan ge between normal mode on <-> partial mode on. restriction this command has no effect when normal disp lay mode is active. register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default status default value power on sequence normal mode on s/w reset normal mode on h/w reset normal mode on flow chart see partial area and vertical scrolling definition de scriptions for details of when to use this command
ST7637 ver 1.6 91/210 2009/03 9.1.15. invoff: display inversion off (20h) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex invoff 0 1 0 0 0 1 0 0 0 0 0 (20h) parameter no parameter description this command is used to recover from dis play inversion mode. this command makes no change of contents of frame m emory. this command does not change any other status. restriction this command has no effect when module is already inversion off mode. register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default status default value power on sequence display inversion off s/w reset display inversion off h/w reset display inversion off flow chart
ST7637 ver 1.6 92/210 2009/03 9.1.16. invon: display inversion on (21h) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex invon 0 1 0 0 0 1 0 0 0 0 1 (21h) parameter no parameter description this command is used to enter into displ ay inversion mode this command makes no change of contents of frame m emory. this command does not change any other status. to exit from display inversion on, the display invers ion off command (20h) should be written. restriction this command has no effect when module is already inversion on mode. register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default status default value power on sequence display inversion off s/w reset display inversion off h/w reset display inversion off flow chart
ST7637 ver 1.6 93/210 2009/03 9.1.17. apoff: all pixels off (22h) (only for test purposes) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex apoff 0 1 0 0 0 1 0 0 0 1 0 (22h) parameter no parameter description this command is only used for test purpo se e.g. pixel response time (on/off) measurements o n the passive matrix display. therefore, it is possib le that this command is not used for final product software. all driver outputs become low data state and displ ay becomes black. this command makes no change of contents of display memory. this command does not change any other status. exit commands are all pixels on, normal display mo de on and partial display on. the display is showing the contents of the frame me mory after normal display mode on and partial display on commands. restriction this command has no effect when module is already all pixel off mode. register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default status default value power on sequence all pixel off mode disable s/w reset all pixel off mode disable h/w reset all pixel off mode disable
ST7637 ver 1.6 94/210 2009/03 flow chart
ST7637 ver 1.6 95/210 2009/03 9.1.18. apon: all pixels on (23h) (only for test pu rposes) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex apon 0 1 0 0 0 1 0 0 0 1 1 (23h) parameter no parameter description this command is only used for test purpo se e.g. pixel response time (on/off) measurements o n the passive matrix display. therefore, it is possib le that this command is not used for final product software. all driver outputs become high data state and disp lay becomes white. this command makes no change of contents of display memory. this command does not change any other status. exit commands are all pixels on, normal display mo de on and partial display on. the display is showing the contents of the frame me mory after normal display mode on and partial display on commands. restriction this command has no effect when module is already all pixel on mode. register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default status default value power on sequence all pixel on mode disable s/w reset all pixel on mode disable h/w reset all pixel on mode disable
ST7637 ver 1.6 96/210 2009/03 flow chart
ST7637 ver 1.6 97/210 2009/03 9.1.19. wrcntr: write contrast (25h) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex wrcntr 0 1 0 0 0 1 0 0 1 0 1 (25h) parameter 1 1 0 0 ev6 ev5 ev4 ev3 ev2 ev1 ev0 description this command is used to fine tuning the contrast of the display. parameter range is 00~7fh. the contrast is not linear but the contrast adjustment is linear. luminance is increasing from 00h to 7fh. 00h is presenting dark end and 7fh is presenting br ight end. restriction - register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default status default value power on sequence 3fh s/w reset 3fh h/w reset 3fh flow chart
ST7637 ver 1.6 98/210 2009/03 9.1.20. dispoff: display off (28h) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex dispoff 0 1 0 0 0 1 0 1 0 0 0 (28h) parameter no parameter description this command is used to enter into displa y off mode. in this mode, the output from frame memory disables and blank page inserted. this command makes no change of contents of frame m emory. this command does not change any other status. there will be no abnormal visible effect on the disp lay. exit from this command by display on (29h) restriction this command has no effect when module is already in display off mode. register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default status default value power on sequence display off s/w reset display off h/w reset display off
ST7637 ver 1.6 99/210 2009/03 flow chart
ST7637 ver 1.6 100/210 2009/03 9.1.21. dispon: display on (29h) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex dispon 0 1 0 0 0 1 0 1 0 0 1 (29h) parameter no parameter description turn on the display screen according to the current display data ram content and the display timing and setting. this command is used to recover from display off mod e. output from the frame memory is enabled. this command makes no change of contents of frame m emory. this command does not change any other status. restriction this command has no effect when module is already in display on mode. register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default status default value power on sequence display off s/w reset display off h/w reset display off
ST7637 ver 1.6 101/210 2009/03 flow chart
ST7637 ver 1.6 102/210 2009/03 9.1.22. caset: column address set (2ah) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex caset 0 1 0 0 0 1 0 1 0 1 0 (2ah) 1 st parameter 1 1 0 xs7 xs6 xs5 xs4 xs3 xs2 xs1 xs0 2 nd parameter 1 1 0 xe7 xe6 xe5 xe4 xe3 xe2 xe1 xe0 note: - dont care description this command is used to define area of f rame memory where mcu can access. this command makes no change on the other driver st atus. the value of xs [7:0] and xe [7:0] are referred when ramwr command comes. each value represents one column line in the frame memory. restriction xs [7:0] always must be equal to or less than xe [7:0] when xs [7:0] or xe [7:0] is greater than 83h, data of out of range will be ignored. register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default default value status xs [7:0] xe [7:0] power on sequence 00h 83h s/w reset 00h 83h h/w reset 00h 83h
ST7637 ver 1.6 103/210 2009/03 flow chart caset 1 st parameter xs[7:0] 2 nd parameter xe[7:0] paset 1stparameter ys[7:0] 2ndparameter ye[7:0] ramwr image data d1[7:0],d2[7:0] ??.dn[7:0] any command if needed
ST7637 ver 1.6 104/210 2009/03 9.1.23. raset: row address set (2bh) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex raset 0 1 0 0 0 1 0 1 0 1 1 (2bh) 1 st parameter 1 1 0 ys7 ys6 ys5 ys4 ys3 ys2 ys1 ys0 2 nd parameter 1 1 0 ye7 ye6 ye5 ye4 ye3 ye2 ye1 ye0 note: - dont care description this command is used to define area of f rame memory where mcu can access. this command makes no change on the other driver st atus. the value of ys [7:0] and ye [7:0] are referred when ramwr command comes. each value represents one column line in the frame memory. restriction ys [7:0] always must be equal to or less than ye [7:0] when ys [7:0] or ye [7:0] is greater than 83h, data of out of range will be ignored. register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default default value status xs [7:0] xe [7:0] power on sequence 00h 83h s/w reset 00h 83h h/w reset 00h 83h
ST7637 ver 1.6 105/210 2009/03 flow chart caset 1stparameter xs[7:0] 2ndparameter xe[7:0] paset 1stparameter ys[7:0] 2ndparameter ye[7:0] ramwr image data d1[7:0],d2[7:0] ??.dn[7:0] any command
ST7637 ver 1.6 106/210 2009/03 9.1.24. ramwr: memory write (2ch) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex ramwr 0 1 0 0 0 1 0 1 1 0 0 (2ch) write d1[7:0] 1 1 0 d7 d6 d5 d4 d3 d2 d1 d0 - : 1 1 0 : : : : : : : : - write dn[7:0] 1 1 0 d7 d6 d5 d4 d3 d2 d1 d0 - description this command is used to transfer data mcu to frame memory. this command makes no change to the other driver st atus. when this command is accepted, the column register and the row register are reset to the start column/start row positions. the start column/start row positions are different in accordance with madctr setting. then d [7:0] is stored in frame memory and the column regi ster and the row register incremented. frame write can be canceled by sending any other co mmand. restriction in all color modes, there is no restrict ion on length of parameters. register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default status default value power on sequence contents of memory is set randoml y s/w reset contents of memory is remained h/w reset contents of memory is remained flow chart
ST7637 ver 1.6 107/210 2009/03 9.1.25. rgbset: colour set for 256 or 4k-color disp lay (2dh) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex rgbset 0 1 0 0 0 1 0 1 1 0 1 (2dh) 1 st parameter 1 1 0 - - - r004 r003 r002 r001 r000 - : 1 1 0 : : : rnn4 rnn3 rnn2 rnn1 rnn0 - 16 th parameter 1 1 0 - - - r154 r153 r152 r151 r150 - 17 th parameter 1 1 0 - - g005 g004 g003 g002 g001 g000 - : 1 1 0 : : gnn5 gnn4 gnn3 gnn2 gnn1 gnn0 32 nd parameter 1 1 0 - - g155 g154 g153 g152 g151 g150 33 rd parameter 1 1 0 - - - b004 b003 b002 b001 b000 : 1 1 0 : : : bnn4 bnn3 bnn2 bnn1 bnn0 48 th parameter 1 1 0 - - - b154 b153 b152 b151 b150 note: - dont care description this command is used to define the lut fo r 8bit-to-16bit or 12bit-to-16bit color depth conversations. (see also section 7.9 ? ) 48 bytes must be written to the lut regardless of the color mode. only the values in section 7.9 ? are referred. this command has no effect on other commands/parame ters and contents of frame memory. visible change takes effect next time the frame mem ory is written to. restriction do not send any command before the last d ata is sent or lut is not defined correctly. register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default status default value power on sequence refer to section 7.9 ? s/w reset contents of the look-up table protected h/w reset refer to section7.9 ?
ST7637 ver 1.6 108/210 2009/03 flow chart command parameter display action mode legend sequential transter regset 1st parameter r00[4:0] : 16th parameter r15[4:0] 17th parameter g00[5:0] : 32nd parameter g15[5:0] 33rd parameter b00[4:0] : 48th parameter b15[4:0]
ST7637 ver 1.6 109/210 2009/03 9.1.26. ramro : memory read (2eh) a0 rd wr d7 d6 d5 d4 d3 d2 d1 d0 hex command 0 1 0 0 1 0 1 1 1 0 (2eh) 1 st parameter 1 1 x x x x x x x x x 2 nd parameter 1 1 d17 d16 d15 d14 d13 d12 d11 d10 00h ~ ffh 1 1 dx7 dx6 dx5 dx4 dx3 dx2 dx1 dx0 00h ~ ffh (n+1)th parameter 1 1 dn7 dn6 dn5 dn4 dn3 dn2 dn1 dn0 00h ~ ffh description this command is used to transfer data from frame me mory to mcu. when this command is accepted, the column register and the page register are reset to the start column/start page positions. the star t column/start page positions are different in accord ance with madctr setting. then d[7:0] is read back from the frame memory and the column register and the page register incremented. frame read can be stopped by sending any other command. restriction in all color modes, the frame read is always 16bit so there is no restriction on length of parameters. note: memory read is only possible via the parallel interface. register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in or booster off yes default status default value power on sequence contents of memory is set randoml y s/w reset contents of memory is not cleared h/w reset contents of memory is not cleared
ST7637 ver 1.6 110/210 2009/03 flow chart
ST7637 ver 1.6 111/210 2009/03 9.1.27. ptlar: partial area (30h) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex ptlar 0 1 0 0 0 1 1 0 0 0 0 (30h) 1 st parameter 1 1 0 ps7 ps6 ps5 ps4 ps3 ps2 ps1 ps0 - 2 nd parameter 1 1 0 pe7 pe6 pe5 pe4 pe3 pe2 pe1 pe0 - note: - dont care description this command defines the partial modes display area. there are 2 parameters associated with this command, the first defines the start line (ps) and the second the end line (pe), as illustrated in the figures below. ps and pe refer to the frame memo ry line counter. if end line > start line when madctr ml=0: if end line > start line when madctr ml=1: if end line < start line when madctr ml=0:
ST7637 ver 1.6 112/210 2009/03 * row1: frame memory row address 1. if end line = start line then the partial area will be one line deep. restriction ps[7:0] and pe[7:0] are based on line un it. ps[6:0]=00h, 01h, 02h, 03h, , 83h pe[6:0]= 00h, 01h, 02h, 03h, , 83h register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default default value status ps[6:0] pe[6:0] power on sequence 00h 83h s/w reset 00h 83h h/w reset 00h 83h
ST7637 ver 1.6 113/210 2009/03 flow chart 1.toenterpartialmode: pltar ps[7:0] pe[7:0] ptlon partialmode 2. leave partial mode partial mode dispoff noron partial mode off ramrw image data d1[7:0],d2[7:0] ??..dn[7:0] dispon ()ptional) to prevent tearing effect image displayed command parameter display action mode legend sequential transter
ST7637 ver 1.6 114/210 2009/03 9.1.28. scrlar: scroll area (33h) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex scrlar 0 1 0 0 0 1 1 0 0 1 1 (33h) 1 st parameter 1 1 0 tfa7 tfa6 tfa5 tfa4 tfa3 tfa2 tfa1 tfa0 - 2 nd parameter 1 1 0 vsa7 vsa6 vsa5 vsa4 vsa3 vsa2 vsa1 vsa0 - 3 rd parameter 1 1 0 bfa7 bfa6 bfa5 bfa4 bfa3 bfa2 bfa1 bfa0 - note: - dont care descriptio n this command just defines the vertical scrolling ar ea of the display and not performs vertical scroll. when madctr ml=0 the 1 st parameter tfa [7:0] describes the top fixed area (i n no. of lines from top of the frame memory and display). the 2 nd parameter vsa [7:0] describes the height of the ver tical scrolling area (in no. of lines of the frame memory [not the display] from the vertical sc rolling start address) the first line appears immediately after the bottom most line of the top f ixed area. the 3 rd parameter bfa [7:0] describes the bottom fixed area (in no. of lines from bottom of the frame memory and display). tfa, vsa and bfa refer to the frame memory line poi nter. restriction the condition is (tfa+vsa+bfa) = 132, otherwise scro lling mode is undefined. register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes
ST7637 ver 1.6 115/210 2009/03 default default value status tfa [7:0] vsa [7:0] bfa [7:0] power on sequence 00h 84h 00h s/w reset 00h 84h 00h h/w reset 00h 84h 00h flow chart 1.toenterverticalscrollmode: command parameter display action mode legend sequential transter normalmode scrlar 1stparametertfa[7:0] 2ndparametervsa[7:0] 3rdparameterbfa[7:0] caset 1stparameterxs[7:0] 2ndparameterxe[7:0] raset madctr parameter ramwr scrollvideodata vscsad 1stparameterssa[7:0] scrollmode 1stparameterys[7:0] 2ndparameterye[7:0] onlyrequired fornonrolling scrolling redefinesthe framememory windowthat thescrolldata willbewritten to. optionalit maybe necessaryto redefinethe framememory writedirection. note: the frame memory window size must be defined co rrectly otherwise undesirable image will be displayed.
ST7637 ver 1.6 116/210 2009/03 flow chart 2.continuousscroll: command parameter display action mode legend sequential transter normalmode caset 1stparameterxs[7:0] 2ndparameterxe[7:0] raset ramwr scrollvideodata vscsad 1stparameterssa[7:0] 1stparameterys[7:0] 2ndparameterye[7:0] onlyrequired fornonrolling scrolling scrollmode dispoff noron/ptlon scrollmodeoff ramwr videodatad1[7:0], d2[7:0]...dn[7:0] dispon 3.toexitverticalscrollmode: canbeskipped note: scroll mode can be exit by both the normal disp lay mode on(13h) and partial mode on (12h) commands.
ST7637 ver 1.6 117/210 2009/03 9.1.29. teoff: tearing effect line off (34h) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex teoff 0 1 0 0 0 1 1 0 1 0 0 (34h) parameter no parameter description this command is used to turn off (active low) the tearing effect output signal from the te signal line. restriction this command has no effect when tearing e ffect output is already off. register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default status default value power on sequence tearing effect off s/w reset tearing effect off h/w reset tearing effect off flow chart
ST7637 ver 1.6 118/210 2009/03 9.1.30. teon: tearing effect line on (35h) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex teon 0 1 0 0 0 1 1 0 1 0 1 (35h) parameter 1 1 0 - - - - - - - m note: - dont care description this command is used to turn on the tearing effect output signal from the te signal line. this output is not affected by changing madctr bit ml. the tearing effect line on has one parameter, which describes the mode of the tearing effect output line. (-=dont care). when m=0: the tearing effect output line consists of v-blanki ng information only: when m=1: the tearing effect output line consists of both v-b lanking and h-blanking information: see section 7.4.8 for more information. note: during sleep in mode with tearing effect line on , tearing effect output pin will be active low. restriction this command has no effect when tearing e ffect output is already off. register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default status default value power on sequence tearing effect off & m=0 s/w reset tearing effect off & m=0 h/w reset tearing effect off & m=0
ST7637 ver 1.6 119/210 2009/03 flow chart
ST7637 ver 1.6 120/210 2009/03 9.1.31. madctr: memory data access control (36h) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex madctr 0 1 0 0 0 1 1 0 1 1 0 (36h) parameter 1 1 0 my mx mv ml rgb - - - - note: - dont care description this command defines read/write scanning direction of frame memory. this command makes no change on the other driver st atus. note: ml affects to partial area (30h), vertical scr olling definition (33h), vertical scrolling start address (37h), partial on (12h) commands bit assignment bit name description my row address order mx column address order mv row/column order these 3bits controls mcu to memory write/read direc tion. ml line address order lcd refresh direction control rgb rgb-bgr order color selector switch control 0=rgb color filter panel, 1=bgr color filter panel) the contents of the frame memory are not changed. restriction d2, d1 and d0 of the 1 st parameter are set to 000internally. register availability status availability normal mode on, idle mode off, sleep out yes
ST7637 ver 1.6 121/210 2009/03 normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default status default value power on sequence my=0,mx=0,mv=0,ml=0,rgb=0 s/w reset not changed h/w reset my=0,mx=0,mv=0,ml=0,rgb=0 flow chart
ST7637 ver 1.6 122/210 2009/03 9.1.32. vscsad: vertical scroll start address of ra m (37h) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex vscsad 0 1 0 0 0 1 1 0 1 1 1 (37h) parameter 1 1 0 ssa7 ssa6 ssa5 ssa4 ssa3 ssa2 ssa1 ssa0 description this command is used together with vertical scrollin g definition (33h). these two commands describe the scrolling area and the scrolling mode. the vertical scrolling start address command has on e parameter which describes which line in the frame memory will be written as the first line af ter the last line of the top fixed area on the display as illustrated below: this command start the scrolling. exit from v-scrolling mode by commands partial mode on (12h) or normal mode on (13h). when madctr ml=0 example: when top fixed area=bottom fixed area=00, vertical scrolling area=132 and vertical scrolling pointer ssa=3. memory ssa[7:0] scrollstartaddress (0,0) (0,131) 01 2 3 131 130 display com0 com1 com2 com129 com131 com130 scanaddress  when madctr ml=1 example: when top fixed area=bottom fixed area=00, vertical scrolling area=132 and vertical scrolling pointer ssa=3. note: when new pointer position and picture data are s ent, the result on the display will happen at the next panel scan to avoid tearing effe ct. ssa refers to the frame memory line pointer.
ST7637 ver 1.6 123/210 2009/03 restriction since the value of the vertical scrollin g start address is absolute (with reference to the f rame memory), it must not enter the fixed area (defined by vertical scrolling definition (33h)-otherwise undesirable image will be displayed on the panel. ssa [7:0] is based on line unit. ssa [6:0] = 00h, 01h, 02h, 03h, , 83h register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out no partial mode on, idle mode on, sleep out no sleep in yes default status default value (ssa[7:0]) power on sequence 00h s/w reset 00h h/w reset 00h flow chart see vertical scrolling definition (33h) description.
ST7637 ver 1.6 124/210 2009/03 9.1.33. idmoff: idle mode off (38h) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex idmoff 0 1 0 0 0 1 1 1 0 0 0 (38h) parameter no parameter description this command is used to recover from idl e mode on. there will be no abnormal visible effect on the disp lay mode change transition. in the idle off mode, 1. lcd can display maximum 262,144 colors. 2. normal frame frequency is applied. restriction this command has no effect when module is already in idle off mode. register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default status default value power on sequence idle mode off s/w reset idle mode off h/w reset idle mode off flow chart
ST7637 ver 1.6 125/210 2009/03 9.1.34. idmon: idle mode on (39h) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex idmon 0 1 0 0 0 1 1 1 0 0 1 (39h) parameter no parameter description this command is used to enter into idle mode on. there will be no abnormal visible effect on the disp lay mode change transition. in the idle on mode, 1. color expression is reduced. the primary and the secondary colors using msb of each r, g and b in the frame memory, 8 color depth data i s displayed. 2. 8-color mode frame frequency is applied. 3. exit from idmon by idle mode off (38h) command x: dont care color r 5 r 4 r 3 r 2 r 1 r 0 g 5 g 4 g 3 g 2 g 1 g 0 b 5 b 4 b 3 b 2 b 1 b 0 black 0xxxxx 0xxxxx 0xxxxx blue 0xxxxx 0xxxxx 1xxxxx red 1xxxxx 0xxxxx 0xxxxx magenta 1xxxxx 0xxxxx 1xxxxx green 0xxxxx 1xxxxx 0xxxxx cyan 0xxxxx 1xxxxx 1xxxxx yellow 1xxxxx 1xxxxx 0xxxxx white 1xxxxx 1xxxxx 1xxxxx restriction this command has no effect when module is already in idle on mode. register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes
ST7637 ver 1.6 126/210 2009/03 default status default value power on sequence idle mode off s/w reset idle mode off h/w reset idle mode off flow chart
ST7637 ver 1.6 127/210 2009/03 9.1.35. colmod: interface pixel format (3ah) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex colmod 0 1 0 0 0 1 1 1 0 1 0 (3ah) parameter 1 1 0 - - - - - p2 p1 p0 - description this command is used to define the forma t of rgb picture data, which is to be transferred via the mcu interface. the formats are shown in the table: note: in 8 bit/pixel, 12bit/pixe,l or 16 bit/pixel m ode, the lut is applied to transfer data into the frame memory. interface format p2 p1 p0 not defined 0 0 0 not defined 0 0 1 8bit/pixel 0 1 0 12bit/pixel (type a) 0 1 1 12bit/pixel (type b) 1 0 0 16bit/pixel 1 0 1 18bit/pixel 1 1 0 24bit/pixel 1 1 1 restriction there is no visible effect until the fra me memory is written to. register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default status default value power on sequence 05h (16bit/pixel) s/w reset no change h/w reset 05h (16bit/pixel)
ST7637 ver 1.6 128/210 2009/03 flow chart 16 bit/pixel mode colmod 011 12 bit/pixel mode example:
ST7637 ver 1.6 129/210 2009/03 9.1.36. rdid1: read id1 value (dah) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex rdid1 0 1 0 1 1 0 1 1 0 1 0 (dah) dummy read 1 0 1 - - - - - - - - - 2 nd parameter 1 0 1 id17 id16 id15 id14 id13 id12 id11 id10 - note: - dont care description this read byte returns 8-bit lcd modules manufacturer id d7-d0 (id17 to id10): lcd modules manufacturer id. note: see command rddid (04h), 2 nd parameter. restriction register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default status default value power on sequence not fixed s/w reset not fixed h/w reset not fixed flow chart
ST7637 ver 1.6 130/210 2009/03 9.1.37. rdid2: read id2 value (dbh) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex rdid2 0 1 0 1 1 0 1 1 0 1 1 (dbh) dummy read 1 0 1 - - - - - - - - - 2 nd parameter 1 0 1 id27 id26 id25 id24 id23 id22 id21 id20 - note: - dont care description this read byte returns 8-bit lcd module/dr iver version id d7-d0 (id27 to id20): lcd module/driver version id parameter range: id=80h to ffh note: see command rddid (04h), 3 rd parameter. restriction register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default status default value power on sequence not fixed s/w reset not fixed h/w reset not fixed flow chart
ST7637 ver 1.6 131/210 2009/03 9.1.38. rdid3: read id3 value (dch) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex rdid3 0 1 0 1 1 0 1 1 1 0 0 (dch) dummy read 1 0 1 - - - - - - - - - 2 nd parameter 1 0 1 id37 id36 id35 id34 id33 id32 id31 id30 - note: - dont care description this read byte returns 8-bit lcd module/dr iver id. d7-d0 (id37 to id30): lcd module/driver id. note: see command rddid (04h), 4 th parameter. restriction register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default status default value power on sequence not fixed s/w reset not fixed h/w reset not fixed flow chart
ST7637 ver 1.6 132/210 2009/03 9.1.39. dutyset: display duty setting (b0h) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex dutyset 0 1 0 1 0 1 1 0 0 0 0 (b0h) parameter 1 1 0 du7 du6 du5 du4 du3 du2 du1 du0 - note: - dont care description this command is used to set display duty. command s et = display duty numbers - 1. example: duty du7 du6 du5 du4 du3 du2 du1 du0 command set= display duty numbers-1 example: 1/132 duty 1 0 0 0 0 0 1 1 132-1=131 restriction display duty must > 4 (1/4 duty) register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default status default value (du[7:0]) power on sequence 10000011b (83h) s/w reset 10000011b (83h) h/w reset 10000011b (83h) flow chart
ST7637 ver 1.6 133/210 2009/03 9.1.40. firstcom: first com. page address (b1h) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex firstcom 0 1 0 1 0 1 1 0 0 0 1 (b1h) parameter 1 1 0 f7 f6 f5 f4 f3 f2 f1 f0 - note: - dont care description this command defines the first output com number th at mapping to the ram page address 0. for detail setting value, please see the table as below. f7 f6 f5 f4 f3 f2 f1 f0 line address 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 1 0 2 0 0 0 0 1 1 3 0 : : : : : : 1 0 0 0 0 0 1 1 131 example: if firstcom=8, common 8 would output the data of ra m page address 0. restriction register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default status default value (f[7:0]) power on sequence 00h s/w reset 00h h/w reset 00h flow chart
ST7637 ver 1.6 134/210 2009/03 9.1.41. oscdiv: fosc divider (b3h) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex oscdiv 0 1 0 1 0 1 1 0 0 1 1 (b3h) parameter 1 1 0 - - - - - - cld1 cld0 - note: - dont care description this command is used to specify the fosc dividing r atio. cld1, cld0: fosc dividing ratio. they are used to c hange number of dividing stages of internal clock. cld1 cld0 fosc dividing ratio 0 0 0 1 1 0 1 1 not divide 2 divisions 4 divisions 8 divisions restriction register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default status default value (cld[0:1]) power on sequence 00b s/w reset 00b h/w reset 00b flow chart
ST7637 ver 1.6 135/210 2009/03 9.1.42. nlinvset: n-line control (b5h) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex nlinvset 0 1 0 1 0 1 1 0 1 0 1 (b5h) parameter 1 1 0 m n6 n5 n4 n3 n2 n1 n0 - note: - dont care description this command is used to set the inverted line numbe r with range of 2 to (duty-1) to improve display quality. when m=0, inversion occurs in every frame; when m=1, inversion is independent from frames. if n[6:0]=0, n-line inversion function is d isable. line inversion numbers=n[6:0] +1. example: if n[6:0]=7, inversion occurs per 8 line. restriction register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default default value status m n[6:0] power on sequence 0b 0000000b s/w reset 0b 0000000b h/w reset 0b 0000000b flow chart
ST7637 ver 1.6 136/210 2009/03 9.1.43. comscandir: com/seg scan direction for glas s layout (b7h) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex comscandir 0 1 0 1 0 1 1 0 1 1 1 (b7h) parameter 1 1 0 0 smx 0 0 sbgr 0 - - - note: - dont care description function 0 1 smx inverse the mx setting keep mx inverse mx sbgr inverse the bgr setting keep bgr inverse bgr restriction register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default status default value power on sequence 4ah s/w reset 4ah h/w reset 4ah flow chart
ST7637 ver 1.6 137/210 2009/03 9.1.44. rmwin: read modify write control in (b8h) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex rmwin 0 1 0 1 0 1 1 1 0 0 0 (b8h) parameter no parameter note: - dont care description read modify write control in restriction register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default status default value power on sequence -- s/w reset -- h/w reset --
ST7637 ver 1.6 138/210 2009/03 9.1.45. rmwout: read modify write control out(b9h) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex rmwout 0 1 0 1 0 1 1 1 0 0 1 (b9h) parameter no parameter note: - dont care description read modify write control out restriction register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default status default value power on sequence -- s/w reset -- h/w reset --
ST7637 ver 1.6 139/210 2009/03 9.1.46. vopset: vop set (c0h) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex vopset 0 1 0 1 1 0 0 0 0 0 0 (c0h) 1 st parameter 1 1 0 vop7 vop6 vop5 vop4 vop3 vop2 vop1 vop0 - 2 nd parameter 1 1 0 - - - - - - - vop8 note: - dont care description the command is used to program the optim um lcd supply voltage v0. please see section 7.10 for reference. restriction register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default status default value (vop=12v) vop8 vop[7:0] power on sequence 0 11010010b (d2h) s/w reset 0 11010010b (d2h) h/w reset 0 11010010b (d2h) flow chart
ST7637 ver 1.6 140/210 2009/03 9.1.47. vopofsetinc: vop increase 1 (c1h) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex vopofsetinc 0 1 0 1 1 0 0 0 0 0 1 (c1h) note: - dont care description with the vopofsetinc and vopofsetdec comm and the v lcd voltage and therewith the contrast of the lcd can be adjusted. this command increases the value of vop offset reg ister by 1. if you set the electronic control value to 1111111, the control value is set to 0000000 after this command has been executed. restriction register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default status default value power on sequence -- s/w reset -- h/w reset -- flow chart
ST7637 ver 1.6 141/210 2009/03 9.1.48. vopofsetdec: vop decrease 1 (c2h) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex vopofsetdec 0 1 0 1 1 0 0 0 0 1 0 (c2h) note: - dont care description with the vopofsetinc and vopofsetdec comm and the v lcd voltage and therewith the contrast of the lcd can be adjusted. this command decreases the value of vop offset reg ister by 1. if you set the electronic control value to 0000000, the control value is set to 1111111 after this command has been executed. electronic control value decimal equivalent v0 offset 0111111 63 +2520 mv 0111110 62 +2480 mv 0111101 61 +2440 mv 0000010 2 +80 mv 0000001 1 +40 mv 0000000 0 0 mv 1111111 -1 -40 mv 1111110 -2 -80 mv 1100010 -62 -2480 mv 1100001 -63 -2520 mv 1100000 -64 -2560mv table 9.1-1 possible vop[6:0] values restriction register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default status default value power on sequence -- s/w reset -- h/w reset --
ST7637 ver 1.6 142/210 2009/03 flow chart
ST7637 ver 1.6 143/210 2009/03 9.1.49. biassel: bias selection (c3h) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex biassel 0 1 0 1 1 0 0 0 0 1 1 (c3h) parameter 1 1 0 - - - - - bias2 bias1 bias0 - note: - dont care description select lcd bias ratio of the voltage required for d riving the lcd. bais2 bais1 bais0 lcd bias 0 0 0 1/12 0 0 1 1/11 0 1 0 1/10 0 1 1 1/9 1 0 0 1/8 1 0 1 1/7 1 1 0 1/6 1 1 1 1/5 restriction register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default status default value (bias[2:0]) power on sequence 110b s/w reset 110b h/w reset 110b flow chart
ST7637 ver 1.6 144/210 2009/03 9.1.50. bstpmpxsel: booster setting (c4h) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex bstpmpxsel 0 1 0 1 1 0 0 0 1 0 0 (c4h) parameter 1 1 0 - - - - - bst2 bst 1 bst0 - note: - dont care description booster setting bst2 bst1 bst0 0 0 0 x1 boosting circuit (booster off) 0 0 1 x2 boosting circuit 0 1 0 x3 boosting circuit 0 1 1 x4 boosting circuit 1 0 0 x5 boosting circuit 1 0 1 x6 boosting circuit 1 1 0 x7 boosting circuit 1 1 1 x8 boosting circuit restriction register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default status default value (bst[2:0]) power on sequence 110b s/w reset 110b h/w reset 110b
ST7637 ver 1.6 145/210 2009/03 flow chart
ST7637 ver 1.6 146/210 2009/03 9.1.51. bsteffsel: booster efficiency selection (c5 h) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex bsteffsel 0 1 0 1 1 0 0 0 1 0 1 (c5h) parameter 1 1 0 - - - - - - btf1 btf0 - note: - dont care description booster efficiency set btf1 btf0 frequency ( hz ) 0 0 level 1 0 1 level 2 (default) 1 0 level 3 by booster stages (2x, 3x, 4x, 5x, 6x, 7x, 8x) and booster efficiency (level1~3) commands, we could easily set the best booster performance with suitable current consumption. if the booster efficiency is set to higher level (level3 is higher than level1). the boost efficiency is better than lower level, and it just need few more power consumption current. restriction register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default status default value (btf[1:0]) power on sequence 01b s/w reset 01b h/w reset 01b
ST7637 ver 1.6 147/210 2009/03 flow chart
ST7637 ver 1.6 148/210 2009/03 9.1.52. vopoffset: vop offset fuse bit adjust (c7h) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex vopoffset 0 1 0 1 1 0 0 0 1 1 1 (c7h) parameter1 1 1 0 vos7 vos6 vos5 vos4 vos3 vos2 vos1 vos0 - parameter2 1 1 0 - - - - - - - vos8 - note: - dont care description the command is used to the vop offset fo r v0. restriction register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default status default value vos8 vos[7:0] power on sequence 0 0 s/w reset 0 0 h/w reset 0 0 flow chart
ST7637 ver 1.6 149/210 2009/03 9.1.53. vgsorcsel: vg source control (cbh) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex v3sorcsel 0 1 0 1 1 0 0 1 0 1 1 (cbh) parameter 1 1 0 - - - - - - - 2bt0 - note: - dont care description 2bt0=0: vg source comes from vdd2 ; 2bt0=1: vg source comes from 2-times charge pump. restriction register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default status default value (2bt0) power on sequence 1 s/w reset 1 h/w reset 1 flow chart
ST7637 ver 1.6 150/210 2009/03 9.1.54. id1set : id1 setting (cch) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex id1set 0 1 0 1 1 0 0 1 1 0 0 (cch) parameter 1 1 0 id1_7 id1_6 id1_5 id1_4 id1_3 id1_2 id1_1 id1_0 - note: - dont care description id1 setting for otp program data input restriction register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default status default value power on sequence 00h s/w reset 00h h/w reset 00h flow chart
ST7637 ver 1.6 151/210 2009/03 9.1.55. id2set : id2 setting (cdh) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex id2set 0 1 0 1 1 0 0 1 1 0 1 (cdh) parameter 1 1 0 1 id2_6 id2_5 id2_4 id2_3 id2_2 id2_1 id2_0 - note: - dont care description id2 setting for otp program data input restriction register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default status default value power on sequence 00h s/w reset 00h h/w reset 00h flow chart
ST7637 ver 1.6 152/210 2009/03 9.1.56. id3set : id3 setting (ceh) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex id3set 0 1 0 1 1 0 0 1 1 1 0 (ceh) parameter 1 1 0 id3_7 id3_6 id3_5 id3_4 id3_3 id3_2 id3_1 id3_0 - note: - dont care description id3 setting for otp program data input restriction register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default status default value power on sequence 00h s/w reset 00h h/w reset 00h flow chart
ST7637 ver 1.6 153/210 2009/03 9.1.57. naset: analog circuit setting (d0h) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex autoloadset 0 1 0 1 1 0 1 0 0 0 0 (d0h) parameter 1 1 0 0 0 0 1 1 1 0 1 (1dh) note: - dont care description analog circuit setting. such as follower selection, level shifter power mode selection. restriction register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default status default value d[7:0] power on sequence 1dh s/w reset 1dh h/w reset 1dh flow chart
ST7637 ver 1.6 154/210 2009/03 9.1.58. autoloadset: mask rom data auto re-load con trol (d7h) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex autoloadset 0 1 0 1 1 0 1 0 1 1 1 (d7h) parameter 1 1 0 exte otpbe - ard 1 1 1 1 - note: - dont care description mask rom data auto re-load control exte : external command enable (otp input), 1: enab le, 0: disable otpbe: otpb auto-read enable (otp input, force disa ble when ard=0) ard : otp auto recovery enable control, 1: disable otp auto recovery, 0: enable otp auto recovery restriction register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default status default valued[7:0] power on sequence 00h s/w reset 00h h/w reset 00h flow chart
ST7637 ver 1.6 155/210 2009/03 9.1.59. rdtststatus: read ic status (deh) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex rdtststatus 0 1 0 1 1 0 1 1 1 1 0 (deh) dummy read 1 0 1 - - - - - - - - parameter 1 0 1 rd7 rd6 rd5 rd4 rd3 rd2 rd1 rd0 - note: - dont care description read ic status. contect of otp / rda / pwr_vop read control (selection byte by stusoutbytesel[3:0] control) restriction register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default status default value power on sequence - s/w reset - h/w reset - flow chart
ST7637 ver 1.6 156/210 2009/03 9.1.60. epctin: control otp wr/xrd (e0h) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex epctin 0 1 0 1 1 1 0 0 0 0 0 (e0h) parameter 1 1 0 0 0 wr /xrd 0 0 0 0 0 - note: - dont care description wr/xrd: when setting 1  the write enable of otp will be opened. wr/xrd: when setting 0  the read enable of otp will be opened. restriction register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default status default value (wr/xrd) power on sequence 0 s/w reset 0 h/w reset 0 flow chart
ST7637 ver 1.6 157/210 2009/03 9.1.61. epcout: otp control cancel (e1h) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex epcout 0 1 0 1 1 1 0 0 0 0 1 (e1h) note: - dont care description ic exits the otp control circuit when executing thi s command. restriction register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default status default value power on sequence -- s/w reset -- h/w reset -- flow chart
ST7637 ver 1.6 158/210 2009/03 9.1.62. epmwr: write to otp (e2h) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex epcout 0 1 0 1 1 1 0 0 0 1 0 (e2h) note: - dont care description ic actives trigger to start otp programming when ex ecuting this command. restriction register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default status default value power on sequence -- s/w reset -- h/w reset -- flow chart
ST7637 ver 1.6 159/210 2009/03 9.1.63. epmrd: read from otp (e3h) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex epmrd 0 1 0 1 1 1 0 0 0 1 1 (e3h) note: - dont care description ic actives trigger to start otp data download to ci rcuit when executing this command. restriction register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default status default value power on sequence s/w reset h/w reset flow chart
ST7637 ver 1.6 160/210 2009/03 9.1.64. otpsel: otp selection (e4h) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex otpsel 0 1 0 1 1 1 0 0 1 0 0 (e4h) parameter 1 1 0 ms1 ms0 0 1 1 0 0 0 - note: - dont care description this command defines otp/otpa/otpb selection for ee prom control. please see the table as below: ms1 ms0 mode 0 0 disable 0 1 otpc 1 0 otpa 1 1 otpb restriction register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default status default value (ms[1:0]) power on sequence 00 s/w reset 00 h/w reset 00 flow chart
ST7637 ver 1.6 161/210 2009/03 9.1.65. romset: programmable rom setting (e5h) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex autoloadset 0 1 0 0 1 1 1 0 1 0 1 (e5h) parameter 1 1 0 0 0 0 0 1 1 0 0 (0ch) note: - dont care description set the otp writing timing. value 0x0c is the best value for ST7637. restriction register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default status default value d[7:0] power on sequence 0fh s/w reset 0fh h/w reset 0fh flow chart
ST7637 ver 1.6 162/210 2009/03 9.1.66. lvms: low voltage mode setting (e7h & e8h) a0 rd wr d7 d6 d5 d4 d3 d2 d1 d0 hex command 1 0 1 0 1 1 1 0 0 1 1 1 (e7h) 1 st parameter 1 1 0 0 0 1 0 0 0 1 0 (22h) command 2 0 1 0 1 1 1 0 1 0 0 0 (e8h) 1 st parameter 1 1 0 0 0 1 1 0 1 1 1 (37h) 2 nd parameter 1 1 0 0 0 0 0 0 0 1 0 (03h) 3 rd parameter 1 1 0 0 0 0 1 1 1 1 1 (1fh) description low voltage mode setting. restriction register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default default value status c1d1[7:0] c2d1[7:0] c2d2[7:0] c2d3[7:0] power on sequence 12h 36h 03h 16h s/w reset 12h 36h 03h 16h h/w reset 12h 36h 03h 16h flow chart 1st command: e7h 1st parameter : 22h 2nd command : e8h 1st parameter : 37h 2nd parameter : 03h 3rd parameter : 1fh lvmsel
ST7637 ver 1.6 163/210 2009/03 9.1.67. hpmset : high power mode setting (ebh) a0 rd wr d7 d6 d5 d4 d3 d2 d1 d0 hex command 0 1 0 1 1 1 0 1 0 1 1 (ebh) 1 st parameter 1 1 0 0 0 0 0 0 0 1 0 (02h) 2 nd parameter 1 1 0 0 0 0 0 0 0 0 1 (01h) description high power mode for volatage compensation. restriction register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default default value status hp[3:0] power on sequence 00h s/w reset 00h h/w reset 00h flow chart 1st parameter : 02h 2nd parameter : 01h hpmsel
ST7637 ver 1.6 164/210 2009/03 9.1.68. frmsel: frame freq. in temperature range (f 0h) a0 rd wr d7 d6 d5 d4 d3 d2 d1 d0 hex command 0 1 0 1 1 1 1 0 0 0 0 (f0h) 1 st parameter 1 1 0 - - - diva fa3 fa2 fa1 fa0 range a 2 nd parameter 1 1 0 - - - divb fb3 fb2 fb1 fb0 range b 3 rd parameter 1 1 0 - - - divc fc3 fc2 fc1 fc0 range c 4 th parameter 1 1 0 - - - divd fd3 fd2 fd1 fd0 range d description select frame freq. in normal display mode. 1 st parameter : frame freq. value set in temperature r ange 30(-30 ) to ta 2 nd parameter : frame freq. value set in temperature p range ta to tb 3 rd parameter : frame freq. value set in temperature r ange tb to tc 4 th parameter : frame freq. value set in temperature r ange tc to 145(90 ) for command setting to frame rate value look-up-tab le, please see the following table: divx fx[3:0] frame rate (hz) 0 75 1 76 2 77 3 80 4 84 5 88 6 92 7 97 8 102 9 108 a 115 b 123 c 133 d 144 e 155 1 f 170 0 0~f (frame rate) / 2 restriction
ST7637 ver 1.6 165/210 2009/03 register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default default value status fa[4:0] fb[4:0] fc[4:0] fd[4:0] power on sequence 06h 0bh 0dh 12h s/w reset 06h 0bh 0dh 12h h/w reset 06h 0bh 0dh 12h flow chart
ST7637 ver 1.6 166/210 2009/03 9.1.69. frm8sel: frame freq. in temperature range ( idle-8 color) (f1h) a0 rd wr d7 d6 d5 d4 d3 d2 d1 d0 hex command 0 1 0 1 1 1 1 0 0 0 1 (f1h) 1 st parameter 1 1 0 - - - f8a4 f8a3 f8a2 f8a1 f8a0 range a 2 nd parameter 1 1 0 - - - f8b4 f8b3 f8b2 f8b1 f8b0 range b 3 rd parameter 1 1 0 - - - f8c4 f8c3 f8c2 f8c1 f8c0 range c 4 th parameter 1 1 0 - - - f8d4 f8d3 f8d2 f8d1 f8d0 range d description select frame freq. in normal display mode.(idle;8 c olor mode) 1 st parameter : frame freq. value set in temp range 30 (-30 ) to ta 2 nd parameter : frame freq. value set in temp range ta to tb 3 rd parameter : frame freq. value set in temp range tb to tc 4 th parameter : frame freq. value set in temp range tc to 145(90 ) restriction register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default default value status fa[4:0] fb[4:0] fc[4:0] fd[4:0] power on sequence 06h 0bh 0dh 12h s/w reset 06h 0bh 0dh 12h h/w reset 06h 0bh 0dh 12h
ST7637 ver 1.6 167/210 2009/03 flow chart 1st parameter. f8a[4:0] 2nd parameter. f8b[4:0] 3rd parameter. f8c[4:0] 4th parameter. f8d[4:0] frm8sl
ST7637 ver 1.6 168/210 2009/03 9.1.70. tmprng: temp. range set for frame freq. adj . (f2h) a0 rd wr d7 d6 d5 d4 d3 d2 d1 d0 hex command 0 1 0 1 1 1 1 0 0 1 0 (f2h) 1 st parameter 1 1 0 - ta6 ta5 ta4 ta3 ta2 ta1 ta0 range a 2 nd parameter 1 1 0 - tb6 tb5 tb4 tb3 tb2 tb1 tb0 range b 3 rd parameter 1 1 0 - tc6 tc5 tc4 tc3 tc2 tc1 tc0 range c description temp. range set for automatic frame freq. adj. oper ation according the current temp. value. 1 st parameter: temp. range a value set 2 nd parameter: temp. range b value set 3 rd parameter: temp. range c value set ta/tb/tc temperature( ) + 40 = ta/tb/tc[6 :0] example: if ta wants to be set at 24 , ta[6:0]=24+40=64(40h), restriction -40 ta ta+th tb tb+th tc 87 register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default default value status ta[6:0] tb[6:0] tc[6:0] power on sequence 1eh 28h 32h s/w reset 1eh 28h 32h h/w reset 1eh 28h 32h
ST7637 ver 1.6 169/210 2009/03 flow chart
ST7637 ver 1.6 170/210 2009/03 9.1.71. tmphys: temp. hysteresis set for frame freq . adj. (f3h) a0 rd wr d7 d6 d5 d4 d3 d2 d1 d0 hex command 0 1 0 1 1 1 1 0 0 1 1 (f3h) 1 st parameter 1 1 0 - - - - th3 th2 th1 th0 description temp. hysteresis range set for frame freq. adj. parameter th[3:0] is used to set temp. hysteresis r ange. the relationship between temp. state and temp. rang e value is shown below. temp range value temp rising state temp falling sta te freq. changing point a ta[6:0]+th[3:0] ta[6:0] freq. changing point b tb[6:0]+th[3:0] tb[6:0] freq. changing point c tc[6:0]+th[3:0] tc[6:0] th temperature( ) C 1 = th[3:0] example: if th wants to set 5 , th[3:0]=5 -1=4. restriction temp. hysteresis value should be smaller than the g ap of temp. range. register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default status default value(th[3:0]) power on sequence 04h s/w reset 04h h/w reset 04h
ST7637 ver 1.6 171/210 2009/03 flow chart
ST7637 ver 1.6 172/210 2009/03 9.1.72. tempsel: temperature gradient compensation coefficient set (f4h) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex tempsel 0 1 0 1 1 1 1 0 1 0 0 (f4h) 1 st parameter 1 1 0 mt13 mt12 mt11 mt10 mt03 mt02 mt01 mt00 mt1x: (-24 o c to -32 o c ) mt0x: (-32 o c to -40 o c ) 2 nd parameter 1 1 0 mt33 mt32 mt31 mt30 mt23 mt22 mt21 mt20 mt3x: (-8 o c to -16 o c ) mt2x: (-16 o c to -24 o c ) 3 rd parameter 1 1 0 mt53 mt52 mt51 mt50 mt43 mt42 mt41 mt40 mt5x: (8 o c to 0 o c ) mt4x: (0 o c to -8 o c ) 4 th parameter 1 1 0 mt73 mt72 mt71 mt70 mt63 mt62 mt61 mt60 mt7x: (24 o c to16 o c ) mt6x: (16 o c to 8 o c ) 5 th parameter 1 1 0 mt93 mt92 mt91 mt90 mt83 mt82 mt81 mt80 mt9x: (40 o c to 32 o c ) mt8x: (32 o c to 24 o c ) 6 th parameter 1 1 0 mtb3 mtb2 mtb1 mtb0 mta3 mta2 mta1 mta0 mtbx: (56 o c to 48 o c ) mtax: (48 o c to 40 o c ) 7 th parameter 1 1 0 mtd3 mtd2 mtd1 mtd0 mtc3 mtc2 mtc1 mtc0 mtdx: (72 o c to 64 o c ) mtcx: (64 o c to 56 o c ) 8 th parameter 1 1 0 mtf3 mtf2 mtf1 mtf0 mte3 mte2 mte1 mte0 mtfx: (87 o c to 80 o c ) mtex: (80 o c to 72 o c ) note: - dont care description this command defines temperature gradient compensat ion coefficient. for this command detail description and opearation, please see secti on 7.11. parameter n mt n 3 mt n 2 mt n 1 mt n 0 voltage / o c 0 0 0 0 0 +5 mv / o c 1 0 0 0 1 0 mv / o c 2 0 0 1 0 -5 mv / o c 3 0 0 1 1 -10 mv / o c : : : : : : : : : : : : : : : : : : 12 1 1 0 0 -55 mv / o c 13 1 1 0 1 -60 mv / o c 14 1 1 1 0 -65 mv / o c 15 1 1 1 1 -70 mv / o c voltage / o c (+/- 3mv tolerance) restriction pleasse refer to the specification in absolute maxi mum ratings for operating voltage range.
ST7637 ver 1.6 173/210 2009/03 register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default status default value (mtn[3:0]) power on sequence s/w reset h/w reset 1 st parameter 0xff 2 nd parameter 0x36 3 rd parameter 0x04 4 th parameter 0x00 5 th parameter 0x33 6 th parameter 0x42 7 th parameter 0xc4 8 th parameter 0x59 flow chart
ST7637 ver 1.6 174/210 2009/03 9.1.73. thys : temperature detection threshold(f7h) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex thys 0 1 0 1 1 1 1 0 1 1 1 (f7h) parameter 1 1 0 thys7 thys6 thys5 thys4 thys3 thys2 thys1 thys0 - note: - dont care description temperature detection threshold setting. restriction register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default status default value d[7:0] power on sequence 06h s/w reset 06h h/w reset 06h flow chart
ST7637 ver 1.6 175/210 2009/03 9.1.74. frame set: frame pwm set (f9h) command a0 /rd /wr d7 d6 d5 d4 d3 d2 d1 d0 hex frame1 set 0 1 0 1 1 1 1 1 0 0 1 (f9h) 1 st parameter 1 1 0 - - - p14 p13 p12 p11 p10 - 2 nd parameter 1 1 0 - - - p24 p23 p22 p21 p20 - : : : : : : : : : : : : - 15 th parameter 1 1 0 - - - p154 p153 p152 p151 p150 - 16 th parameter 1 1 0 - - - p164 p163 p162 p161 p160 - note: - dont care description this command is used to set frame pwm. restriction register availability status availability normal mode on, idle mode off, sleep out yes normal mode on, idle mode on, sleep out yes partial mode on, idle mode off, sleep out yes partial mode on, idle mode on, sleep out yes sleep in yes default status default value power on sequence -- s/w reset -- h/w reset -- flow chart
ST7637 ver 1.6 176/210 2009/03 note: the default value of rgb level set rgb level0 00 rgb level1 01 rgb level2 02 rgb level3 04 rgb level4 06 rgb level5 07 rgb level6 09 rgb level7 0a rgb level8 0b rgb level9 0c rgb level10 0d rgb level11 0f rgb level12 11 rgb level13 12 rgb level14 17 rgb level15 1a all the modulation range of each level for each fra me is from 00h to 1fh.
ST7637 ver 1.6 177/210 2009/03 10. specifications 10.1 absolute maximum ratings (vss = 0v) item symbol value unit supply voltage 1 v dd, v dd1 - 0.3 ~ + 3.0 v supply voltage 2 v dd2,vdd3,vdd4,vdd5 - 0.3 ~ + 4.2 v supply voltage 3 v max (v0- xv0 ) - 0.3 ~ + 18.0 v input voltage range v in - 0.3 ~ v dd + 0.3 v operating temperature range t opr - 30 ~ + 85 c storage temperature range t stg - 40 ~ + 125 c note: (1). voltages are all based on vss = 0v. (2). voltage relationship: v0 R vg R vm R vss R xv0 must always be satisfied.
ST7637 ver 1.6 178/210 2009/03 10.2 dc characteristics 10.2.1. basic characteristics (v ss =0v,ta = -30 to 85c) parameter symbol conditions related pins min typ max unit logic operating voltage v ddi - *2)vdd,vdd1 1.65 1.8 3.0 analog operating voltage v dda - *2)vdd2,3,4,5 2.4 2.75 3.3 driving voltage input v lcd v0 C xv0 *3)v0, xv0 - - 18.0 high level input voltage v ih *1) *2) 0.7v dd - v dd low level input voltage v il - *1) *2) v ss - 0.3v dd high level output voltage v oh i oh = -1.0ma 0.8v dd - v dd low level output voltage v ol i ol = +1.0ma *2) si, te v ss - 0.2v dd v input leakage current i il v in = v dd or v ss *1) *2) -1.0 - +1.0 a driver on resistance (seg) r onseg vg = 2.8v, ta=25 s0 to s395 - - 1 driver on resistance (com) r oncom vg = 2.8v, ta=25 c0 to c131 - - 1 k frame rate fr ta=25 , n-line=0x00, duty=128, - - 77 - hz voltage follower output voltage vm vm 0.7 vg/2 vdda-0.7 v booster2 output voltage range vg vg 1.8 - 5 v note: *1) applies to if1, if2, if3, /cs, /rst, /wr, /rd, a0(scl) and d15-d2, d1 (a0) ,d0(si) pins *2) *3) when the measurements are performed with lc d module, measurement points are like below. *4) vdda cannot be higher than 3v while vddi<1.7v.
ST7637 ver 1.6 179/210 2009/03 10.2.2. current consumption current consumption typical maximum operation mode condition idd (ma) idd (ma) - normal mode 1. 1/2 gray pattern 2. vddi=1.8v, vdda=2.8v 2. vop=12v, bias=1/9. n=0x00, fr=77hz, x8 booster, ta=25 0.6 0.9 - sleep in mode vddi=1.8v, vdda=2.8v, ta=25 0.01 0.018 note: the current consumption is dc characteristics.
ST7637 ver 1.6 180/210 2009/03 11. timing characteristics 11.1 parallel interface characteristics bus (8080-s eries mcu) (v dd =2.8v, ta= 25c, die) rating item signal symbol condition min. max. units address hold time tah8 15 address setup time a0 taw8 15 system cycle time (write) tcyc8 170 ns /wr l pulse width (write) tcclw 50 /wr h pulse width (write) wr tcchw 100 system cycle time (read) tcyc8 60 /rd l pulse width (read) tcclr 40 /rd h pulse width (read) rd (id) tcchr when read id data 20 system cycle time (read) tcyc8 350 /rd l pulse width (read) tcclr 100 /rd h pulse width (read) rd (fm) tcchr when read from frame memory 250 write data setup time tds8 50 write data hold time tdh8 10 read access time (id) tacc8 (id) 50 read access time (fm) tacc8 (fm) cl = 30 pf 70 read output disable time d0 to d7 toh8 cl = 30 pf 60 ns
ST7637 ver 1.6 181/210 2009/03 (v dd =1.8v, ta= 25c, die) rating item signal symbol condition min. max. units address hold time tah8 15 address setup time a0 taw8 15 system cycle time (write) tcyc8 260 ns /wr l pulse width (write) tcclw 80 /wr h pulse width (write) wr tcchw 170 system cycle time (read) tcyc8 110 /rd l pulse width (read) tcclr 70 /rd h pulse width (read) rd (id) tcchr when read id data 25 system cycle time (read) tcyc8 450 /rd l pulse width (read) tcclr 140 /rd h pulse width (read) rd (fm) tcchr when read from frame memory 300 write data setup time tds8 60 write data hold time tdh8 10 read access time (id) tacc8 (id) 60 read access time (fm) tacc8 (fm) cl = 30 pf 90 read output disable time d0 to d7 toh8 cl = 30 pf 80 ns *1 the input signal rise time and fall time (tr, tf ) is specified at 15 ns or less. when the system cy cle time is extremely fast, (tr +tf) (tcyc8 C tcclw C tcchw) for (tr + tf) (tcyc8 C tcclr C tcchr) are specified. *2 all timing is specified using 20% and 80% of vdd as the reference. *3 tcclw and tcclr are specified as the overlap bet ween /cs being l and wr and rd being at the l l evel.
ST7637 ver 1.6 182/210 2009/03 11.2 parallel interface characteristics bus (6800-s eries mcu) (v dd =2.8v, ta= 25c, die) rating item signal symbol condition min. max. units address hold time tah8 10 address setup time a0 taw8 10 system cycle time (write) tcyc8 130 ns /wr l pulse width (write) tcclw 85 /wr h pulse width (write) e tcchw 45 system cycle time (read) tcyc8 65 /rd l pulse width (read) tcclr 15 /rd h pulse width (read) rd (id) tcchr when read id data 35 system cycle time (read) tcyc8 250 /rd l pulse width (read) tcclr 130 /rd h pulse width (read) rd (fm) tcchr when read from frame memory 120 write data setup time tds8 50 write data hold time tdh8 10 read access time (id) tacc8 (id) 70 read access time (fm) tacc8 (fm) cl = 30 pf 70 read output disable time d0 to d7 toh8 cl = 30 pf 60 ns
ST7637 ver 1.6 183/210 2009/03 (v dd =1.8v, ta= 25c, die) rating item signal symbol condition min. max. units address hold time tah8 10 address setup time a0 taw8 10 system cycle time (write) tcyc8 210 ns /wr l pulse width (write) tcclw 150 /wr h pulse width (write) e tcchw 60 system cycle time (read) tcyc8 110 /rd l pulse width (read) tcclr 25 /rd h pulse width (read) rd (id) tcchr when read id data 70 system cycle time (read) tcyc8 400 /rd l pulse width (read) tcclr 200 /rd h pulse width (read) rd (fm) tcchr when read from frame memory 200 write data setup time tds8 60 write data hold time tdh8 10 read access time (id) tacc8 (id) 60 read access time (fm) tacc8 (fm) cl = 30 pf 90 read output disable time d0 to d7 toh8 cl = 30 pf 80 ns *1 the input signal rise time and fall time (tr, tf ) is specified at 15 ns or less. when the system cy cle time is extremely fast, (tr +tf) (tcyc6 C tewlw C tewhw) for (tr + tf) (tcyc6 C tewlr C tewhr) are specified. *2 all timing is specified using 20% and 80% of vdd as the reference. *3 tewlw and tewlr are specified as the overlap bet ween /cs being l and e.
ST7637 ver 1.6 184/210 2009/03 11.3 serial interface characteristics (4-pin serial ) /cs scl si (din) si (dout) v ih v ih v ih v ih v il v il v il v il t css t scycw /t scycr t csh t chw t scc t slw /t slr t shw /t shr t sds t sdh t acc t oh t sas t sah a0 (v dd =2.8v, ta= 25c, die) rating item signal symbol condition min. max. units serial clock period (write) tscycw 60 scl h pulse width (write) tshw 30 scl l pulse width (write) tslw 30 serial clock period (read) tscycr 130 scl h pulse width (read) tshr 65 scl l pulse width (read) scl tslr 65 address setup time tsas 10 address hold time a0 tsah 20 data setup time tsds 10 data hold time tsdh 20 data access time tacc cl=30pf 50 output disable time si toh cl=30pf 50 chip select setup time tcss 30 chip select hold time tcsh 30 chip select "h" pulse width /cs tchw 0 ns
ST7637 ver 1.6 185/210 2009/03 (v dd =1.8v, ta= 25c, die) rating item signal symbol condition min. max. units serial clock period (write) tscycw 70 scl h pulse width (write) tshw 35 scl l pulse width (write) tslw 35 serial clock period (read) tscycr 150 scl h pulse width (read) tshr 70 scl l pulse width (read) scl tslr 70 address setup time tsas 10 address hold time a0 tsah 25 data setup time tsds 10 data hold time tsdh 25 data access time tacc cl=30pf 60 output disable time si toh cl=30pf 60 chip select setup time tcss 35 chip select hold time tcsh 35 chip select "h" pulse width /cs tchw 0 ns *1 the input signal rise and fall time (tr, tf) are specified at 15 ns or less. *2 all timing is specified using 20% and 80% of vdd as the standard.
ST7637 ver 1.6 186/210 2009/03 11.4 serial interface characteristics (3-pin serial ) (v dd =2.8v, ta= 25c, die) rating item signal symbol condition min. max. units serial clock period (write) tscyc 60 scl h pulse width (write) tshw 30 scl l pulse width (write) tslw 30 serial clock period (read) tscyc 130 scl h pulse width (read) tshw 65 scl l pulse width (read) scl tslw 65 data setup time tsds 10 data hold time tsdh 20 data access time tacc cl=30pf 50 output disable time si toh cl=30pf 50 chip select setup time tcss 30 chip select hold time tcsh 30 chip select "h" pulse width /cs tchw 0 ns
ST7637 ver 1.6 187/210 2009/03 (v dd =1.8v, ta= 25c, die) rating item signal symbol condition min. max. units serial clock period (write) tscyc 70 scl h pulse width (write) tshw 35 scl l pulse width (write) tslw 35 serial clock period (read) tscyc 150 scl h pulse width (read) tshw 70 scl l pulse width (read) scl tslw 70 data setup time tsds 10 data hold time si tsdh 25 data access time tacc cl=30pf 60 output disable time toh cl=30pf 60 chip select setup time tcss 35 chip select hold time tcsh 35 chip select "h" pulse width /cs tchw 0 ns *1 the input signal rise and fall time (tr, tf) are specified at 15 ns or less. *2 all timing is specified using 20% and 80% of vdd as the standard.
ST7637 ver 1.6 188/210 2009/03 11.5 ouput access/disable timing measurement method parallel interface (8080-series) serial interface (3-line) note: 1. pull-up/pull-down resistor: 3k  5% ; pull-up/pull-down capacitor: 8 or 30 pf 10% 2. capacitances and resistances of the oscilloscope s probe must be included externals components in t hese measurements.
ST7637 ver 1.6 189/210 2009/03 11.5.1.1. minimum value measurement parallel interface (8080-series) serial interface (3-line)
ST7637 ver 1.6 190/210 2009/03 11.5.1.2. maximum value measurement parallel interface (8080-series) serial interface (3-line)
ST7637 ver 1.6 191/210 2009/03 12. reset timing (v dd=2.8v , ta = 25c ) rating item signal symbol condition min. max. units reset l pulse width trw 10 us 5 (*note 5) ms reset time /rst trt 120 (*note 6,7) ms (v dd=1.8v , ta = 25c ) rating item signal symbol condition min. max. units reset l pulse width trw 10 us 5 (*note 5) ms reset time /rst trt 120 (*note 6,7) ms notes: 1. the reset cancel includes also required time for loading id bytes, vcom setting and other settings from eeprom (or similar device) to registers. this loadi ng is done every time when there is hw reset cancel time (trt) within 5 ms after a rising edge of rst 2. spike due to an electrostatic discharge on rst l ine does not cause irregular system reset according to the table below: rst pulse action shorter than 5 s reset rejected longer than 9 s reset between 5 s and 9 s reset starts
ST7637 ver 1.6 192/210 2009/03 3. during the resetting period, the display will be blanked (the display is entering blanking sequence , which maximum time is 120 ms, when reset starts in sleep out Cmode. the display remains the blank state in s leep in Cmode.) and then return to default condition for hardware reset. 4. spike rejection also applies during a valid rese t pulse as shown below: 5. when reset applied during sleep in mode. 6. when reset applied during sleep out mode. 7. it is necessary to wait 5msec after releasing rs t before sending commands. also sleep out command cannot be sent for 120msec.
ST7637 ver 1.6 193/210 2009/03 13. the mpu interface (reference examples) the ST7637 series can be connected to either 8080 s eries mpus or to 6800 series mpus. moreover, using the serial interface it is possible to operate the ST7637 seri es chips with fewer signal lines. the display area can be enlarged by using multiple ST7637 series chips. when this is done, the chip se lect signal can be used to select the individual ics to access. (1) 8080 series mpus mpu ST7637 (2) 6800 series mpus mpu ST7637 (3) using the serial interface (4-line interface) mpu ST7637
ST7637 ver 1.6 194/210 2009/03 (4) using the serial interface (3-line interface) mpu ST7637
ST7637 ver 1.6 195/210 2009/03 a C application note a1a C 80 series 8-bit parallel interlace mode if[3:1] hhl cls h (internal osc) csel h c1 1uf/16v c2 1uf/25v c3 1uf/16v
ST7637 ver 1.6 196/210 2009/03 a1b C 80 series 16-bit parallel interlace mode if[3:1] hhh cls h (internal osc) csel h c1 1uf/16v c2 1uf/25v c3 1uf/16v
ST7637 ver 1.6 197/210 2009/03 a1c C 68 series 8-bit parallel interlace mode f[3:1] hll cls h (internal osc) csel h c1 1uf/16v c2 1uf/25v c3 1uf/16v
ST7637 ver 1.6 198/210 2009/03 a1d C 68 series 16-bit parallel interlace mode if[3:1] hlh cls h (internal osc) csel h c1 1uf/16v c2 1uf/25v c3 1uf/16v
ST7637 ver 1.6 199/210 2009/03 a1e C 4-line serial interlace mode fpc fpc interface ito si rst /cs ext (test point) scl c1 vss vdda vddi c3 vpp (test point) c2 a0 21 22 23 24 vss 25 vpp 26 vpp 27 vpp 28 vpp 29 dummy 57 dummy 58 cl 59 cls 60 61 62 vdd 63 a0 64 rw_wr 65 d0 66 d1 67 d2 68 d3 69 d4 70 d5 71 d6 72 d7 73 d8 74 d9 75 d10 76 d11 77 d12 78 d13 79 d14 80 d15 81 e_rd 82 rst 83 csel 84 if1 85 if2 86 if3 87 vss 88 vdd 89 /cs 90 /ext 91 te 92 tcap 93 vdd 94 vdd 95 vdd 96 vdd 97 vdd1 98 vdd1 99 vss1 100 vss1 101 vss 108 vss 109 102 vss 103 vss 110 vss2 111 vss2 126 vss2 127 vss4 vss4 vdd3 vdd3 vref vdd4 vdd4 vdd5 vdd5 vdd5 vdd5 vdd5 vdd5 vdd5 vdd5 vdd2 vdd2 vdd2 vdd2 vdd2 vdd2 vdd2 vdd2 vdd2 vdd2 vm vm v0in v0in v0in v0in v0s v0out v0out xv0out xv0out xv0s xv0in xv0in xv0in xv0in vgout vgin vgin vgin 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 172 173 174 175 176 177 178 1 com38 2 com4 17 com6 689 com40 688 com42 645 com128 644 com130 643 seg395 642 seg394 249 seg1 248 seg0 ST7637 com36 18 19 20 com 2 com 0 detgbi dummy dummy 181 182 183 179 180 vss detgbo com 1 com 3 vss 247 com131 246 com129 203 com43 202 com41 201 com39 200 com5 185 com7 com37 184 vss vdd vss2 vgout vgs vgin vgin vgin vgin vgin 171 if[3:1] lhh cls h (internal osc) csel h c1 1uf/16v c2 1uf/25v c3 1uf/16v
ST7637 ver 1.6 200/210 2009/03 a1f C 3-line serial interlace mode 21 22 23 24 vss 25 vpp 26 vpp 27 vpp 28 vpp 29 dummy 57 dummy 58 cl 59 cls 60 61 62 vdd 63 a0 64 rw_wr 65 d0 66 d1 67 d2 68 d3 69 d4 70 d5 71 d6 72 d7 73 d8 74 d9 75 d10 76 d11 77 d12 78 d13 79 d14 80 d15 81 e_rd 82 rst 83 csel 84 if1 85 if2 86 if3 87 vss 88 vdd 89 /cs 90 /ext 91 te 92 tcap 93 vdd 94 vdd 95 vdd 96 vdd 97 vdd1 98 vdd1 99 vss1 100 vss1 101 vss 108 vss 109 102 vss 103 vss 110 vss2 111 vss2 126 vss2 127 vss4 vss4 vdd3 vdd3 vref vdd4 vdd4 vdd5 vdd5 vdd5 vdd5 vdd5 vdd5 vdd5 vdd5 vdd2 vdd2 vdd2 vdd2 vdd2 vdd2 vdd2 vdd2 vdd2 vdd2 vm vm v0in v0in v0in v0in v0s v0out v0out xv0out xv0out xv0s xv0in xv0in xv0in xv0in vgout vgin vgin vgin 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 172 173 174 175 176 177 178 689 com40 688 com42 645 com128 644 com130 643 seg395 642 seg394 249 seg1 248 seg0 19 20 com 2 com 0 detgbi dummy dummy 181 182 183 179 180 vss detgbo com 1 com 3 vss 247 com131 246 com129 203 com43 202 com41 vss vdd vss2 vgout vgs vgin vgin vgin vgin vgin 171 fpc fpc interface ito si rst /cs ext (test point) scl c1 vss vdda vddi c3 vpp (test point) c2 if[3:1] lhl cls h (internal osc) csel h c1 1uf/16v c2 1uf/25v c3 1uf/16v
ST7637 ver 1.6 201/210 2009/03 a2 C power on flow and sequence: poweron keepingthe/respin="l"and waitingforstabilizingthepower /respin="h"andwaitaminute(t r >120ms) internal state /res poweron vdd i (digital) reset t rw > 10us initiallcm vdd a (analog) trtw internal state t rw /res poweron vdd i (digital) reset > 10us initiallcm vdd a (analog) trtw initiallcm displayoff sleepout vopsetting boostercontrol functionsetting writeddram displayon trtw>=0 trtw>=0 normaloperating t rw t rw
ST7637 ver 1.6 202/210 2009/03  a3 C power off flow and sequence normaloperating internal state t rw /res normaloperating vdd a (analog) reset poweroff keepthe/res=low vdd i (digital) tfpw tfpw>=0 turnoffpower(vdd&vdd2) poweroff keeping/respin=l waitpowerturningoff(t r >120ms) t rw =120ms t pfall note: 1. when turning vdd a off, the falling time should follow the specificat ion: t pfall 300msec 2. if the power off flow cannot meet this specificati on, its recommend to use the resistor shown as blo w.
ST7637 ver 1.6 203/210 2009/03  a4 Cotp burning flow: hwreset restartlcdmodule removevssfrom/ext remove7.5vfromvpp vppconnectto7.5v /extconnecttovss delay120ms checkdisplay performance initiallcdmodule otpcregistersetting showimageand finetunevop otpcwritting + c1 c2 key adjustvopoffset (softwarecodingflow)
ST7637 ver 1.6 204/210 2009/03  a5 Csoftware coding flow: void initial_lcd_module ( void ) { //-----------disable autoread + manual read once -- ----------------------------- write(command,0xd7); // auto load set write(data,0x9f); // auto load disable write(command,0xe0); // ee read/write mode write(data,0x00); // set read mode delayms(10); // delay 10ms write(command,0xe3); // read active delayms(20); // delay 20ms write(command,0xe1); // cancel control //---------------------------------- sleep out ---- ----------------------------------------- write(command, 0x28 ); // display off write(command, 0x11 ); // sleep out delayms(50); //delay 50ms //--------------------------------vop setting------ ------------------------------------------ write(command,0xc0); //set vop by initial module write(data, 0x09); //vop = 14.2v write(data, 0x01); // base on module //----------------------------set register-------- ---------------------------------- write(command,0xc3); // bias select write(data,0x03); // 1/9 bias, base on module write(command,0xc4); // setting booster times write(data,0x07); // booster x 8 write(command,0xc5); // booster eff write(data,0x01); // be = 0x01 (level 2) write(command,0xcb); // vg with booster x2 control write(data,0x01); // vg from vdd2 write(command,0xd0); // analog circuit setting write(data,0x1d); // write(command,0x3a); // color mode = 65k
ST7637 ver 1.6 205/210 2009/03 write(data,0x05); // write(command,0x36); // memory access control write(data,0x00); write(command,0xb0); // duty = 132 duty write(data,0x83); write(command,0x20); // display inversion off 1. set gamma table for module, please refer spec se tting. 2. set temp compensation for module, please refer s pec setting. write(command,0x2a); // col// write(data,0x00); // 0~127 write(data,0x7f); write(command,0x2b); // page // write(data,0x00); // 0~127 write(data,0x7f); } void set_otpc_register ( void ) { //--------------------------------set otpc register ---------------------------------------- write(command, 0xcd ); //id2 write(data, 0x80 ); write(command, 0xb5 ); // n-line write(data, 0x03); // rst, 4-line inversion write(command,0xd0); // analog circuit setting write(data,0x1d); // write(command,0xd7); //auto read set write(data,0x9f); //otpb disable } note#1 void fine_tune_vop ( void ) {
ST7637 ver 1.6 206/210 2009/03 //------------------------------------- show map -- --------------------------------------------- show_image(); //display a image //------------------------------------ display on - ---------------------------------------------- write(command, 0x29 ); // display on //--------------------------------fine tune vop off set---------------------------------------- write( command, 0xc1); or write( command, 0xc2); //fine tuning vop here by command 0xc1(vopoffsetinc),0xc2(vopoffsetdec). note#2 } void otpc_writing ( void ) { //--------------------------------display off------ ---------------------------------- write(command, 0x28 ); // display off delayms(50); // delay 50ms //--------------------------------otpc writing----- ----------------------------------- write( command, 0x00f0 ); // keep frame rate write( data, 0x0012 ); // write( data, 0x0012 ); write( data, 0x0012 ); write( data, 0x0012 ); write( command, 0x00e4 ); //otp selection write( data, 0x0058 ); // select otpc write( command, 0x00e5 ); // set otp writing setup write( data, 0x000c ); write( command, 0x00e0 ); // read/write mode setting write( data, 0x0020 ); // set write mode delayms(100); // delay 100ms write( command, 0x00e2 ); // write active delayms(100); // delay 100ms write( command, 0x00e1 ); // cancel control }
ST7637 ver 1.6 207/210 2009/03 void gamma_table( void ) { write(command,0xf9); // write(data,0x00); // write(data,0x02); // write(data,0x04); // write(data,0x06); // write(data,0x08); // write(data,0x0a); // write(data,0x0c); // write(data,0x0e); // write(data,0x10); // write(data,0x12); // write(data,0x14); // write(data,0x16); // write(data,0x18); // write(data,0x1a); // write(data,0x1c); // write(data,0x1e); // } void temp_compensation( void ) { write(command,0xf0); //frame frequency in temp write(data,0x06); //45hz (-30^c ~ -10^c) write(data,0x0b); //60hz (-10^c ~ 0^c) write(data,0x0d); //72hz (0^c ~ 10^c) write(data,0x12); //77hz (10^c ~ 90^c) write(command,0xf7); //temp sensitivity setting write(data,0x06); // write(command,0xf4); //tc curve write(data,0xff); // write(data,0x36); // write(data,0x04); // write(data,0x00); // write(data,0x33); //
ST7637 ver 1.6 208/210 2009/03 write(data,0x42); // write(data,0xc4); // write(data,0x59); // } note: #1 if the vop and display performance is not suita ble after burning otp the vop has to refine tune. #2 in this section+ & - key button, please exe cute write(command,0xc1) to increase one step at vop and execute write(command,0xc2) to decrease one step at vop, if necessary. #3 the tc is turn on in burning flow. if lcd modul e is too dark or bright, its an effect of backligh t.
ST7637 ver 1.6 209/210 2009/03  a6 - selection of application voltage  vop requirement: [vdda x bs x be] R vop  bs is vop booster stage and be is booster efficien cy. referential values are listed below: (assume vdda=2.8v, vop booster stage=x8) n-line setting=0x00: be=77% n-line setting=0x01: be=66% n-line setting=0x06: be=74% actual be should be determined by adding module lo ading and ito resistance value.  vdda<3v: 3v Q vg Q 2xvdda, vdda R 3v: 1.8v Q vg Q 2xvdda.  vm=vg/2 and 0.7v ST7637 ver 1.6 210/210 2009/03 ST7637 serial specification revision history version date description 0.x preliminary version 1.0 2007/01 first issue 1.1 2007/03 1. modfity application note example circuit ST7637 pad name 2. remove command b4h. 3. modify resolution value of example2 in vertical scroll example. 1.2 2007/04 1. specify otp and otpb register. 2. modify application note a1b and a1d. 3. modify application note a3 for abnormal power of f. 1.3 2007/05 1. redefine the programming mechanism of non-volati lity memory. 2. modify type error in command 0xc2h. 1.4 2007/10 1. specify relationship between vg, vdda and vddi. 2. add application note for selection of applicatio n voltage. 3. redefine the value of sleep current. 1.5 2008/07 1. remove external clock function. 2. fix type error in command 0x0f. 3. remove id code setting and modify temperature co mpensation setting suggestion in initial code. 4. remove un-necessary characteristics. 1.6 2009/03 1. correct some type errors.


▲Up To Search▲   

 
Price & Availability of ST7637

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X