Enwere ọtụtụ ụdị ihu maka ngosipụta ihuenyo mmetụ, na nhazi ya dị ezigbo mma. Ọ dabere na ọnọdụ ịnya ụgbọ ala na njikwa njikwa nke ihuenyo TFT LCD. Ugbu a, e nwere n'ozuzu ọtụtụ njikọ ụdịdị maka agba LCD na ekwentị mkpanaaka: MCU interface (nke e dere dị ka MPU interface), RGB interface, SPI interface VSYNC interface, MIPI interface, MDI interface , DSI interface, wdg N'ime ha, naanị ndị TFT modul nwere RGB interface.
MCU interface na RGB interface na-ejikarị eme ihe.
MCU interface
N'ihi na a na-ejikarị ya n'ọhịa nke microcomputer otu mgbawa, aha ya. Mgbe e mesịrị, a na-eji ya eme ihe na ekwentị mkpanaaka dị ala, isi ihe ya bụ na ọ dị ọnụ ala. Okwu ọkọlọtọ maka interface MCU-LCD bụ ọkọlọtọ ụgbọ ala 8080 nke Intel tụpụtara, yabụ a na-eji I80 na-ezo aka na ihuenyo MCU-LCD n'ọtụtụ akwụkwọ.
8080 bụ ụdị interface yiri ya, nke a makwaara dị ka DBI (Data Bus interface) interface ụgbọ ala data, microprocessor MPU interface, MCU interface, na interface CPU, bụ n'ezie otu ihe ahụ.
8080 interface bụ nke Intel haziri ma bụrụ ihe yiri ya, asynchronous, protocol nkwukọrịta ọkara duplex. A na-eji ya maka mgbasawanye mpụga nke RAM na ROM, ma mesịa tinye ya na interface LCD.
Enwere 8-bit, 9-bit, 16-bit, 18-bit, na 24-bit maka nnyefe bit data. Ya bụ, ntakịrị obosara nke ụgbọ ala data.
A na-ejikarị eme ihe bụ 8-bit, 16-bit, na 24-bit.
Uru ya bụ: njikwa dị mfe ma dị mma, na-enweghị elekere na mgbaàmà mmekọrịta.
Ọdịmma ya bụ: A na-eri GRAM, yabụ na ọ siri ike nweta nnukwu ihuenyo (n'elu 3.8).
Maka LCM nwere interface MCU, a na-akpọ mgbawa ime ya LCD ọkwọ ụgbọala. Isi ọrụ bụ ịtụgharị data/iwu nke kọmpụta onye ọbịa zitere na data RGB nke pixel ọ bụla wee gosipụta ya na ihuenyo. Usoro a anaghị achọ ntụpọ, ahịrị, ma ọ bụ etiti etiti.
LCM: (LCD Module) bụ LCD ngosi modul na mmiri mmiri kristal modul, nke na-ezo aka mgbakọ nke mmiri mmiri kristal ngosi ngwaọrụ, njikọ, mpụta sekit dị ka njikwa na mbanye, PCB sekit mbadamba, backlights, structural akụkụ, wdg.
GRAM: RAM eserese, ya bụ, ndekọ onyonyo, na-echekwa ozi onyonyo a ga-egosipụta na mgbawa ILI9325 nke na-eme ihe ngosi TFT-LCD.
Na mgbakwunye na ahịrị data (ebe a bụ 16-bit data dị ka ọmụmaatụ), ndị ọzọ bụ mgbawa họrọ, gụọ, dee, na data/iwu atụdo anọ.
N'ezie, na mgbakwunye na ntụtụ ndị a, enwere nrụgharị nrụgharị RST, nke a na-ejikarị nọmba 010 emegharịrị.
Eserese ihe atụ interface bụ nke a:
Enwere ike ọgaghị eji akara ngosi ndị a niile na ngwa sekit akọwapụtara. Dịka ọmụmaatụ, na ụfọdụ ngwa sekit, iji chekwaa ọdụ ụgbọ mmiri IO, ọ ga-ekwe omume ijikọ kpọmkwem mgbawa họrọ wee tọgharịa akara n'ogo edobere, na ọ bụghị ịhazi akara ngosi RDX.
Ọ dị mma ịmara site na isi ihe dị n'elu: ọ bụghị naanị data data, kamakwa iwu na-ebufe na ihuenyo LCD. N'ileghachi anya na mbụ, ọ dị ka ọ dị mkpa ịnyefe data agba pixel na ihuenyo, na ndị novice na-enweghị nkà na-elegharakarị iwu nnyefe chọrọ.
N'ihi na ihe a na-akpọ nkwurịta okwu na LCD ihuenyo na-ekwurịta okwu na LCD ihuenyo njikwa mgbawa, na dijitalụ ibe na-enwekarị dị iche iche nhazi ndekọ (ma ọ bụrụ na mgbawa nwere nnọọ mfe ọrụ dị ka 74 usoro, 555, wdg), e nwere. bụkwa mgbawa ntụziaka. Kwesịrị izipu iwu nhazi.
Ihe ọzọ ị ga-amata bụ: chips ọkwọ ụgbọ ala LCD na-eji 8080 parallel interface chọrọ wuru n'ime GRAM (RAM nke eserese), nke nwere ike ịchekwa data nke opekata mpe otu ihuenyo. Nke a bụ ihe kpatara na modul ihuenyo na-eji interface a na-adịkarị ọnụ karịa ndị na-eji oghere RGB, RAM ka na-akwụkwa ụgwọ.
N'ozuzu: interface 8080 na-ebufe iwu nchịkwa na data site na ụgbọ ala yiri ya, ma na-eme ka ihuenyo dị ọhụrụ site na imelite data na GRAM nke na-abịa na modul kristal mmiri mmiri LCM.
TFT LCD ihuenyo RGB interface
TFT LCD Screens RGB interface, nke a makwaara dị ka DPI (Ngosipụta Pixel Interface) interface, bụkwa interface yiri ya, nke na-eji mmekọrịta nkịtị, elekere, na ahịrị mgbama na-ebufe data, ọ dịkwa mkpa ka ejiri ụgbọ ala SPI ma ọ bụ IIC mee ihe iji bufee. iwu njikwa.
Ruo n'ókè ụfọdụ, nnukwu ọdịiche dị n'etiti ya na interface 8080 bụ na ahịrị data na akara akara nke TFT LCD Screens RGB interface na-ekewapụ, ebe interface 8080 na-ekewa.
Ihe ọzọ dị iche bụ na ebe ọ bụ na ihe ngosi RGB na-emekọrịta ihe na-aga n'ihu na-ebufe data pixel nke ihuenyo dum, ọ nwere ike iweghachi data ngosi n'onwe ya, ya mere GRAM adịghịzi mkpa, nke na-ebelata ọnụ ahịa LCM nke ukwuu. Maka modul LCD ngosi mmekọrịta nwere otu nha na mkpebi, ihuenyo mmetụ ihuenyo RGB nke onye nrụpụta izugbe dị ọnụ ala karịa interface 8080.
Ihe kpatara na ihuenyo mmetụ aka ngosi RGB mode adịghị mkpa nkwado nke GRAM bụ n'ihi na RGB-LCD video ebe nchekwa na-eme ihe site na ebe nchekwa usoro, ya mere size na-ejedebeghị naanị site size nke usoro ebe nchekwa, nke mere na RGB- Enwere ike ịme LCD n'ogo buru ibu, Dị ka ugbu a 4.3 "nwere ike ịtụle ọkwa ntinye, ebe 7" na 10" ihuenyo na MID amalitela iji ya mee ihe.
Otú ọ dị, na mmalite nke imewe nke MCU-LCD, ọ dị mkpa ka a tụlee na ebe nchekwa nke otu-chip microcomputer dị obere, ya mere a na-ewu ebe nchekwa n'ime modul LCD. Mgbe ahụ ngwanrọ na-emelite ebe nchekwa vidiyo site na iwu ngosi pụrụ iche, yabụ na ihuenyo ihuenyo mmetụ MCU enweghị ike ịme ka ọ buru ibu. N'otu oge ahụ, ọsọ mmelite ngosi na-adị nwayọọ karịa nke RGB-LCD. Enwekwara ọdịiche dị na ụdị mbufe data ngosi.
Ngosipụta ihuenyo mmetụ RGB chọrọ naanị ebe nchekwa vidiyo iji hazie data. Mgbe ịmalitere ngosi ahụ, LCD-DMA ga-eziga data na ebe nchekwa vidiyo na-akpaghị aka na LCM site na interface RGB. Mana ihuenyo MCU kwesịrị iziga iwu eserese iji gbanwee RAM n'ime MCU (ya bụ, RAM nke ihuenyo MCU enweghị ike ide ya ozugbo).
Ngosipụta ọsọ ihuenyo mmetụ aka RGB doro anya na ọ dị ngwa karịa nke MCU, na n'ihe gbasara ịkpọ vidiyo, MCU-LCD dịkwa nwayọ.
Maka LCM nke ihuenyo mmetụ aka ngosi RGB interface, mmepụta nke onye ọbịa bụ data RGB nke pixel ọ bụla ozugbo, na-enweghị ntụgharị (ma e wezụga maka mgbazi GAMMA, wdg). Maka interface a, a chọrọ onye njikwa LCD n'ime onye ọbịa iji mepụta data RGB na isi, akara, akara mmekọrịta etiti.
Imirikiti ihuenyo buru ibu na-eji ọnọdụ RGB, a na-ekekwa nnyefe data bit 16 bits, 18 bits na 24 bits.
Njikọ na-agụnyekarị: VSYNC, HSYNC, DOTCLK, CS, RESET, ụfọdụ chọkwara RS, ndị ọzọ bụ ahịrị data.
Nkà na ụzụ interface nke LCD ngosi mmekọrịta bụ n'ezie akara ngosi TTL site n'echiche nke ọkwa.
Ngwa ngwa ngwa nke onye na-ahụ maka ihe ngosi LCD na-emekọrịta ihe dị na ọkwa TTL, na ngwaike interface nke LCD ngosi mmekọrịta dịkwa na ọkwa TTL. Ya mere, ha abụọ nwere ike jikọọ ozugbo, ekwentị mkpanaaka, mbadamba nkume, na bọọdụ mmepe na-ejikọta ya kpọmkwem n'ụzọ dị otú a (na-ejikarị eriri na-agbanwe agbanwe).
Nkwarụ nke ọkwa TTL bụ na enweghị ike ibunye ya tere aka. Ọ bụrụ na ihuenyo LCD dị anya na njikwa motherboard (mita 1 ma ọ bụ karịa), enweghị ike ijikọ ya na TTL ozugbo, a chọrọ ntụgharị.
Enwere isi ihe abụọ dị iche iche maka ihu TFT LCD agba:
1. TTL interface (RGB agba interface)
2. LVDS interface (ngwugwu RGB agba n'ime mgbasa ozi dị iche iche).
A na-ejikarị interface TTL kristal mmiri mmiri mee ihe maka obere ihuenyo TFT dị n'okpuru 12.1 sentimita asatọ, yana ọtụtụ ahịrị interface na anya nnyefe dị mkpirikpi;
A na-ejikarị interface LVDS kristal kristal mee ihe maka ihuenyo TFT buru ibu karịa sentimita asatọ. The interface nwere ogologo nnyefe anya na ọnụ ọgụgụ dị nta nke ahịrị.
Ihuenyo buru ibu na-anabatakwu ụdịdị LVDS, yana ntụtụ njikwa bụ VSYNC, HSYNC, VDEN, VCLK. S3C2440 na-akwado ihe ruru ntụtụ data 24, na ntụtụ data bụ VD[23-0].
Ihe onyonyo nke CPU ma ọ bụ kaadị eserese zitere bụ akara TTL (0-5V, 0-3.3V, 0-2.5V, ma ọ bụ 0-1.8V), LCD n'onwe ya na-enweta akara TTL, n'ihi na akara TTL bụ. na-ebufe ya na oke ọsọ na ogologo ogologo oge na-arụ ọrụ adịghị mma, na ikike mgbochi nnyonye anya dị ntakịrị. Mgbe e mesịrị, a tụrụ aro ụdị nnyefe dị iche iche, dịka LVDS, TDMS, GVIF, P&D, DVI na DFP. N'ezie, ha na-edobe akara TTL ezigara nke CPU ma ọ bụ kaadị eserese n'ime akara dị iche iche maka nnyefe, wee dekọọ akara ngosi enwetara n'akụkụ LCD iji nweta akara TTL.
Mana n'agbanyeghị ụdị nnyefe ewepụtara, akara TTL dị mkpa bụ otu.
SPI interface
Ebe ọ bụ na SPI bụ mgbasa ozi serial, bandwidth nnyefe dị oke, na enwere ike iji ya maka obere ihuenyo, n'ozuzu maka ihuenyo n'okpuru 2 sentimita asatọ, mgbe ejiri ya dị ka ihuenyo LCD. Na n'ihi njikọ ole na ole ya, njikwa ngwanrọ na-agbagwoju anya karị. Ya mere jiri obere ihe.
MIPI interface
MIPI (Mobile Industry Processor Interface) bụ njikọ aka guzobere ARM, Nokia, ST, TI na ụlọ ọrụ ndị ọzọ na 2003. mgbagwoju anya na mmụba imewe mgbanwe. E nwere dị iche iche WorkGroups n'okpuru MIPI Alliance, nke na-akọwa usoro nke ekwentị mkpanaaka esịtidem ụkpụrụ ụkpụrụ, dị ka igwefoto interface CSI, ngosi interface DSI, redio ugboro interface DigRF, igwe okwu / ọkà okwu interface SLIMbus, wdg Uru nke otu interface ọkọlọtọ. bụ na ndị na-emepụta ekwentị mkpanaaka nwere ike na-agbanwe agbanwe na-ahọrọ dị iche iche ibe na modul si ahịa dị ka mkpa ha si dị, na-eme ka ọ dị ngwa na mfe ịgbanwe aghụghọ na ọrụ.
Aha zuru oke nke MIPI interface eji maka ihuenyo LCD kwesịrị ịbụ MIPI-DSI interface, ụfọdụ akwụkwọ na-akpọ ya naanị DSI (Ngosipụta Serial Interface).
Mgbakwunye DSI dakọtara na-akwado ụdịdị arụ ọrụ abụọ, otu bụ ọnọdụ iwu, nke ọzọ bụ ọnọdụ vidiyo.
Enwere ike ịhụ site na nke a na MIPI-DSI interface nwekwara iwu na ikike nkwurịta okwu data n'otu oge, ọ dịghịkwa mkpa interface dị ka SPI iji nyere aka nyefee iwu nchịkwa.
MDI interface
Ihe interface MDI (Mobile Display Digital Interface) nke Qualcomm tụpụtara na 2004 nwere ike melite ntụkwasị obi nke ekwentị mkpanaaka ma belata oriri ike site na ibelata njikọ. N'ịdabere na oke ahịa Qualcomm na mpaghara nke ibe mkpanaka, ọ bụ n'ezie mmekọrịta asọmpi na interface MIPI dị n'elu.
Ngwa MDI dabere na teknụzụ nnyefe dị iche iche nke LVDS ma na-akwado oke nnyefe nke 3.2Gbps. Enwere ike belata ahịrị mgbaama na 6, nke ka bara ezigbo uru.
Enwere ike ịhụ na interface MDI ka kwesịrị iji SPI ma ọ bụ IIC nyefee iwu nchịkwa, na ọ na-ebufe data n'onwe ya.
Oge nzipu: Sep-01-2023