Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
By Zulfakar Aspar,
Microelectronic and Computer Engineering, Faculty of Electrical Engineering, Universiti Teknologi Malaysia
Microcontroller
Eg Microchip PIC, Atmel AVR, Motorolla i M t ll series
Very powerfull and resources hungry gy Core CPU only Expensive Complex board design
Just enough processing p power and resources All necessary peripherals are integrated Cheap Very simple board design
2.
3. 3
High-End i h d
a) 16 bit instruction (opcode) word length b) PIC 17C/18C/18F )
PIC Architecture
8 bit datapath RISC instruction set Havard memory 4 stage pipeline i li
Arithmetic and Logic Unit (ALU) Peripherals (Timer, ADC, Comparator, C t USART etc)
PIC16F873/4/6/7 Architecture
Device Selection
PIC can be choose based on: 1. Program Memory
a) Type: ROM, OTP, Flash b) Size: (min. 512 words, max. 65536 words)
2. 2 Data Memory
a) RAM b) EEPROM )
3. Pins
a) I/O b) Package
5.
Digital I/O
a) PWM: 10 bit b) Timers/WDT: 8 bit, 16 bit, prescalar c) S i l I/O: I2C SPI USART etc. ) Serial I/O I2C, SPI, USART, t
6.
Clock
a) Internal ) b) External
8.
Others
a) ) b) c) d)