Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
0 of .
Results for:
No results containing your search query
P. 1
Vdk Avr Atmega88

Vdk Avr Atmega88



|Views: 1,316 |Likes:
Published by api-3698538

More info:

Published by: api-3698538 on Oct 14, 2008
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less





VI \u0110I\u1ec0U KHI\u1ec2N AVR \u2013 ATMEGA88

Lo\u1ea1i vi \u0111i\u1ec1u khi\u1ec3n h\u1ecd AVR RISC l\u00e0 do c\u00f4ng ty Atmel s\u1ea3n su\u1ea5t, v\u1edbi ki\u1ebfn tr\u00fac RISC (Reduce Instruction Set Computer). V\u1edbi nh\u1eefng \u01b0u \u0111i\u1ec3m \u0111\u01b0\u1ee3c n\u00eau ra sau \u0111\u00e2y, lo\u1ea1i chip n\u00e0y \u0111ang \u0111\u01b0\u1ee3c d\u00f9ng r\u1ed9ng d\u00e3i trong c\u00e1c h\u1ec7 th\u1ed1ng nh\u00fang.

C\u00e1c \u0111\u1eb7c \u0111i\u1ec3m ch\u00ednh:
1-Ki\u1ebfn tr\u00fac RISC v\u1edbi h\u1ea7u h\u1ebft c\u00e1c l\u1ec7nh c\u00f3 chi\u1ec1u d\u00e0i c\u1ed1 \u0111\u1ecbnh, truy nh\u1eadp b\u1ed9
nh\u1edb n\u1ea1p \u2013 l\u01b0u tr\u1eef v\u00e0 32 thanh nghi \u0111a n\u0103ng.
2- C\u00f3 nhi\u1ec1u b\u1ed9 ph\u1eadn ngo\u1ea1i vi ngay tr\u00ean chip, bao g\u1ed3m: C\u1ed5ng v\u00e0/ra s\u1ed1, b\u1ed9
bi\u1ebfn \u0111\u1ed5i ADC, b\u1ed9 nh\u1edb EEFROM, b\u1ed9 \u0111\u1ecbnh th\u1eddi, b\u1ed9 \u0111i\u1ec1u ch\u1ebf \u0111\u1ed9 r\u1ed9ng xung

(PWM), \u2026
3- H\u1ea7u h\u1ebft c\u00e1c l\u1ec7nh \u0111\u1ec1u th\u1ef1c hi\u1ec7n trong m\u1ed9t chu k\u1ef3 xung nh\u1ecbp.
4- Ho\u1ea1t \u0111\u1ed9ng v\u1edbi chu k\u1ef3 xung nh\u1ecbp cao, c\u00f3 th\u1ec3 l\u00ean \u0111\u1ebfn 20 MHz tu\u1ef3 thu\u1ed9c
t\u1eebng lo\u1ea1i chip c\u1ee5 th\u1ec3.
5- B\u1ed9 nh\u1edb ch\u01b0\u01a1ng tr\u00ecnh va b\u1ed9 nh\u1edb d\u1eef li\u1ec7u \u0111\u01b0\u1ee3c t\u00edch h\u1ee3p ngay tr\u00ean chip.
6- Kh\u1ea3 n\u0103ng l\u1eadp tr\u00ecnh \u0111\u01b0\u1ee3c trong h\u1ec7 th\u1ed1ng, c\u00f3 th\u1ec3 l\u1eadp tr\u00ecnh \u0111\u01b0\u1ee3c ngay khi

\u0111ang \u0111\u01b0\u1ee3c c\u1ea5p ngu\u1ed3n tr\u00ean b\u1ea3n m\u1ea1ch kh\u00f4ng c\u1ea7n ph\u1ea3i nh\u1ea5c chip ra kh\u1ecfi

b\u1ea3n m\u1ea1ch.
7- H\u1ed7 tr\u1ee3 cho vi\u1ec7c l\u1eadp tr\u00ecnh b\u1eb1ng ng\u00f4n ng\u1eef b\u1eadc cao \u2013 ng\u00f4n ng\u1eef C.
Sau \u0111\u00e2y l\u00e0 c\u00e1c \u0111\u1eb7c t\u00ednh c\u1ee7a lo\u1ea1i vi \u0111i\u1ec1u khi\u1ec3n Atmega88.

