版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
圖形點(diǎn)陣液晶顯示模塊使用手冊(cè)CM240128-6SLYB北京嘉甬富達(dá)電子技術(shù)有限公司公司地址:北京海淀區(qū)知春路132號(hào)中發(fā)大廈415室TELAX示柜:中發(fā)大廈1038柜TEL-mail:hbcjy@163.com
PHYSICALDATAItemContentsUnitLCDtypeSTN---LCDduty1/128---LCDbias1/12---Viewingdirection6o’clockModulesize(WHT)14410414MAX(5.674.090.55MAX)mmViewingarea(WH)11464(4.492.52)mmNumberofdots240128dotsDotsize(WH)0.400.40(0.0160.016)mmDotpitch(WH)0.450.45(0.0180.018)mmEXTERNALDIMENSIONSBLOCKDIAGRAM
ParameterSymbolMinMaxUnitSupplyvoltageforlogicVDD06.7VSupplyvoltageforLCDVDDVO028VInputvoltageVI0VDDVOperatingtemperatureTOP-2070CStoragetemperatureTST-3080C°CDCCharacteristicsParameterSymbolMinTypMaxUnitmA-20°CVDDVO25°C70°C''''ACCharacteristicsACCharacteristics(1)ParameterSymbolMinMaxUnitOperatingfrequencyfSCP---2.75MHzSCPpulsewidthtCWH,tCWL150---nsSCPrise/falltimetr,tf---30nsLPsetuptimetLSU150290nsLPholdtimetLHD540nsDatasetuptimetDSU170---nsDataholdtimetDHD80---nsFRdelaytimetd090nsCDATAsetuptimetCSU450850nsCDATAholdtimetCHD450950ns
ACCharacteristics(2)ParameterSymbolMinMaxUnitC/DsetuptimetCDS100---nsC/DholdtimetCDH10---nsCE,RD,WRpulsewidthtCE,tRD,tWR80---nsDatasetuptimetDS80---nsDataholdtimetDH40---nsAccesstimetACC---150nsOutputholdtimetOH1050ns
OPERATINGPRINCIPLESMETHODSuFlowchartofCommunicationswithMPUStatusRead Beforesendingdata(Read/Write)command,itisnecessarytocheckthestatus.Statuscheck StatusofT6963Ccanbereadfromdatalines.RDLWRHCELC/DHD0-D7StatuswordT6963Cstatuswordformatisfollowing.MSBLSBSTA7D7STA6D6STA5D5STA4D4STA3D3STA2D2STA1D1STA0D0STA0Checkcapabilityofcommandexecution0:Disable1:EnableSTA1Checkcapabilityofdataread/write0:Disable1:EnableSTA2Checkcapabilityofautomodedataread0:Disable1:EnableSTA3Checkcapabilityofautomodedatawrite0:Disable1:EnableSTA4NotuseSTA5Checkcapabilityofcontrolleroperation0:Disable1:EnableSTA6Errorflag.Usingscreenpeek/copycommand0:Noerror1:ErrorSTA7Checktheconditionblink0:Displayoff1:NormaldisplayNote1:ItisnecessarytocheckSTA0andSTA1atthesametime.Theerrorishappenedbysendingdataatexecutingcommand.Note2:ThestatuscheckwillbeenoughtocheckSTA0/STA1.Note3:STA2/STA3arevalidinautomodeSTA0/STA1areinvalid.StatuscheckingflowAUTOMODESTATUSAUTOMODESTATUSRETURNSTA2=1(STA3=1)YESNOSTATUSSTATUSRETURNSTA0=1STA1=1YESNONote4:ItisimpossibletosavestatuscheckinthecaseofcommandofMSB0.Tohavethedelaytimecannotbesavestatuscheck.Theinterruptofhardwareishappenedattheendoflines.IfcommandofMSB0issentinthisperiod,thecommandexecutingiswaited.Thestateofwaitingdoesn’tbeknownwithouttocheckstatus.Thesendingnextcommandordataisdisregardedorrewritesdataofwaitingcommand.
DataSet InT6963C,thedatahavebeensetandcommandexecutes.TheorderofprocedureofcommandsendingCOMMANDSEDINGENDCOMMANDSEDINGENDSTATUSCHECKDATAWRITESTATUSCHECKCOMMANDWRITE2.Thecaseof2dataSTATUSCHECKDATAWRITECOMMANDSEDINGENDSTATUSCHECKDATAWRITESTATUSCHECKCOMMANDWRITE1.Thecaseof1dataNote:Incaseofover2datasending,thelastdata(orlast2data)isvalid.uDescriptionofCommandRegisterSetCodeHexFunctionD1D20010000121HCursorPointerSetXADRSYADRS0010001022HOffsetRegisterSetData00H0010010024HAddressPointerSetLowADRSHighADRS(1)CursorPointerSet ThepositionofcursorisspecifiedbyXADRS,YADRS.Thecursorpositionismovedonlybythiscommand.Thecursorpointerdoesn’thavethefunctionofincrementanddecrement.Theshiftofcursoraresetbythiscommand.XADRS,YADRSarespecifiedfollowing. XADRS 00H~4FH(Lower7bitsarevalid) YADRS 00H~1FH(Lower5bitsarevalid)1screendriveXADRS00~4FH2screensdriveXADRS00~4FHYADRS00H~0FHYADRS00H~0FHUpperscreenYADRS10H~1FHLowerscreen
(2)OffsetRegisterSet TheoffsetregisterisusedtodetermineexternalcharactergeneratorRAMarea. T6963Chas16bitaddresslinesasfollow.MSBLSBad15ad14ad13ad12ad11ad10ad9ad8ad7ad6ad5ad4ad3ad2ad1ad0 Theupper5bit(ad15symbol126\f"Symbol"\s10ad11)aredeterminedbyoffsetregister.Themiddle8bit(ad10symbol126\f"Symbol"\s10ad3)aredeterminedbycharactercode.Thelower3bit(ad2symbol126\f"Symbol"\s10ad0)aredeterminedbyverticalcounter.Thelower5bitofD1(data)arevalid.ThedataformatofexternalcharactergeneratorRAM.TheralationshipofdisplayRAMaddressandoffsetregisterDataofoffsetregisterCGRAMHEXaddress(start-end)000000000-07FFH000010800-0FFFH000101000-17FFH11100E000-E7FFH11101E800-EFFFH11110F000-F7FFH11111F800-FFFFH(Example1) Offsetregister 02H Charactercode 80H CharactergeneratorRAMstartaddress 000101000000 00001400H(Address)(Data)1400H00H1401H1FH1402H04H1403H04H1404H04H1405H04H1406H04H1407H00H(Example2) TherelationshipofdisplayRAMdataanddisplaycharacter(RAMData)(Character)ABDEGHIJKLM21HA22HB83H24HD25HE86HDisplaycharacterNote:andaredisplatedbycharactergeneratorRAM.
(3)AddressPointerSet Theaddresspointersetcommandisusedtoindicatethestartaddressforwriting(orreading)toexternalRAM.TheflowchartaddresspointersetcommandADDRESSPOINTERSETADDRESSPOINTERSETENDSTATUSCHECKLOWADDRESSDATASETSTATUSCHECKCOMMAND24HSENDSTATUSCHECKHIGHADDRESSDATASETAddresspointersetcommandsendControlWordSetCodeHexFunctionD1D20100000040HTexthomeaddresssetLowaddressHighaddress0100000141HTextareasetColumns00H0100001042HGraphichomeaddresssetLowaddressHighaddress0100001143HGraphicareasetColumns00HThehomeaddressandcolumnsizearedefinedbythiscommand.(1)TextHomeAddressSet ThestartingaddressofexternaldisplayRAMforTextdisplayisdefinedbythiscommand.Thetexthomeaddressshowstheleftendandmostupperposition.TherelationshipofexternaldisplayRAMaddressanddisplaypositionTHTH+CLTH+TATH+TA+CL(TH+TA)+TATH+2TA+CL(TH+2TA)+TATH+3TA+CLTH+(n-1)TATH+(n-1)TA+CLTH:TexthomeaddressTA:Textareanumber(columns)CL:Columnsarefixedbyhardware.(pin-programmable)
(Example) Texthomeaddress : 0000H Textarea : 0020H MD2=H,MD3=H : 32columns DUAL=H,MDS=L,MD0=L,MD1=L : 16lines0000H0001H……001EH001FH0020H0021H……003EH003FH0040H0041H……005EH005FH0060H0061H……007EH007FH0080H0081H……009EH009FH00A0H00A1H……00BEH00BFH00C0H00C1H……00DEH00DFH00E0H00E1H……00FEH00FFH0100H0101H……011EH011FH0120H0121H……013EH013FH0140H0141H……015EH015FH0160H0161H……017EH017FH0180H0181H……019EH019FH01A0H01A1H……01BEH01BFH01C0H01C1H……01DEH01DFH01E0H01E1H……01FEH01FFH(2)GraphicHomeAddressSet ThestartingaddressofexternaldisplayRAMforGraphicdisplayisdefinedbythiscommand.Thegraphichomeaddressshowstheleftendmostupperline.TherelationshipofexternaldisplayRAMaddressanddisplaypositionGHGH+CLGH+GAGH+GA+CL(GH+GA)+GAGH+2GA+CL(GH+2GA)+GAGH+3GA+CLGH+(n-1)GAGH+(n-1)GA+CLGH:GraphichomeaddressGA:Graphicareanumber(colums)CL:Columnsarefixedbyhardware.(pin-programmable)(Example) Graphichomeaddress : 0000H Graphicarea : 0020H MD2=H,MD3=H : 32columns DUAL=H,MDS=L,MD0=L,MD1=L : 16lines0000H0001H……001EH001FH0020H0021H……003EH003FH0040H0041H……005EH005FH0060H0061H……007EH007FH0F80H0F81H……0F9EH0F9FH0FA0H0FA1H……0FBEH0FBFH0FC0H0FC1H……0FDEH0FDFH0FE0H0FE1H……0FFEH0FFFH
(3)TextAreaSet Thecolumnsofdisplayaredefinedbythehardwaresetting.Thiscommandcanbeusedtoadjustcolumnsofdisplay.(Example) Texthomeaddress : 0000H Textarea : 001EH MD2=H,MD3=H : 32columns DUAL=H,MDS=L,MD0=L,MD1=L : 16lines0000H0001H……001DH001EH001FH001EH001FH……003BH003CH003DH003CH003DH……0059H005AH005BH005AH005BH……0077H0078H0079H0078H0079H……0095H0096H0097H0096H0097H……00B3H00B4H00B5H00B4H00B5H……00D1H00D2H00D3H00D2H00D3H……00EFH00F0H00F1H00F0H00F1H……010DH010EH010FH010EH010FH……012BH012CH012DH012CH012DH……0149H014AH014BH014AH014BH……0167H0168H0169H0168H0169H……0185H0186H0187H0186H0187H……01A3H01A4H01A5H01A4H01A5H……01C1H01C2H01C3H01C2H01C3H……01DFH01E0H01E1HLCD(4)GraphicAreaSet Thecolumnsofdisplayaredefinedbythehardwaresetting.Thiscommandcanbeusedtoadjustcolumnsofgraphicdisplay.(Example) Texthomeaddress : 0000H Textarea : 001EH MD2=H,MD3=H : 32columns DUAL=H,MDS=L,MD0=L,MD1=L : 16lines0000H0001H……001DH001EH001FH001EH001FH……003BH003CH003DH003CH003DH……0059H005AH005BH005AH005BH……0077H0078H0079H0E88H0E89H……0EA5H0EA6H0EA7H0EA6H0FA7H……0EC3H0EC4H0EC5H0EC4H0FC5H……0EE1H0EE2H0EE3H0EE2H0FE3H……0EFFH0F00H0F01HLCD TheaddressingraphicareacanbecontinuousandRAMareacanbeusedwithoutineffectivearea,ifgraphicareaisdefinedthesamenumberastheactualcolumnnumberofLCDdisplay.
ModeSetCodeFunctionOperand1000x000"OR"Mode---1000x001"EXOR"Mode---1000x011"AND"Mode---1000x100"TEXTATTRIBUTE"Mode---10000xxxInternalCharacterGeneratorMode---10001xxxExternalCharacterGeneratorMode---x:Don’tcare Thedisplaymodeisdefinedbythiscommand.Thedisplaymodedon’thavechangeduntiltosendnextthiscommand.Logically"OR","EXOR","AND"oftextandgraphicdispalycanbedisplayed. Wheninternalcharactergeneratormodeisselected,charactercode00H~7FHareselectedfrombuilt-incharactergeneratorROM.Thecharactercode80H~FFHareautomaticallyselectedexternalcharactergeneratorRAM.(Example)GraphicText"OR""AND""EXOR"Note:Onlytextdisplayisattributed,becauseattributedataislocatedingraphicRAMarea.Attributefunction "Reversedisplay","Characterblink"and"Inhibit"arecalled"Attribute".Theattributedataiswritteninthegraphicareadefinedbycontrolwordsetcommand.Themodesetcommandselectstextdisplayonlyandgraphicdisplaycannotbedisplayed. Theattributedataofthelstcharacterintextareaiswrittenatthelstbyteingraphicarea,andattributedataofn-thcharacteriswrittenatthen-thbyteingraphicarea.Attributefunctionisdefinedasfollow.AttributeRAMbytexxxxd3d2d1d0d3d2d1d0Function0000Normaldisplay0101Reversedisplay0011Inhibitdisplay1000Blinkofnormaldisplay1101Blinkofreversedisplay1011Blinkofinhibitdisplay
DisplayModeCodeFunctionOperand10010000Displayoff---1001xx10Cursoron,blinkoff---1001xx11Cursoron,blinkon---100101xxTexton,graphicoff---100110xxTextoff,graphicon---100111xxTexton,graphicon---1001d3d2d1d0d0:Cursorblinkon:1,off:0d1:Cursordisplayon:1,off:0d2:Textdisplayon:1,off:0d3:Graphicdisplayon:1,off:0Note:Itisnecessarytoturnon"Textdisplay"and"Graphicdisplay"infollowingcase.1)Combinationoftext/graphicdisplay,2)Attributefunction.CursorPatternSelectCodeFunctionOperand101000001linecursor---101000012linescursor---101000103linescursor---101000114linescursor---101001005linescursor---101001016linescursor---101001107linescursor---101001118linescursor--- WhencursordisplayisON,thiscommandselectsthecursorpatternfrom1lineto8lines.Thecursoraddressisdefinedbycursorpointersetcommand.1linecursor2linescursor8linescursor
DataAutoRead/WriteCodeHexFunctionOperand10110000B0HDataautowriteset---10110001B1HDataautoreadset---10110010B2HAutoreset--- ThiscommandisconvenienttosendfullscreendatafromexternaldisplayRAM.Aftersettingautomode,"Datawrite(orread)"commandisnotnecessarybetweeneachdata."Dataautowrite(orread)"commandshouldfollowthe"Addresspointerset"andaddresspointerisautomaticallyincrementby+1aftereachdata.Aftersending(orreceiving)alldata"Autoreset"isnecessarytoreturnnormaloperationbecausealldataisregarded"Displaydata"andnocommandcanbeacceptedintheautomode.Note:Statuscheckforautomode(STA2,STA3)shouldbecheckedbetweeneachdata.AutoresetshouldbeperformedaftercheckingSTA3=1(STA2=1).Pleasereferfollowingflowchart.AUTOMODESTARTAUTOMODESTARTENDSTATUSCHECK1LOWERADDRESSDATASTATUSCHECK1UPPERADDRESSDATASTATUSCHECK1ADDRESSPOINTERSET24HSTATUSCHECK1DATAAUTOWRITEB0HSTATUSCHECK2DISPLAYDATASENDSTATUSCHECK2DISPLAYDATASENDSTATUSCHECK2AUTORESETB2HYESYESSTATUSCHECK1RETURNSTA0=1,STA2=1?NOYESYESSTATUSCHECK2RETURNSTA2=1,(STA3=1)?NO
DataReadWriteCodeHexFunctionOperand11000000C0HDatawriteandADPincrementData11000001C1HDatareadandADPincrement---11000010C2HDatawriteandADPdecrementData11000011C3HDatareadandADPdecrement---11000100C4HDatawriteandADPnonvariableData11000101C5HDatareadandADPnonvariable--- ThiscommandisusedfordatawritefromMPUtoexternaldisplayRAM,anddatareadfromexternaldisplayRAMtoMPU.Datawrite/datareadshouldbeexecutedaftersettingaddressbyaddresspointersetcommand.Addresspointercanbeautomaticallyincrementordecrementbysettingthiscommand.Note:Thiscommandisnecessaryforeach1bytedata.Pleasereferfollowingflowchart.DATAREADDATAREADENDADDRESSPOINTERSETSTATUSCHECK1DATAREADC1HDATAWRITESTARTDATAWRITESTARTENDSTATUSCHECK1LOWERADDRESSDATASTATUSCHECK1UPPERADDRESSDATASTATUSCHECK1ADDRESSPOINTERSET24HSTATUSCHECK1WRITEDATASETSTATUSCHECK1DATAWRITEC0H
ScreenPeekCodeHexFunctionOperand11100000E0HScreenPeek--- Thiscommandisusedtotransferdisplayed1bytedatatodatastack,andthis1bytedatacanbereadfromMPUbydataaccess.ThelogicalcombinationdataoftextandgraphicdisplayonLCDscreencanbereadbythiscommand. Thestatus(STA6)shouldbecheckedjustafter"Screenpeek"command.Iftheaddressdeterminedby"AddresspointerSet"commandisnotingraphicarea,thiscommandignoredandstatusflag(STA6)isset.Pleasereferfollowingflowchart.SCREENPEEKSTARTSCREENPEEKSTARTENDSTATUSCHECK1LOWERADDRESSDATASTATUSCHECK1UPPERADDRESSDATASTATUSCHECK1ADDRESSPOINTERSET24HSTATUSCHECK1SCREENPEEKE0HSTATUSCHECKSTA6=0?DATAACCESSSTATUSCHECK1YESNO
ScreenCopyCodeHexFunctionOperand11101000E8HScreencopy--- Thiscommandisusedtocopydisplayed1linedatatographicarea.Thestartpointof1linedatainthescreenisdeterminedbytheaddresspointer.Pleasereferfollowingflowchart.Note1:Inattributefunction,thiscommandisinvalid.(Becauseattributedataisinthegraphicarea.)Note2:Incaseof2screendrive,thiscommandisinvalid.(BecauseT6963Ccannotseparateupperscreendataandlowerscreendata.)SCREENCOPYSTARTSCREENCOPYSTARTENDSTATUSCHECK1LOWERADDRESSDATASTATUSCHECK1UPPERADDRESSDATASTATUSCHECK1ADDRESSPOINTERSET24HSTATUSCHECK1SCREENCOPYE8HSTATUSCHECKSTA6=0?STATUSCHECKSTA0/1=1?NOYESNOYES
BitSet/ResetCodeFunctionOperand11110xxxbitreset---11111xxxbitset---1111x000bit0(LSB)---1111x001bit1---1111x010bit2---1111x011bit3---1111x100bit4---1111x101bit5---1111x110bit6---1111x111bit7(MSB)--- Thiscommandisusedtosetorresetabitof1byteisspecifiedbyaddresspointer.Pluralbitsinthe1bytedatacannotbeset/resetatatime.Pleasereferfollowingflowchart.BITSET/RESETBITSET/RESETENDSTATUSCHECK1LOWERADDRESSDATASTATUSCHECK1UPPERADDRESSDATASTATUSCHECK1ADDRESSPOINTERSET24HSTATUSCHECK1WRITEDATASETSTATUSCHECK1BITSET(RESET)
uCommandListCommandCodeD1D2FunctionRegisterSet001000010010001000100100XaddressDataLowaddressYaddress00HHighaddressCursorpointersetOffsetregistersetAddresspointersetControlWordSet01000000010000010100001001000011LowaddressColumnsLowaddressColumnsHighaddress00HHighaddress00HTexthomeaddresssetTextareasetGraphichomeaddresssetGraphicareasetModeSet1000x0001000x0011000x0111000x10010000xxx10001xxx------------------------------------"OR"mode"EXOR"mode"AND"mode"Textattribute"modeInternalCGROMmodeExternalCGRAMmodeDisplayMode100100001001xx101001xx11100101xx100110xx100111xx------------------------------------DisplayoffCursoron,blinkoffCursoron,blinkonTexton,graphicoffTextoff,graphiconTexton,graphiconCursorPatternSelect1010000010100001101000101010001110100100101001011010011010100111------------------------------------------------1linecursor2linescursor3linescursor4linescursor5linescursor6linescursor7linescursor8linescursorDataAutoRead/Write101100001011000110110010------------------DataautowritesetDataautoreadsetAutoresetDataReadWrite11000000110000011100001011000011
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 2024年食品安全合同書
- 2024影視道具租賃合同參考范本
- 工程承包合同示例文本
- 2024舉辦合同培訓(xùn)班的通知
- 2024年度銷售合同智能家居產(chǎn)品銷售合同(04版)
- 2024蔬菜超市采購合同
- 2024年度安全設(shè)備維護(hù)及更新改造合同
- 農(nóng)村新建住宅協(xié)議書
- 2024天臺(tái)縣花生種植收購合同樣書
- 2024工業(yè)生產(chǎn)廠房租賃合同范本
- 液化石油氣充裝操作規(guī)程(YSP118液化石油氣鋼瓶)
- 工程樣板過程驗(yàn)收單
- 顱內(nèi)動(dòng)脈動(dòng)脈瘤介入治療臨床路徑
- 糧食倉儲(chǔ)場(chǎng)建設(shè)項(xiàng)目可行性研究報(bào)告
- 珠寶銷貨登記表Excel模板
- 深基坑開挖施工風(fēng)險(xiǎn)源辨識(shí)與評(píng)價(jià)及應(yīng)對(duì)措施
- 唯美手繪風(fēng)花藝插花基礎(chǔ)培訓(xùn)PPT模板課件
- 《現(xiàn)代漢語語法》PPT課件(完整版)
- 5G智慧農(nóng)業(yè)建設(shè)方案
- 航海學(xué)天文定位第四篇天文航海第1、2章
- 浙江大學(xué)學(xué)生社團(tuán)手冊(cè)(08)
評(píng)論
0/150
提交評(píng)論