Kune akawanda marudzi epainterfaces ekubata chidzitiro kuratidza, uye kupatsanurwa kwakanaka kwazvo. Izvo zvinonyanya kuenderana nekutyaira modhi uye kutonga maitiro eTFT LCD Screens. Parizvino, pane kazhinji nzira dzakawanda dzekubatanidza dzeLCD dzemavara panharembozha: MCU interface (yakanyorwawo seMPU interface), RGB interface, SPI interface VSYNC interface, MIPI interface, MDDI interface, DSI interface, nezvimwe. Pakati pavo, chete iyo TFT module ine RGB interface.
MCU interface uye RGB interface inonyanya kushandiswa.
MCU interface
Nekuti inonyanya kushandiswa mumunda we single-chip microcomputers, inodanwa. Gare gare, inoshandiswa zvakanyanya mumafoni emafoni akaderera, uye chimiro chayo chikuru ndechekuti yakachipa. Izwi rakajairwa reMCU-LCD interface ndiro 8080 bhazi chiyero chakatsanangurwa neIntel, saka I80 inoshandiswa kureva iyo MCU-LCD skrini mumagwaro mazhinji.
8080 imhando yemhando yakafanana, inozivikanwawo seDBI (Data Bus interface) data bhazi interface, microprocessor MPU interface, MCU interface, uye CPU interface, izvo chaizvo chinhu chimwe chete.
Iyo 8080 interface yakagadzirwa neIntel uye yakafanana, asynchronous, hafu-duplex yekutaurirana protocol. Inoshandiswa pakuwedzera kwekunze kwe RAM neROM, uye gare gare inoshandiswa kune LCD interface.
Kune 8 bhiti, 9 bhiti, 16 bhiti, 18 bhiti, uye 24 mabhiti ekufambisa data. Ndiko, hupamhi hudiki hwebhasi data.
Inonyanya kushandiswa ndeye 8-bit, 16-bit, uye 24-bit.
Chakanakira ndechekuti: kutonga kuri nyore uye kuri nyore, pasina wachi uye chiratidzo chekuyananisa.
Izvo zvakashata ndezvekuti: GRAM inopedzwa, saka zvakaoma kuwana skrini hombe (pamusoro pe3.8).
Kune LCM ine MCU interface, iyo yemukati chip inonzi LCD mutyairi. Basa guru nderekushandura data / murairo unotumirwa nekombuta inotambira kuita RGB data yepixel yega yega uye kuiratidza pachiratidziri. Iyi nzira haidi dot, line, kana furemu wachi.
LCM: (LCD Module) ndiyo LCD inoratidzira module uye liquid crystal module, iyo inoreva kuungana kwekristaro yemvura inotaridza zvishandiso, zvinongedzo, masekete ekutenderera akadai sekudzora uye kutyaira, PCB edunhu mabhodhi, backlights, zvimiro zvikamu, nezvimwe.
GRAM: magiraidhi RAM, kureva kuti, rejista yemifananidzo, inochengeta ruzivo rwemufananidzo runofanira kuratidzwa muchip ILI9325 chinotyaira TFT-LCD kuratidza.
Pamusoro peiyo data line (heino 16-bit data semuenzaniso), mamwe acho chip sarudza, verenga, nyora, uye data / raira mapini mana.
Muchokwadi, mukuwedzera kune aya mapini, pane chaizvo reset pini RST, iyo inowanzo gadziridzwa nenhamba yakatarwa 010.
Iyo interface muenzaniso dhizaini ndeiyi inotevera:
Iwo masaini ari pamusoro anogona kunge asiri ese ekushandiswa mune chaiwo edunhu maapplication. Semuyenzaniso, mune mamwe matunhu maapplication, kuitira kuchengetedza IO ports, zvinokwanisika zvakare kubatanidza zvakananga chip sarudza uye kuseta masaini kune yakagadziriswa nhanho, uye kwete kugadzirisa iyo RDX kuverenga chiratidzo.
Izvo zvakakosha kucherechedza kubva pane iri pamusoro: kwete chete data data, asiwo Command inopfuudzwa kune iyo LCD skrini. Pakutanga kutarisa, zvinoita sekunge inongoda kuendesa pixel color data kuchiratidziro, uye vasina hunyanzvi manovices vanowanzo furatira zvinodiwa zvekutepfenyura.
Nekuti iyo inonzi kutaurirana neLCD skrini iri kunyatso kutaurirana neLCD screen driver control chip, uye madhijitari machipisi anowanzo ane akasiyana ekugadzirisa marejista (kunze kwekunge chip ine mabasa akareruka akadai se74 akatevedzana, 555, nezvimwewo), pane. zvakare chirairo chekutungamira. Inoda kutumira mirairo yekumisikidza.
Chimwe chinhu chekucherechedza ndechekuti: LCD mutyairi machipisi anoshandisa 8080 parallel interface inoda yakavakirwa-mukati GRAM (Graphics RAM), iyo inogona kuchengeta data yeinenge imwe skrini. Ichi ndicho chikonzero nei mascreen modules achishandisa iyi interface anowanzo kudhura kupfuura aya anoshandisa RGB interfaces, uye RAM ichiri kudhura.
Kazhinji: iyo 8080 interface inotumira mirairo yekudzora uye data kuburikidza nebhazi rakafanana, uye inozorodza skrini nekugadzirisa iyo data kuGRAM inouya neLCM liquid crystal module.
TFT LCD Screens RGB interface
TFT LCD Screens RGB interface, inozivikanwawo seDPI (Display Pixel Interface) interface, zvakare iratidziro yakafanana, inoshandisa yakajairwa kuwiriranisa, wachi, uye mitsara yemasaini kutumira data, uye inoda kushandiswa neSPI kana IIC seri bhazi kutumira. control commands.
Kusvika pamwero wakati, musiyano mukuru pakati payo uye 8080 interface ndeyekuti mutsara wedata uye mutsara wekutonga weTFT LCD Screens RGB interface inoparadzaniswa, nepo 8080 interface ichiwedzerwa.
Mumwe mutsauko ndewekuti sezvo iyo inopindirana yekuratidzira RGB interface inoramba ichiendesa iyo pixel data yechidzitiro chose, inogona kuzorodza iyo data yekuratidzira pachayo, saka GRAM haichadiwi, iyo inoderedza zvakanyanya mutengo weLCM. Kune inopindirana yekuratidzira LCD mamodule ane saizi uye kugadziriswa, iyo yekubata skrini inoratidza RGB interface yemugadziri mukuru yakachipa zvakanyanya kupfuura iyo 8080 interface.
Chikonzero nei iyo touch screen inoratidzira RGB modhi isingade kutsigirwa kweGRAM imhaka yekuti RGB-LCD vhidhiyo ndangariro inoitwa nehurongwa hwendangariro, saka saizi yayo inongogumira nehukuru hwendangariro system, kuitira kuti RGB- LCD inogona kugadzirwa muhukuru hukuru, Sezvino 4.3" inogona kungonzi yekupinda-level, nepo 7" uye 10" skrini muMIDs dziri kutanga kushandiswa zvakanyanya.
Nekudaro, pakutanga kwekugadzirwa kweMCU-LCD, zvinongodiwa kufunga kuti ndangariro ye-single-chip microcomputer idiki, saka ndangariro inovakwa muLCD module. Ipapo software inogadziridza ndangariro yevhidhiyo kuburikidza neakakosha kuratidza mirairo, saka yekubata skrini inoratidza MCU skrini kazhinji haigone kuitwa yakakura kwazvo. Panguva imwecheteyo, iyo yekumhanyisa yekuvandudza inononoka pane iyo yeRGB-LCD. Kune zvakare misiyano yekuratidzira data data modes.
Iyo yekubata skrini inoratidzira RGB skrini inongoda vhidhiyo memory kuronga data. Mushure mekutanga kuratidzwa, LCD-DMA inozotumira iyo data mundangariro yevhidhiyo kuLCM kuburikidza neRGB interface. Asi iyo MCU skrini inoda kutumira iyo yekudhirowa yekuraira kuti igadzirise RAM mukati meMCU (kureva kuti, iyo RAM yeMCU skrini haigone kunyorwa zvakananga).
Iyo yekumhanyisa yekuratidzira yekubata screen kuratidza RGB iri pachena nekukurumidza kupfuura iyo yeMCU, uye maererano nekutamba vhidhiyo, MCU-LCD zvakare inononoka.
Kune iyo LCM ye touch screen inoratidzira RGB interface, iyo inobuda yemuiti ndiyo RGB data yepixel yega yega zvakananga, pasina kutendeuka (kunze kwekugadziriswa kweGAMMA, nezvimwewo). Kune iyi interface, LCD controller inodiwa mumugadziri kuti abudise RGB data uye poindi, mutsara, furemu kuwiriranisa masaini.
Mazhinji masikirini makuru anoshandisa RGB modhi, uye iyo data bit transmission yakakamurwa kuita gumi nematanhatu, 18 bits, uye 24 bits.
Mabatanidza anowanzo sanganisira: VSYNC, HSYNC, DOTCLK, CS, RESET, mamwe anodawo RS, uye mamwe ese mitsara yedata.
Iyo tekinoroji tekinoroji yeinopindirana yekuratidzira LCD inonyanya kuratidza TTL chiratidzo kubva pamaonero edanho.
Iyo hardware interface yeinopindirana inoratidzira LCD controller iri paTTL level, uye iyo hardware interface yeinopindirana yekuratidzira LCD iri zvakare paTTL level. Saka izvo zviviri zvaigona kunge zvakabatana zvakananga, nharembozha, mahwendefa, uye mabhodhi ekuvandudza akabatana zvakananga nenzira iyi (kazhinji akabatanidzwa netambo dzinochinjika).
Kukanganisa kweiyo TTL level ndeyekuti haigone kutapurirana kure zvakanyanya. Kana iyo LCD skrini iri kure zvakanyanya kubva kune mamaibhodhi controller (1 mita kana kupfuura), haigone kubatana zvakananga kuTTL, uye kutendeuka kunodiwa.
Kune mhando mbiri huru dzemainterfaces emavara TFT LCD skrini:
1. TTL interface (RGB color interface)
2. LVDS interface (package RGB mavara mune inosiyanisa chiratidzo kutapurirana).
Iyo liquid crystal screen TTL interface inonyanya kushandiswa kwediki-saizi TFT skrini pazasi 12.1 inches, ine akawanda interface mitsetse uye pfupi yekufambisa kureba;
Iyo liquid crystal screen LVDS interface inonyanya kushandiswa kune yakakura-saizi TFT skrini pamusoro pe8 inches. Iyo interface ine kureba kwekufambisa kure uye nhamba shoma yemitsara.
Iyo hombe skrini inotora mamwe maLVDS modes, uye mapini ekudzora ari VSYNC, HSYNC, VDEN, VCLK. S3C2440 inotsigira anosvika makumi maviri nemana mapini edata, uye mapini edata iVD[23-0].
Iyo data yemufananidzo inotumirwa neCPU kana giraidhi kadhi chiratidzo cheTTL (0-5V, 0-3.3V, 0-2.5V, kana 0-1.8V), uye LCD pachayo inogamuchira chiratidzo cheTTL, nekuti chiratidzo cheTTL kuparidzirwa nekumhanya kukuru uye kureba Kushanda kwenguva hakuna kunaka, uye kukwanisa kupikisa-kupindira kune zvishoma. Gare gare, nzira dzakasiyana dzekutapurirana dzakarongwa, dzakadai seLVDS, TDMS, GVIF, P&D, DVI neDFP. Muchokwadi, ivo vanongokodha iyo TTL siginecha inotumirwa neCPU kana iyo giraidhi kadhi mumasaini akasiyana ekutapurirana, uye decode yakagamuchirwa chiratidzo padivi reLCD kuti uwane iyo TTL chiratidzo.
Asi zvisinei kuti ndeipi nzira yekufambisa inogamuchirwa, yakakosha TTL chiratidzo chakafanana.
SPI interface
Sezvo SPI iri serial kutapurirana, iyo bandwidth yekufambisa ishoma, uye inogona kungoshandiswa kune zvidiki zvidzitiro, kazhinji zvezviratidziri pazasi 2 inches, kana ichishandiswa seLCD skrini. Uye nekuda kwekubatana kwayo kushoma, kutonga kwesoftware kwakanyanya kuoma. Saka shandisa zvishoma.
MIPI interface
MIPI (Mobile Industry Processor Interface) mubatanidzwa wakagadzwa neARM, Nokia, ST, TI nemamwe makambani muna 2003. kuoma uye kuwedzera kushanduka kwekugadzira. Kune akasiyana WorkGroups pasi peMIPI Alliance, iyo inotsanangura nhevedzano yenhare mbozha yemukati maratidziro zviyero, senge kamera interface CSI, kuratidza interface DSI, radio frequency interface DigRF, maikorofoni / mutauri interface SLImbus, nezvimwewo. ndeyekuti vagadziri venharembozha vanogona kuchinjika kusarudza machipisi akasiyana uye mamodule kubva kumusika zvinoenderana nezvavanoda, zvichiita kuti zvive nekukurumidza uye zviri nyore kushandura magadzirirwo nemabasa.
Zita rakazara reiyo MIPI interface inoshandiswa paLCD skrini inofanirwa kunge iri MIPI-DSI interface, uye mamwe magwaro anongoidaidza kuti DSI (Display Serial Interface) interface.
DSI-inoenderana peripherals inotsigira maviri ekutanga maitiro ekushandisa, imwe ndiyo yekuraira modhi, uye imwe yacho iyo Vhidhiyo modhi.
Zvinogona kuonekwa kubva pane izvi kuti iyo MIPI-DSI interface inewo kuraira uye data kutaurirana kugona panguva imwe chete, uye haidi mainterfaces akadai seSPI kubatsira kutumira mirairo yekudzora.
MDDI interface
Iyo interface MDDI (Mobile Display Digital Interface) yakakurudzirwa neQualcomm muna 2004 inogona kuvandudza kuvimbika kwenharembozha uye kuderedza mashandisiro emagetsi nekudzikisira kubatanidza. Kuvimba nemugove wemusika weQualcomm mumunda wemachipisi emafoni, ihwo hukama hwemakwikwi neiyo pamusoro MIPI interface.
Iyo MDDI interface yakavakirwa paLVDS musiyano wekutapurirana tekinoroji uye inotsigira yakakura yekufambisa mwero we3.2Gbps. Mitsetse yechiratidzo inogona kuderedzwa kusvika ku6, iyo ichiri kubatsira zvikuru.
Zvinogona kuonekwa kuti iyo MDDI interface ichiri kuda kushandisa SPI kana IIC kutumira mirairo yekutonga, uye inongoendesa data pachayo.
Nguva yekutumira: Sep-01-2023