1.1 C\u00c1C \u0110\u1eb6C T\u00cdNH:
- Hi\u1ec7u n\u0103ng cao, ti\u00eau th\u1ee5 n\u0103ng l\u01b0\u1ee3ng \u00edt
- Ki\u1ebfn tr\u00fac RISC

o131 l\u1ec7nh m\u1ea1nh, h\u1ea7u h\u1ebft c\u00e1c l\u00eanh th\u1ef1c hi\u1ec7n trong m\u1ed9t chu k\u1ef3
o32 Thanh ghi 8-bit \u0111a n\u0103ng
oT\u1ed1c \u0111\u1ed9c th\u1ef1c hi\u1ec7n l\u00ean t\u1edbi 20 tri\u1ec7u l\u1ec7nh trong 1 gi\u00e2y v\u1edbi t\u1ea7n s\u1ed1

oC\u00f3 2 b\u1ed9 nh\u00e2n, m\u1ed7i b\u1ed9 th\u1ef1c hi\u1ec7n trong th\u1eddi gian 2 chu k\u1ef3
- C\u00e1c b\u1ed9 nh\u1edb ch\u01b0\u01a1ng tr\u00ecnh v\u00e0 d\u1eef li\u1ec7u c\u1ed1 \u0111\u1ecbnh
o8 Kb b\u1ed9 nh\u1edb flash c\u00f3 kh\u1ea3 n\u0103ng t\u1ef1 l\u1eadp tr\u00ecnh trong h\u1ec7 th\u1ed1ng
C\u00f3 th\u1ec3 th\u1ef1c hi\u1ec7n \u0111\u01b0\u1ee3c 10.000 l\u1ea7n ghi/xo\u00e1
oV\u00f9ng m\u00e3 Boot tu\u1ef3 ch\u1ecdn v\u1edbi nh\u1eefng bit kho\u00e1 \u0111\u1ed9c l\u1eadp
L\u1eadp tr\u00ecnh tr\u00ean trong h\u1ec7 th\u1ed1ng b\u1edfi ch\u01b0\u01a1ng tr\u00ecnh on-chip Boot
Thao t\u00e1c \u0111\u1ecdc trong khi nghi th\u1ef1c s\u1ef1
o512 bytes EEFROM
C\u00f3 th\u1ec3 th\u1ef1c hi\u1ec7n 100.000 l\u1ea7n ghi /xo\u00e1
o1Kb SRAM b\u00ean trong
oL\u1eadp tr\u00ecnh Kho\u00e1 an ninh ph\u1ea7n m\u1ec1m
-Gh\u00e9p n\u1ed1i ngo\u1ea1i vi
o2 b\u1ed9 \u0111\u1ecbnh th\u1eddi/ b\u1ed9 \u0111\u1ebfm 8 bit v\u1edbi c\u00e1c ch\u1ebf \u0111\u1ed9 t\u1ef7 l\u1ec7 \u0111\u1ecbnh tr\u01b0\u1edbc v\u00e0
ch\u1ebf \u0111\u1ed9 so s\u00e1nh.
o1 b\u1ed9 \u0111\u1ecbnh th\u1eddi/ b\u1ed9 \u0111\u1ebfm 16 bit v\u1edbi c\u00e1c ch\u1ebf \u0111\u1ed9 t\u1ef7 l\u1ec7 \u0111\u1ecbnh tr\u01b0\u1edbc
ri\u00eang bi\u1ec7t, ch\u1ebf \u0111\u1ed9 so s\u00e1nh v\u00e0 ch\u1ebf \u0111\u1ed9 b\u1eaft gi\u1eef

oB\u1ed9 th\u1eddi gian th\u1ef1c v\u1edbi b\u1ed9 t\u1ea1o dao \u0111\u1ed9ng ri\u00eang bi\u1ec7t
o6 k\u00eanh PWM
o6 k\u00eanh, ADC 10 bit
oGiao \u0111i\u1ec7n n\u1ed1i ti\u1ebfp 2 d\u00e2y h\u01b0\u1edbng t\u1edbi byte
oB\u1ed9 truy\u1ec1n tin n\u1ed1i ti\u1ebfp USART kh\u1ea3 tr\u00ecnh
oGiao di\u1ec7n SPI ch\u1ee7 / t\u1edb
oWatchdog Timer kh\u1ea3 tr\u00ecnh v\u1edbi b\u1ed9 t\u1ea1o dao \u0111\u1ed9ng b\u00ean trong ri\u00eang

