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

Pic16f84 Tr

Ratings: (0)|Views: 84 |Likes:
Published by api-3810092

More info:

Published by: api-3810092 on Oct 17, 2008
Copyright:Attribution Non-commercial

Availability:

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

03/18/2014

pdf

text

original

1
Y\u00fcksek Performansl\u0131 RISC CPU
\u00d6zellikleri:
\u2022\u00d6\u011frenmek i\u00e7in yaln\u0131zca 35 tek kelime
komutlar\u0131
\u2022\u0110ki d\u00f6n\u00fc\u015f\u00fcml\u00fc program komutlar\u0131
haricindeki b\u00fct\u00fcn komutlar tek
d\u00f6n\u00fc\u015f\u00fcmde (400 ns @ 10 MHz)
\u2022 \u0110 \u015fletim h\u0131z\u0131 DC-10 MHz saat giri\u015fi
DC-400 ns komut d\u00f6n\u00fc\u015f\u00fcm\u00fc

\u202214 bitlik geni\u015f komutlar
\u20228 bitlik geni\u015f veriyolu
\u20221K*14 EEPROM program haf\u0131zas\u0131
\u202236*8 genel ama\u00e7l\u0131 register (SRAM)
\u202264*8 chip \u00fcst\u00fcnde EEPROM data haf\u0131zas\u0131
\u202215 \u00f6zel fonksiyonlu donan\u0131m registeri
\u20228 d\u00fczeyde derin donan\u0131m deposu
\u2022Direkt,endirekt ve ba\u011f\u0131ml\u0131 adresleme

modlar\u0131
\u2022D\u00f6rt kesinti kayna\u011f\u0131

- Harici RB0/INT pini
- TMRO zamanlay\u0131c\u0131 ta\u015fmas\u0131
- PORTB <7:4> de\u011fi\u015fim kesintisi
- Data EEPROM yazma ta\u015fmas\u0131

\u20221.000.000 EEPROM data haf\u0131zas\u0131
ERASE/WRITE d\u00f6ng\u00fcleri
\u2022EEPROM haf\u0131za ge\u00e7erlili\u011fi 40 y\u0131ldan
fazla
D\u0131\u015f Y\u00fczeysel \u00d6zellikler:
\u202213 I/O pini ile ba\u011f\u0131ms\u0131z komut kontrolu
\u2022Direkt LED s\u00fcr\u00fcc\u00fcs\u00fc i\u00e7in y\u00fcksek ak\u0131mda

indirme/\u00e7\u0131karma
- Her pin i\u00e7in max. 25 mA\u2019lik indirme
- Her pin i\u00e7in max. 20 mA\u2019lik bindirme

\u2022TMRO: 8 bitlik programlanabilir \u00f6n
derecelendirici ile 8 bitlik
zamanlay\u0131c\u0131/sayac
\u00d6zel Mikrokontrol\u00f6r \u00d6zellikleri:

\u2022Power-on Reset (POR)
\u2022Power-up Timer (PWRT)
\u2022Oscillator Start-up Timer (OST)
\u2022G\u00fcvenli i\u015flemler i\u00e7in chip \u00fcst\u00fcnde olan

RC osilat\u00f6r ile Watchdog Timer (WDT)

\u2022Kod korumas\u0131
\u2022G\u00fc\u00e7 korumal\u0131 SLEEP modu
\u2022Se\u00e7ilebilir osilat\u00f6r se\u00e7enekleri
\u2022Seri sistem i\u00e7i programlama (iki pin yolu

ile)
CMOS Teknolojisi:
\u2022D\u00fc\u015f\u00fck g\u00fc\u00e7,y\u00fcksek h\u0131z CMOS EEPROM
teknolojisi
\u2022B\u00fct\u00fcn\u00fcyle statik dizayn
\u2022Geni\u015f aral\u0131kl\u0131 i\u015fletme voltaj\u0131:
- Ticari : 2.0V-6.0V
- End\u00fcstriyel : 2.0V-6.0V
\u2022D\u00fc\u015f\u00fck g\u00fc\u00e7 t\u00fcketimi

