1 / 21

Bab vIII avr

Bab vIII avr. Sistem Mikroprosessor Universitas Jenderal Achmad Yani Rizal suryana. pendahuluan. AVR  ALF and VEGARD`S RISC PROCESSOR DIKEMBANGKAN TAHUN 1997 LEBAR BUS DATA 8 BIT BEKERJA SESUAI DENGAN FREKUENSI OSILATOR KELUAR AVR  tinyAVR , AVRClasic , megaAVR , XMEGA.

teva
Download Presentation

Bab vIII avr

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Bab vIIIavr SistemMikroprosessor UniversitasJenderalAchmadYani Rizal suryana

  2. pendahuluan • AVR  ALF and VEGARD`S RISC PROCESSOR • DIKEMBANGKAN TAHUN 1997 • LEBAR BUS DATA 8 BIT • BEKERJA SESUAI DENGAN FREKUENSI OSILATOR • KELUAR AVR  tinyAVR, AVRClasic, megaAVR, XMEGA

  3. Keluargaavr

  4. Produkavr

  5. Apa yang spesialavr ? • Source from http://www.engineersgarage.com/articles/avr-microcontroller

  6. Naming Convention.! Source from http://www.engineersgarage.com/articles/avr-microcontroller

  7. Arsitekturavrsecaraumum • Source from http://www.engineersgarage.com/articles/avr-microcontroller

  8. Cpuavr • STACK POINTER • PROGRAM COUNTER • INSTRUCTION REGISTER • INSTRUCTION DECODER • GENERAL PORPUSE REGISTER  32 REGISTER • ALU • STATUS REGISTER

  9. STATUS REGISTER • I  GLOBAL INTERUPT ENABLE • T  BIT COPY STORAGE  COPY BIT ANTAR BIT REGISTER • H  HALF CARRY FLAG  UNTUK MENUNJUKAN TIDAK ADANYA SETENGAH CARRY PADA OPERASI ARTIMATIKA • S  SIGN BIT  MERUPAKAN HASIL EOR ANTARA FLAG –N (NEGATIF) DAN FLAG V (KOMPLEMEN DUA OVERFLOW) • V  TWO`S COMPONENT OVERFLOW FLAG  PERHITUNGAN SEBELUMNYA MENYEBABKAN OVERFLOW • N  NEGATIVE FLAG  DISET JIKA HASIL OPERASI MATEMATIS MENGHASILKAN NEGATIF • Z  ZERO FLAG  DISET JIKA HASIL OPERASI MATEMATIS MENGHASILKAN BILANGAN 0 • C  CARRY FLAG  DISET JIKA OPERASI MENGHASILKAN CARRY

  10. MEMORY • FLASH MEMORY • SRAM • EEPROM

  11. KOMUNIKASI • TWI • SPI • UASRT • ISP

  12. TIMER • COUNTER • TIMER • WATCHDOG TIMER

  13. INTERUPT • EXTERNAL • INTERNAL

  14. I/O • 8 BIT BIDIRECTIONAL • PORT A, PORTB, PORT C DAN PORT D

  15. PERIPHERAL • ADC • PWM

  16. PIN AVR

  17. PORT A  I/O 8BIT BIDIRECTIONAL  OUTPUT ARUS 20mA • PORT B  I/O 8 BIT BIDIRECTIONAL  OUTPUT ARUS 20 mA  MEMILIKI FUNGSI ALTERNATIF • PORT C  I/O 8 BIT BIDIRECTIONAL  OUTPUT ARUS 20 mA • PORT D  I/O 8 BIT BIDIRECTIONAL  OUTPUT ARUS 20 mA  MEMILIKI FUNGSI ALTERNATIF

  18. FUNGSI ALTERNATIF PORT B

  19. FUNGSI ALTERNATIF PORT D

  20. RESET PIN 9 • XTAL1 DAN XTAL 2  INPUT OSILATOR • AVCC  INPUT TEGANGAN UNTUK ADC • AREF  REFERENSI ADC • AGND  ANALOG GROUND

More Related