oM\u00e1y so m\u1eabu t\u01b0\u01a1ng t\u1ef1 b\u00ean trong
oNg\u1eaft v\u00e0 \u0111\u00e1nh th\u1ee9c theo s\u1ef1 thay \u0111\u1ed5i c\u1ee7a c\u00e1c ch\u00e2n.
- C\u00e1c \u0111\u1eb7c \u0111i\u1ec3m \u0111\u1eb7c bi\u1ec7t kh\u00e1c.

oPower-on Reset v\u00e0 d\u00f2 Brown-out kh\u1ea3 tr\u00ecnh.
oB\u1ed9 t\u1ea1o dao \u0111\u1ed9ng \u0111\u01b0\u1ee3c \u0111\u1ecbnh c\u1ee1 b\u00ean trong.
oC\u00e1c ngu\u1ed3n ng\u1eaft b\u00ean trong v\u00e0 b\u00ean ngo\u00e0i.
o5 ch\u1ebf \u0111\u1ed9 ng\u1ee7: Nh\u00e0n r\u1ed7i, gi\u1ea3m \u1ed3n ADC, ti\u1ebft ki\u1ec7m n\u0103ng l\u01b0\u1ee3ng,

gi\u1ea3m n\u0103ng l\u01b0\u1ee3ng ti\u00eau th\u1ee5, ch\u1edd
- I/O v\u00e0 c\u00e1c lo\u1ea1i.
o23 \u0111\u01b0\u1eddng I/O kh\u1ea3 tr\u00ecnh.
- \u0110i\u1ec7n \u00e1p ho\u1ea1t \u0111\u1ed9ng.
o1.8 \u2013 5.5 V
-Nhi\u1ec7t \u0111\u1ed9 ho\u1ea1t \u0111\u1ed9ng: -40oC-85oC
- C\u00e1c t\u1ed1c \u0111\u1ed9.
o0-4 MHz khi \u0111i\u1ec7n \u00e1p 1.8-5.5V, 0-10 MHz khi \u0111i\u1ec7n \u00e1p 2.7-5.5V
-Ti\u00eau th\u1ee5 n\u0103ng l\u01b0\u1ee3ng t\u1ea1i 1 MHz, 3V, 25oC \u0111\u1ed1i v\u1edbi ATmega32L.
oHo\u1ea1t \u0111\u1ed9ng t\u00edch c\u1ef1c:
1MHz, 1.8V: 240\u00b5A
32 kHz, 1.8V: 15\u00b5A (bao g\u1ed3m c\u1ea3 b\u1ed9 dao \u0111\u1ed9ng)
Ch\u1ebf \u0111\u1ed9 n\u0103ng l\u01b0\u1ee3ng th\u1ea5p: 1\u00b5A khi \u0111i\u1ec7n \u00e1p 1.8V
S\u01a1 \u0111\u1ed3 kh\u1ed1i, H\u00ecnh 1.1
H\u00ecnh 1.1 S\u01a1 \u0111\u1ed3 kh\u1ed1i vi \u0111i\u1ec1u khi\u1ec3n AVR

C\u1ed1t l\u00f5i c\u1ee7a AVR l\u00e0 s\u1ef1 k\u1ebft h\u1ee3p t\u1eadp l\u1ec7nh \u0111\u1ea7y \u0111\u1ee7 v\u1edbi c\u00e1c thanh ghi \u0111a n\u0103ng 32 bit. T\u1ea5t c\u1ea3 c\u00e1c thanh ghi 32 bit n\u00e0y li\u00ean k\u1ebft tr\u1ef1c ti\u1ebfp v\u1edbi kh\u1ed1i x\u1eed l\u00fd s\u1ed1 h\u1ecdc v\u00e0 logic (ALU) cho ph\u00e9p 2 thanh ghi \u0111\u1ed9c l\u1eadp \u0111\u01b0\u1ee3c truy c\u1eadp trong m\u1ed9t l\u1ec7nh

Activity (31)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
Thien Nguyen liked this
hoaxuyenchi liked this
hoaxuyenchi liked this
hoaxuyenchi liked this
hoaxuyenchi liked this
Quan Tran liked this
nguoichucphuc liked this
Khoa Hoang liked this

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->