- < 2mA tipik @ 5V,4MHz
- 60\u00b5A tipik @ 2V,32 kHz
- 26\u00b5A tipik standby ak\u0131m\u0131 @ 2V

1.0 GENEL TANIMLAR
2

PIC16C84 d\u00fc\u015f\u00fck maliyetli , y\u00fcksek perfor-
mansl\u0131 , CMOS , b\u00fct\u00fcn\u00fcyle statik , 8 bitlik bir
mikrokontrol\u00f6rd\u00fcr.

B\u00fct\u00fcn PIC16/17 mikrokontrol\u00f6rleri geli\u015fm- i\u015f bir RISC tasar\u0131m\u0131 i\u00e7erir.PIC16CXX cihazlar\u0131 geli\u015ftirilmi\u015f \u00e7ekirdek(temel) \u00f6zellikleri , 8 d\u00fczeyde derin depolama (stack) ve \u00e7o\u011ful dahili ve harici kesme kaynaklar\u0131na sahiptir.Harvard tasar\u0131m\u0131n\u0131n ayr\u0131k komut ve data ta\u015f\u0131y\u0131c\u0131lar\u0131 (data bus) 14 bit geni\u015fli\u011findeki kelime komutlar\u0131n\u0131 8 bitlik ayr\u0131 bir data ta\u015f\u0131y\u0131c\u0131s\u0131 ile beraber i\u00e7erir.2 basamakl\u0131 komut veriyolu , b\u00fct\u00fcn komutlar\u0131n tek bir d\u00f6n\u00fc\u015f\u00fcmde uygulamaya konulmas\u0131na izin verir.(\u0110ki d\u00f6n\u00fc\u015f\u00fcml\u00fc program dallar\u0131 gerektirenler hari\u00e7).Toplam 35 komut (azalt\u0131lm\u0131\u015f komut seti) mevcuttur.Bunlara ek olarak , y\u00fcksek performans seviyesini sa\u011flamak i\u00e7in kullan\u0131lan geni\u015f bir register seti de kullan\u0131lmaktad\u0131r.

PIC16CXX mikrokontrol\u00f6rleri tipik olarak 2:1 kod s\u0131k\u0131\u015ft\u0131rmas\u0131 ve kendi s\u0131n\u0131flar\u0131ndaki di\u011fer 8 bitlik mikrokontrol\u00f6rlerin \u00fczerinde 2:1\u2019lik h\u0131z geli\u015ftirmesinde (10Mhz) sa\u011flarlar.

PIC16C84 36 byte\u2019l\u0131k RAM , 64 byte\u2019l\u0131k data EEPROM haf\u0131zas\u0131 ve 13 I/O pinine sahiptir.Zamanlay\u0131c\u0131/saya\u00e7 da mevcuttur.

PIC16CXX ailesi harici bile\u015fenleri aza indirmek i\u00e7in bir tak\u0131m \u00f6zelliklerde i\u00e7ermektedir.Bunlar maliyeti d\u00fc\u015f\u00fcrmek , sistem g\u00fcvenirlili\u011finin sa\u011flanmas\u0131 ve g\u00fc\u00e7 t\u00fcketiminin

azalt\u0131lmas\u0131
\u015feklinde

say\u0131labilir.D\u00fc\u015f\u00fck maliyet \u00e7\u00f6z\u00fcm\u00fcn\u00fc sa\u011flayan tek pinli RC osilat\u00f6r,g\u00fc\u00e7 tasarrufunu max. yapan LP osilat\u00f6r\u00fc , standart kristal olan XT ve y\u00fcksek h\u0131z kristalleri i\u00e7in olan HS bu d\u00f6rt tane osilat\u00f6r se\u00e7enekleridir.SLEEP modu g\u00fc\u00e7ten tasarrufu sa\u011flar.Kullan\u0131c\u0131 , harici - dahili kesme ve yenilemelerle chipi uyku modundan uyand\u0131rabilir.G\u00fcvenirli\u011fi y\u00fcksek Watchdog Timer , chip \u00fczerinde bulunan RC osilat\u00f6r\u00fc ile yaz\u0131l\u0131mlar\u0131n kilitlenmesine kar\u015f\u0131 koruma sa\u011flar.

PIC16C84 EEPROM program haf\u0131zas\u0131 , prototipleme ve \u00fcretim i\u00e7in kullan\u0131lan ayn\u0131 cihaz paketinde sa\u011flanmaktad\u0131r.Devre i\u00e7i tekrar programlanbilmesi , kodun uygulaman\u0131n sonunda cihaz \u00e7\u0131kar\u0131lmadan yenilenmesine izin verir.Bu durum , bir\u00e7ok uygulaman\u0131n geli\u015ftirilmesinde , cihazlar\u0131n kolayl\u0131kla elde edilemeyece\u011fi yerlerde kullan\u0131labilir.Ancak , pr\u0131totiplerde kod yenilemeleri gerektirebilir.Bu ayn\u0131

zamanda
kodun

yenilenmesini gerektirebilen uzaktan uygulamalar i\u00e7in de kullan\u0131\u015fl\u0131 bir faaliyettir.(oran enformasyonu gibi)

Tablo 1-1\u2019de PIC16C84 \u00f6zellikleri listeler halinde verilmi\u015ftir.Ve Ek-F de b\u00fct\u00fcn mikrocip mikrokontrol\u00f6rlerin \u00f6zellikleri de verilmi\u015ftir.

\u015eekil 3-1\u2019de PIC16C84\u2019\u00fcn sadele\u015ftirilmi\u015f
blok diyagram\u0131 verilmi\u015ftir.

PIC16C84 y\u00fcksek h\u0131zl\u0131 otomotiv ve motor kontrol uygulamalar\u0131ndan d\u00fc\u015f\u00fck g\u00fc\u00e7 uzaktan kumanda sens\u00f6rleri , elektronik kilitler , g\u00fcvenlik ara\u00e7lar\u0131 ve ak\u0131ll\u0131 kartlara kadar olan geni\u015f bir uygulama alan\u0131na m\u00fckemmel bir

\u015fekilde uymaktad\u0131r.EEPROM teknolojisi

uygulama programlar\u0131n\u0131n (transmitter kodlar\u0131 , motor h\u0131zlar\u0131 , al\u0131c\u0131 frekanslar\u0131 g\u00fcvenlik kodlar\u0131 , v.s ) istenilen \u00f6zelliklerde olabildi\u011fince h\u0131zl\u0131 ve ge\u00e7erli yap\u0131lmas\u0131n\u0131 m\u00fcmk\u00fcn k\u0131lar.Small footprint packages , bu mikrokontrol\u00f6r

serisini
,
bo\u015f

alan s\u0131n\u0131rlamalar\u0131yla birlikte t\u00fcm uygulamalarda , m\u00fckemmel yapmaktad\u0131r.D\u00fc\u015f\u00fck maliyet , d\u00fc\u015f\u00fck g\u00fc\u00e7 , y\u00fcksek performans , kullan\u0131m kolayl\u0131\u011f\u0131 ve I/O esnekli\u011fi PIC16C84\u2019\u00fcn mikrokontrol\u00f6r kullan\u0131m\u0131n\u0131n daha \u00f6nce d\u00fc\u015f\u00fcn\u00fclmedi\u011fi yerlerde(\u00f6rne\u011fin zamanlama fonksiyonlar\u0131 , seri ileti\u015fim , yakalama ve mukayese , PWM fonksiyonlar\u0131 ve yard\u0131mc\u0131 i\u015flemci uygulamalar\u0131) bile \u00e7ok y\u00f6nl\u00fc olmas\u0131n\u0131 sa\u011flar.

Seri sistem i\u00e7i programlama \u00f6zellikleri(2 pin \u00fczerinden) \u00fcr\u00fcn\u00fcn d\u00fczenleme ve test edilmesi esnekli\u011fini sa\u011flar.Bu \u00f6zellik bir \u00fcr\u00fcn\u00fcn seri hale getirilmesinde , yer ayarlama datas\u0131nda kullan\u0131l\u0131r yada cihaz\u0131n tesliminden \u00f6nce

mevcut
olanaklar
dahilinde
programlanmas\u0131n\u0131 sa\u011flar.
1-1 S\u0131n\u0131f Ve\u0110leriye Y\u00f6nelik
Uyumluluk

PIC16C5X mikrokontrol\u00f6r ailesi ile tan\u0131\u015f\u0131k olanlar 16C84\u2019\u00fcn 16C5X tasar\u0131m\u0131n\u0131n geli\u015ftirilmi\u015f

versiyonu

oldu\u011funu bilirler.Geli\u015ftirmelerin detayl\u0131 bir listesi Ek- A\u2019da verilmi\u015ftir.16C5X i\u00e7in yaz\u0131lm\u0131\u015f olan kod 16C84\u2019\u00fcn

portlar\u0131na
kolayl\u0131kla
uygulanbilir.(Ek-B)
1-2 Geli\u015fim Deste\u011fi

PIC16CXX ailesi , tam \u00f6zellikli bir macro assembler, bir yaz\u0131l\u0131m simulat\u00f6r\u00fc , bir devre i\u00e7i emulat\u00f6r , d\u00fc\u015f\u00fck maliyetli geli\u015ftirme programlay\u0131c\u0131s\u0131 ve tam \u00f6zellikli bir programlay\u0131c\u0131 taraf\u0131ndan desteklenir.Bir C derleyicisi ve bulan\u0131k mant\u0131k destek ara\u00e7lar\u0131da mevcuttur.

3
Tablo 1-1 : PIC16C8X S\u0131n\u0131f\u0131 Ara\u00e7lar
2.0 PIC16C84 AYGIT
DE\u011e\u0110\u015e\u0110KL\u0110KLER\u0110

Frekans aral\u0131klar\u0131 ve paket se\u00e7eneklerinde bir de\u011fi\u015fiklik mevcuttur.Uygulama ve \u00fcretim gereksinmeleine ba\u011fl\u0131 olarak belirli ayg\u0131t se\u00e7ene\u011fi bu b\u00f6l\u00fcmdeki bilgiden yararlan\u0131larak

se\u00e7ilebilir.Ayg\u0131t numaras\u0131yla g\u00f6sterilen 2 \u00e7e\u015fit ayg\u0131t tipi vard\u0131r.

1. PIC16C84\u2019dekiC : Bu ayg\u0131tlar EEPROM program haf\u0131zas\u0131na sahiptirler ve standart voltaj aral\u0131\u011f\u0131nda i\u015fletilirler. 2. PIC16LC84\u2019 dekiLC : Bu ayg\u0131tlar EEPROM program haf\u0131zas\u0131na sahiptir ve geni\u015fletilmi\u015f voltaj aral\u0131\u011f\u0131nda i\u015fletilirler.

2.1 Elektriksel Yolla Silinebilen
Ayg\u0131tlar

Bu ayg\u0131tlar d\u00fc\u015f\u00fck maliyetli plastik paketlerde talep edilirler,hatta ayg\u0131t

silinebilir
ve

tekrar programlanabilir.Bu, ayn\u0131 ayg\u0131t\u0131n prototip geli\u015ftirilmesinde ve pilot programlarda aynen \u00fcretimde oldu\u011fu gibi kullan\u0131lmas\u0131n\u0131 sa\u011flar.Elektriksel yolla silinebilen ayg\u0131tlar\u0131n ba\u015fka bir \u00f6zelli\u011fide Microchip\u2019s PICSTART Plus ya da PROMATE II programlay\u0131c\u0131

gibi
ayg\u0131t
programlay\u0131c\u0131lar\u0131

taraf\u0131ndan silinebilmeleri ve tekrar devre \u00fcst\u00fcnde programlanabilmeleridir.

You're Reading a Free Preview

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