Saturday, June 26, 2010

Session 1: 8051

1. Microprocessors VS MCU
2. Advantages of MCUs
3. Embedded systems
4. Choose a microcontroller
5. Speed, packaging, memory & cost per unit
6. Various members of 8051 family
7. Various manufacturers of 8051

CPU vs MCU vs Embedded microprocessor
>> Older
1. 6811 (formerly motorola, now Freescale)
2. 8051 (intel), Z8 (Zilog), PIC 16(Microchip)
>>Newer
1. ATMega (Atmel)
2. Hitachi H8
>> 8-bit means register (native data size) 8 bits

Why 8051 is still popular aftar 25 years
1. Intel allows others to make compatible MCUs
             >> Atmel, Philips/Signetcs, Siemens, Dallas Semiconductor
2. New and improved
             >> Silicon Labs (100MHZ low power, hi-perf)
3. Free designs available
             >> Integrated RF (e.g, Nordic nFR24E1, Chipcon cc2430, RadioPulse RG2400)

8051 Family









Question: How to program?
1. Make ROM (cheap if large quantity)
            >> Problem: You cannot change the program!
2. Make writable ROM
            >> PROM: (P=Programmable) Write-Once
            >> EEPROM: Electrically erasable Prom
            >> UV-EPROM : Erasable w/Ultraviolet (UV) light
            >> Flash: atype of EEPROM
            >> NV-RAM: Non Volatile RAM

EEPROM Programmer and UV-Eraser

 



























Flash memory
1. NAND-flash
            >> Cheaper, page access, erase whole page before writing
            >> Good for data (e.g, digital camera)
 2. NOR-flash
            >> Word addressable, more expensive
            >> Good for MCU program (firmware)
 3. Limited number of rewrite cycles (10,000)

Package types
1. DIP (dual-inline package) used in breadboards









2. PLCC (Plastic leadless chip carrier) Removable from socket

 
 
 
 
 
 
3. BGA (ball-grid array) Connect on bottom 
 






4. SMT (Surface mount) Small or no leads


 
 






Choosing a Microcontroller
  1. Computing needs
  2. Speed, packaging, power consumption, RAM, ROM, I/O pins, timers, radio, cost
  3. Voltage: TTL, CMOS, NMOS
  4. Software development tools
  5. Assembler, debugger, C compiler, emulator, technical support
  6. Availability & source

No comments: