1 Introduction to Microcontrollers

113
Embedded Designing & Programming with Microcontrollers (16F84A) Roland Fernandez

description

This document discusses the introduction to microcontrollers

Transcript of 1 Introduction to Microcontrollers

Slide 1

Embedded Designing& Programming with Microcontrollers (16F84A)Roland Fernandez1What is this course about?Coordination of many levels of abstractionI/O systemProcessorCompilerOperatingSystem(Windows XP)Application (Netscape)Digital DesignCircuit DesignInstruction Set ArchitectureDatapath & Control transistorsMemoryHardwareSoftwareAssembler2Programming Levels of Representationldr r0 , [r2, #0]ldr r1 , [r2, #4]str r1 , [r2, #0]str r0 , [r2, #4]High Level Language Program (e.g., C)Assembly Language Program (e.g. ARM)Machine Language Program (ARM)Control Signal SpecificationCompilerAssemblerMachine Interpretationtemp = v[k];v[k] = v[k+1];v[k+1] = temp;1110 0101 1001 0010 0000 0000 0000 0000 1110 0101 1001 0010 0000 0000 0000 0100 1110 0101 1000 0010 0001 0000 0000 0000 1110 0101 1000 0010 0001 0000 0000 0100ALUOP[0:3] 40 yearsIn-Circuit Serial Programming (ICSP) - viatwo pins

46Special FeaturesPower-on Reset (POR), Power-up Timer (PWRT),Oscillator Start-up Timer (OST)Watchdog Timer (WDT) with its own On-Chip RCOscillator for reliable operationCode protectionPower saving SLEEP modeSelectable oscillator options47CMOS/Flash EEPROM Tech.Low power, High speedFully static designWide operating voltage range:2.0 V to 6.0 V Commercial2.0 V to 6.0 V IndustrialLow Power Consumption