Kurekura Imbaraga za ATMEL MCU

Ibisobanuro bigufi:

1.2.Ibiranga AVR

Gukoresha RISC Yagabanijwe Amabwiriza

RISC (Kugabanya Amabwiriza Yashyizweho Mudasobwa) ugereranije na CISC (Computer Instruction Set Computer).RISC ntabwo ari ukugabanya gusa amabwiriza, ahubwo ni ukuzamura umuvuduko wa mudasobwa mugukora imiterere ya mudasobwa yoroshye kandi ishyize mu gaciro.Kugeza ubu, benshi muri microcontrollers ku isoko bakoresha amabwiriza ya RISC, harimo AVR na ARM.rindira.RISC ishyira imbere amabwiriza yoroshye hamwe ninshuro nyinshi zo gukoresha, irinda amabwiriza akomeye, kandi ikosora ubugari bwamabwiriza kugirango igabanye ubwoko bwimiterere yinyigisho hamwe nuburyo bwo gukemura, bityo bigabanye ukwezi kwerekanwa kandi byongere umuvuduko wibikorwa.Kuberako AVR ifata iyi miterere ya RISC, microcontrollers ya AVR ikurikirana ifite ubushobozi bwihuse bwo gutunganya 1MIPS / MHz (amabwiriza ya miriyoni kumasegonda / MHz).Irashobora gukoreshwa mubintu bisaba imbaraga zo kubara.


Ibicuruzwa birambuye

Ibicuruzwa

Ibisobanuro

Kwinjizamo ubuziranenge bwa porogaramu ya Flash yibikoresho

Flash yo mu rwego rwohejuru iroroshye guhanagura no kwandika, ishyigikira ISP na IAP, kandi iroroshye gukemura ibicuruzwa, iterambere, umusaruro, no kuvugurura.Byubatswe mubuzima burebure EEPROM irashobora kubika amakuru yingenzi mugihe kirekire kugirango wirinde igihombo mugihe amashanyarazi azimye.RAM ifite ubushobozi bunini muri chip ntishobora gusa guhaza ibikenewe muri rusange, ariko kandi irashobora gushyigikira cyane gukoresha imvugo yo murwego rwohejuru kugirango itezimbere gahunda za sisitemu, kandi irashobora kwagura RAM yo hanze nka MCS-51 microcomputer imwe.

Ubuyobozi bwa ATMEL MCU

Amapine yose ya I / O afite ibishushanyo mbonera byo gukurura

Muri ubu buryo, irashobora gushyirwaho kugiti cyayo nkiyinjiza / ibisohoka, irashobora gushyirwaho (intangiriro) yinjiza-impedance yinjiza, kandi ifite ubushobozi bukomeye bwo gutwara (ibikoresho byamashanyarazi birashobora kuvaho), bigatuma umutungo wicyambu cya I / O uhinduka, ufite imbaraga, kandi ikora neza.Koresha.

Kuri-chip byinshi byigenga bigabanya amasaha

Irashobora gukoreshwa kuri URAT, I2C, SPI.Muri byo, ingengabihe ya 8/16-bit ifite prescaler zigera kuri 10, kandi coefficente yo kugabana inshuro irashobora gushyirwaho na software kugirango itange urwego rutandukanye rwigihe.

Kuzamura umuvuduko mwinshi USART

Ifite imirimo yo kugenzura ibyuma bigenzura ibyuma, kugenzura ibyuma no kugenzura, ibyiciro bibiri byakira buffer, guhinduranya mu buryo bwikora no guhagarara igipimo cya baud, gukingira ikadiri yamakuru, nibindi, bitezimbere ubwizerwe bwitumanaho, byoroshya kwandika gahunda, kandi bikabikora byoroshye gukora umuyoboro ukwirakwizwa no kumenya Kubikorwa bigoye bya sisitemu yitumanaho rya mudasobwa nyinshi, imikorere yicyambu irenze cyane icyambu cya MCS-51 microcomputer imwe, kandi kubera ko AVR imwe ya chip microcomputer yihuta kandi igahagarara igihe cya serivisi ni kigufi, irashobora kumenya itumanaho ryinshi rya baud.

Sisitemu Yizewe

AVR MCU ifite imbaraga zikora-zisubiramo zuzunguruka, umuzenguruko wigenga wigenga, umuzenguruko muto wa voltage BOD, amasoko menshi yo gusubiramo (gusubiramo imbaraga-gusubiramo, gusubiramo hanze, gusubiramo BOD), kugena gutangira gutangira Gukora gahunda igihe icyo aricyo cyose, byongera ubwizerwe bwa sisitemu yashyizwemo.

2. Intangiriro kuri seriveri ya AVR microcontroller

Urukurikirane rwa AVR imwe ya chip microcomputer zuzuye, zishobora gukoreshwa mubisabwa mubihe bitandukanye.Hano hari amanota 3 yose hamwe, aribyo:

Urwego rwo hasi Urutonde ruto: cyane Tiny11 / 12/13/15/26/28 nibindi.;

Hagati ya AT90S ikurikirana: cyane cyane AT90S1200 / 2313/8515/8535, nibindi.;(gukurwaho cyangwa guhinduka muri Mega)

ATmega yo mu rwego rwo hejuru: cyane cyane ATmega8 / 16/32/64/128 (ubushobozi bwo kubika ni 8/16/32/64 / 128KB) na ATmega8515 / 8535, nibindi.

Ibikoresho bya AVR bipima kuva kuri 8 kugeza kuri 64, kandi hariho paki zitandukanye kubakoresha guhitamo ukurikije uko ibintu bimeze.

3. Ibyiza bya AVR MCU

Imiterere ya Harvard, hamwe na 1MIPS / MHz ubushobozi bwihuse bwo gutunganya;

Ibikorwa bigabanijwe cyane (RISC), hamwe na rejisitiri 32-yibikorwa rusange, byatsinze icyuho cyatewe no gutunganya ACC imwe ya 8051 MCU;

Kubona byihuse kwandikisha amatsinda hamwe na sisitemu imwe yigisha sisitemu yoguhindura cyane ingano nubushobozi bwo gukora kode yintego.Moderi zimwe zifite FLASH nini cyane, ikwiranye cyane niterambere ukoresheje indimi zo murwego rwohejuru;

Iyo ikoreshejwe nkibisohoka, ni kimwe na PIC ya HI / LOW, kandi irashobora gusohora 40mA.Iyo ikoreshejwe nk'iyinjiza, irashobora gushyirwaho nka tri-leta-yinjiza-impedance yinjiza cyangwa iyinjiza hamwe na rukurura-rukurura, kandi ifite ubushobozi bwo kurohama kuva kuri 10mA kugeza kuri 20mA;

Chip ihuza oscillator ya RC hamwe na frequence nyinshi, power-on automatic reset, watchdog, gutangira gutinda nindi mirimo, umuzenguruko wa peripheri uroroshye, kandi sisitemu irahamye kandi yizewe;

AVRs nyinshi zifite ibikoresho bikungahaye kuri chip: hamwe na E2PROM, PWM, RTC, SPI, UART, TWI, ISP, AD, Igereranya, WDT, nibindi.;

Usibye imikorere ya ISP, AVR nyinshi nazo zifite imikorere ya IAP, zorohereza kuzamura cyangwa gusenya porogaramu.

4. Gushyira mu bikorwa AVR MCU

Ukurikije imikorere myiza ya microcomputer ya AVR imwe-chip hamwe nibiranga hejuru, urashobora kubona ko microcomputer ya AVR imwe-chip ishobora gukoreshwa mubintu byinshi byashizwemo muri iki gihe.

Ubuyobozi bwa ATMEL MCU nigikoresho cyizewe cyane kandi gihindagurika cyagenewe sisitemu yashyizwemo.Itanga ibintu byinshi biranga nibikorwa bya porogaramu zitandukanye uhereye ku bikoresho bya elegitoroniki kugeza ku nganda zikoresha inganda.Intandaro yiyi nama ya MCU ni microcontroller ya ATMEL izwiho gukora cyane no gukoresha ingufu nke.Ukurikije imyubakire ya AVR, microcontroller itanga kode nziza kandi ikomeye kandi ikomatanya hamwe na periferique hamwe nibikoresho byo hanze.Ikibaho gifite ibikoresho bitandukanye byubwato, harimo pin ya GPIO, UART, SPI, I2C, na ADC, ituma habaho guhuza hamwe no gutumanaho hamwe na sensor zo hanze, moteri, nibindi bikoresho.Kuboneka kwaba periferiya bitanga abitezimbere guhinduka gukomeye mubikorwa byubaka.Mubyongeyeho, ikibaho cya ATMEL MCU gifite flash memory nini na RAM, itanga umwanya uhagije wo kubika kode namakuru.Ibi byemeza ko ibintu bigoye hamwe nibisabwa binini byo kwibuka bishobora kwakirwa byoroshye.Ikintu kigaragara cyinama ni ecosystem yagutse yibikoresho byiterambere rya software.IDM ya Studio ya ATMEL itanga umukoresha-wifashishije urubuga rwo kwandika, gukusanya no gukemura kode.IDE itanga kandi isomero rinini ryibigize software, abashoferi nibikoresho byo hagati kugirango byoroshe inzira yiterambere kandi byihutishe igihe ku isoko.Ikibaho cya ATMEL MCU gishyigikira protocole zitandukanye zitumanaho zirimo USB, Ethernet na CAN, bigatuma zikoreshwa muburyo butandukanye burimo IoT, robotics na automatike.Itanga kandi uburyo butandukanye bwo gutanga amashanyarazi, yemerera abitezimbere guhitamo amashanyarazi akwiranye hashingiwe kubyo basabwa byihariye.Byongeye kandi, ikibaho cyashizweho kugirango gihuze nurwego runini rwo kwagura imbaho ​​na periferiya, biha abitezimbere guhinduka kugirango bakoreshe modul zisanzwe kandi bongere imikorere nkuko bikenewe.Uku guhuza kwemeza prototyping byihuse no guhuza byoroshye ibintu byiyongereye.Gufasha abitezimbere, imbaho ​​za ATMEL MCU ziza zifite ibyangombwa byuzuye birimo urupapuro, imfashanyigisho hamwe ninyandiko zisaba.Byongeye kandi, umuryango ukomeye wabateza imbere hamwe nabakunzi batanga ibikoresho byingirakamaro, inkunga, n'amahirwe yo gusangira ubumenyi.Muncamake, ikibaho cya ATMEL MCU nigikoresho cyizewe kandi gihuza ibikoresho byiterambere rya sisitemu.Hamwe na microcontroller ifite imbaraga, ibikoresho byinshi byo kwibuka, ibikoresho bitandukanye kuri peripheri, hamwe na ecosystem ikomeye yiterambere, inama y'ubutegetsi itanga urubuga rwiza rwo gukora no kugerageza porogaramu mubice bitandukanye, bizana udushya mubikorwa byiterambere kandi neza.


  • Mbere:
  • Ibikurikira:

  • Ibicuruzwa bifitanye isano