中文字库液晶显示模块使用手册CM320240-7SLYB

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

CM320240-7SLYB3TEL0755-2613716926622598FAX0755-26736698http:@szcm-lcd.comhttp:@szLcm.com1.CM320240-7512KByteROM(TwoPage)CM320240-78080/6800MCU4-Bit8-Bit16x164/8x1516x1632x3248x4864x64512ByteSRAMCM320240-710-BitADC4x88x8(KeyScan)2Page(And,Or,Nor,Xor)4.8KByteRAM(DisplayDataRAM)9.6KByteRAM512KByteROMBIG513,094408ASCIICODE7602GB(16x16)(8x16)4/86800/8080MCU8x8(KeyScan)512ByteSRAM/32x3248x4864x64ROM10-BitADC3-28080MCUCM320240-73.(MCU)CM320240-780806800MCU80803.18080MCU3-18080MCUCM320240-78080MCUCM320240-7“L”CM320240-7(RegisterAccessCycle)RS“H”DisplayRAMData(DataAccessCycle)80806800“RS”PinMCUAddressPin“A0”8080MCU6800ReadWriteRDLowWRLowRS3-2MCUMCU8080MCUCM320240-7DisplayRAMMCUDisplayRAM8080MCUDisplayRAMMCU3.26800MCU3-3CM320240-76800MCU6800MCU6800MCUReadWritePinR/W#HighR/W#LowEN(Enable)RSCM320240-768008080MCUMCURD#(EN)MCU8080RD#6800MCUENWR#(R/W#)MCU8080WR#6800MCUR/W#3-46800MCUCM320240-7MCUMCU6800CM320240-7DisplayRAMMCUDisplayRAM6800MCUDisplayRAMMCU3-48-bit6800MCUCM320240-7/Data/3.34Bit/8BitMCUCM320240-780806800MCUMCU4-Bit8-Bit8-BitR14R154-BitR10R134-BitIC8-Bit4-BitMCU(Cycle)4-bitMCUCM320240-7MCUD3~D0D7~D4PullLowNibble(4-Bit)D3~D0(DB3~DB0)Bit[7..4](D3~D0)Bit[3..0]4.ROMCM320240-7512KByte16x16ROM(FontROM)8x16ASCII8x1616x16REG[F1h]32x3248x4864x64BIG513,094408ASCIICODE7602GB[F0h]ROMBit6ROMROMBit[5..4]“01”Bit[5..4]“10”REG[F0h]FontControlRegister(FCR)BitDescriptionText/GraphDefaultAccess7ROM10Bypass--1hR/W6ROMbit5~4”00”ROMMode0256KBROM1256KBROM0256KBROM--0hR/W5-4ROM00GB(256KB,Mode0)01BIG5(512KB,Mode1)10GB(512KB,Mode2)--0hR/W2ASCII1DataASCII(00~FFh)0Data00~9FhASCII()A0~FFhGB/BIG5()Text0hR/WGBBIG5ByteASCIIByte(00h~FFh)DisplayRAMData(00h~9Fh)ASCII(8x16)“A0h”()A0h~FFhASCIIMCUData(ASCII)DisplayRAM[F0h]Bit2“1”5.5.1WakeupREG[00]bit7-6”00”(OFFMODE),(Wake-UP)CM320240-71,MCU[00]bit7-6”11”(NormalMode)2.TouchPanel[A0]bit2”1”[C0]bit3=”1”OFF-modeINT”0””1”unsignedcharintr=Lcd_regread(0xA0)|0x04;unsignedchartpcr=Lcd_regread(0xC0)&0xf8;tpcr|=0x80;Lcd_regwrite(0xA0,intr);//REG[A0]:bit2=1Lcd_regwrite(0xC0,tpcr);//REG[C0]:bit[3..0]=1000::3.KeySCAN:INTunsignedcharkscr=Lcd_regread(0xA1)|0x80;unsignedcharintr=Lcd_regread(0xA0)|0x08;Lcd_regwrite(0xA1,kscr);//REG[A1]:bit7=1(KeyScan)Lcd_regwrite(0xA0,intr);//REG[A0]:bit3=1::5.25.2.1CM320240-7()()16x168x165-15-2()()CM320240-7Bit-MapCM320240-7(GBBIG5)ByteMCU8-BitMCUHighByte&LowByte)CM320240-7Byte16x164/8x158x164/8x305-15-2()5-25-1:BIG5A4A4A4E5A4E5A672/2FB9CF2FL4CC43D44B1B1A8EEBEB9MOVA,#A4H;“”HighByteCALLDDR_WRITEMOVA,#A4H;“”LowByteCALLDDR_WRITE;“”MOVA,#A4H;“”HighByteCALLDDR_WRITEMOVA,#E5H;“”LowByteCALLDDR_WRITE;“”::5.2.2CM320240-7[10]bit4”1”REG[10h]CursorControlRegister(CCR)BITDescriptionText/GraphDefaultAccess4()01Text1hR/W5.3(bitmap)DisplayRAM5-3REG[00h]LCDControllerRegister(LCR)BITDescriptionText/GraphDefaultAccess31GB/BIG/ASCII0Bit-Map--1hR/W(BitMap)DDRAMDDRAM‘1’LCD5-4DDRAM(LCD)5-4DisplayDataLCD5-4LCD(8051-ASM)MOVA,#60h;(CPXR)CALLREG_WRMOVA,#00h;X=0CALLREG_WRMOVA,#70h;(CPYR)CALLREG_WRMOVA,#00h;Y=0CALLREG_WR;(0,0)MOVA,#E6H;LCD“E6”CALLDDR_WRITE(8051-C)Lcd_regwrite(0x60,0x00);//X=0Lcd_regwrite(0x70,0x00);//Y=0Lcd_datawrite(0xE6);//LCD“E6”DisplayRAM5-55-55.45.4.15-6REG[00h]LCDControllerRegister(LCR)BITDescriptionText/GraphDefaultAccess101[80h]BTRText/Graph0hR/WLCD[00]Bit0REG[00h]LCDControllerRegister(LCR)BITDescriptionText/GraphDefaultAccess010DDRAMText/Graph1hR/W5.4.2LCD[10]Bit55-7(a)1.[10h]bit5=02./LCDBIG5/LCD(b)3.Holdon(a)4.[10h]bit5=15.BIG5LCD6.Holdon7.[10h]bit5=08.BIG5LCD9.Holdon10.[10h]bit5=111.”BIG5LCDREG[10h]CursorControlRegister(CCR)BITDescriptionText/GraphDefaultAccess5(/)DDRAM()1DDRAM0DDRAMText1hR/W5.5/CM320240-75-8“”5-8REG[10h]CursorControlRegister(CCR)BITDescriptionText/GraphDefaultAccess6/10Text1hR/W5-9“”5-95.6LCDOn/OffREG[00h]LCDControllerRegister(LCR)BITDescriptionText/GraphDefaultAccess2LCDIC“DISPOFF#”1“DISPOFF#”High0“DISPOFF#”LowText/Graph0hR/W5.7On/OffREG[10h]CursorControlRegister(CCR)BITDescriptionText/GraphDefaultAccess2On/Off1On0OffText/Graph0hR/W5.85.8.1[60h]CPXRBit[5..0]Segment240(Segment)x64/128(Common)Segment8-Bit“”CPXR=00hCPYR=00h“”CPXR=04hCPYR=00h“”CPXR=00hCPYR=10h5-105-10REG[60h]CursorPositionXRegister(CPXR)BITDescriptionDefaultAccess7-6Reserved0hR5-0Segment0hR/WREG[70h]CursorPositionYRegister(CPYR)BITDescriptionDefaultAccess7-0Common0hR/W[60h]CPXR[70h]CPYR5.8.2REG[10h]CursorControlRegister(CCR)BITDescriptionText/GraphDefaultAccess7BitDDRAM1()0()Text/Graph1hR/W3BitDDRAMEnable1()0()Text/Graph0hR/W5.9REG[10h]CursorControlRegister(CCR)BITDescriptionText/GraphDefaultAccess11[80h]BTR0Text/Graph0hR/W5.9.1REG[80h]BlinkTimeRegister(BTR)BITDescriptionText/GraphDefaultAccess7-0/=Bit[7..0]x(1/Frame_Rate)Text/Graph23hR/WFrameRate=60Hz1/Frame_Rate=1/60Hz=1.67ms=REG[80h]x1.67msREG[80h]=35h=53()=53x16.7ms=885ms5.105.10.1(1~16)REG[11h]DistanceofWordsorLinesRegister(DWLR)BITDescriptionText/GraphDefaultAccess7-4Text2hR/W5.10.2CM320240-7REG[10h]bit0=01Byte(8)REG[10h]bit0=12Byte(16)1ByteREG[10h]CursorControlRegister(CCR)BITDescriptionText/Gra

1 / 65
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功