1.an Introduction To Microcontrollers - P1
1.an Introduction To Microcontrollers - P1
1.an Introduction To Microcontrollers - P1
MICRO-
CONTROLLERS
PREPARED BY
BASEM IBRAHEEM
MODIFIED BY
KHALED M. IBRAHEEM
Microprocessor –vs- Microcontroller
CISC – vs - RISC
Microprocessor –vs- Microcontroller
CISC RISC
Emphasis on hardware Emphasis on software
Includes multi-clock Single-clock
complex instructions reduced instruction only
Memory-to-memory: “LOAD” and Register to register: “LOAD” and
“STORE” incorporated in “STORE” are independent
instructions instructions
high cycles per second, Small code Low cycles per second, large code
sizes sizes
Microprocessor Microcontroller
General computing Appliances, specialized
Applications
(i.e. Laptops, tablets) devices
Vendors
History of Microcontrollers
Microprocessor
System Bus
Peripheral Bus
Microcontroller
System Bus
Peripheral Bus
2.) The IDE debugs the code for errors, and then compiles it into binary
code which the microcontroller can execute.
• AVR AND ARM COMES UNDER THE FAMILY OF MICRO-CONTROLLER. BUT ARM
CAN BE USED AS BOTH MICROCONTROLLER OR AS MICROPROCESSOR. ARM
MICRO-CONTROLLER AND AVR MICRO-CONTROLLER DIFFERS FROM EACH
OTHER IN TERMS OF DIFFERENT ARCHITECTURE AND DIFFERENT SETS OF
INSTRUCTION, SPEED, CAST, MEMORY, POWER CONSUMPTION, BUS WIDTH ETC.
NOW LET’S UNDERSTAND IN DETAIL HOW THEY DIFFERS FROM EACH OTHER.
ARM VS AVR
AVR ARM
AVR micro controller refers to AVR stands for "Alf
and Vegard's RISC processor" or "Advanced ARM micro controller refers to Advanced RISC Micro-controller
Virtual RISC".. (ARM).
It has bus width of 8 bit or 32 bit. It has bus width of 32 bit and also available in 64 bit.
Its speed is 1 clock per instruction cycle. Its speed is also 1 clock per instruction cycle.
Its manufacturer is Apple, Nvidia, Qualcomm, Samsung
Its manufacturer is Atmel company. Electronics and TI etc.
It uses Flash, SRAM, EEPROM memory. It uses Flash, SDRAM, EEPROM memory.
Its family includes Tiny, Atmega, Xmega, special
purpose AVR. Its family includes ARMv4, 5, 6, 7 and series.
It is cheap and effective. It provides high speed operation.
Popular micro-controllers include Atmega8, 16, 32, Popular micro-controllers include LPC2148, ARM Cortex-M0 to
Arduino Community. ARM Cortex-M7, etc.