Professional Documents
Culture Documents
MicroprocessorbasedSystemDesign
CourseIntroductoryBriefing
Lecturers
LamSiewKei(CourseCoordinator)
siewkei_lam@pmail.ntu.edu.sg
RaviSuppiah
ravi.suppiah@ntu.edu.sg
201516Semester2
CourseIntroductoryBriefing
1 of21
IntroductoryBriefing
CourseLogistics
CourseAssessments
CourseIntroduction
CourseContentsOverview
LearningOutcomes
References
201516Semester2
CourseIntroductoryBriefing
2 of21
CourseLogistics
Scheduled contact hours:
Two 1-hour Lectures per week
Monday (11:30 12:30 pm) LT10
Thursday (2:30 3:30 pm) LT13
One 1-hour Tutorial per week
Commencing Week 3
CourseIntroductoryBriefing
3 of21
CourseAssessment
TwoComponents
Semesterendwrittenexamination 60%
Coursework 40%
Courseworkcomprisesof:
Two15minuteLabQuizzes
Quiz1 forLab1&2(attheendofLab2Session)
Quiz2 forLab3(attheendofLab3Session)
One LabreportforLab13
Submissiondate Tentatively1weekafterLab4
Detailswillbeannouncedlater
One Labassessment
Lab4
Detailswillbeannouncedlater
201314Semester2
CourseIntroductoryBriefing
4 of20
ANewComputingClassRoughlyEveryDecade
Number Crunching
Data Storage
Mainframe
Minicomputer
productivity
interactive
Workstation
PC
Laptop
CPSD
year
Roughly every decade a new, lower priced computer
class forms based on a new programming platform,
network, and interface resulting in new usage and
the establishment of a new industry.
streaming
information
to/from physical
world
Source:
Prabal Dutta,
University of Michigan
ComputingClasses
Computerscanbebroadlyclassifiedbasedontheir
roles:
Numericalcomputation(numbercrunching)
Supercomputers
Dataprocessing
PersonalComputerorWorkstation
Automaticcontrolsystem
Embeddedsystems
Computerisamachinethat:
Takesininformationfromtheoutsideworld,
Processestheinformationusingapredeterminedsetof
operations
Deliverstheprocessedinformation
201314Semester2
CourseIntroductoryBriefing
6 of20
EmbeddedSystems
Systemwithacomputerthatisembedded inalargersystem
andisinvisibletotheuser
E.g.remotecontrollerforTVorcontrollerusedinautomotive
applications
Oftenhandlesadedicatedtask withrealtimeconstraints
Embeddedcomputersformthemajorityofthecomputerstoday
Typicalfunctionsofanembeddedsystemforautomated
control:
Monitoroneorfewphysicalparameters(temperature,
pressure,light)anddataacquisition
Processtheacquireddata
Controlthephysicalparameters systemneedstogenerate
signals
201314Semester2
CourseIntroductoryBriefing
7 of20
Example:FlightControlSystem
Theaircraftpositionandspeedaredeterminedfromsensors
Theseinformationarefedtocomputerstodeterminetheerror
intheaircraftscourse
Computeroutputssignalstomoveaircraftscontrolsurfaceand
adjustenginethrust
Source:AlanClements:PrincipleofComputerHardware(FourthEdition),Oxford
201314Semester2
CourseIntroductoryBriefing
8 of20
Example:FuelInjectionSystem
Temperature,pressureoftheair,angleofthecrankshaftare
measured
Theseinformationareusedtocalculatehowmuchfuelshould
beinjected
Source:AlanClements:
PrincipleofComputer
Hardware(FourthEdition),
Oxford
MicroprocessorbasedSystem
Physicalparameters(temperature,pressure,light,etc.)
Sensorsignals(analogue)are
conditionedandconvertedto
digitalsignalsusingADC
Thedigitalsignalsarereadin
Data
andprocessedbythe
acquisition
microprocessor
DACandactuatorsareusedto
controlthephysical
Process
data
parameters
Controlsignals
201314Semester2
CourseIntroductoryBriefing
10 of20
Example:RoboticMouse
CourseContentsOverview
MicroprocessorbasedSystemsrequireadditional
resourcessuchas:
Memory,
Timers
Peripheralcontrollers,
AnaloguetoDigitalConvertersetc.
Theywillneedtobespeciallyselectedtomeetthe
specificrequirements
Henceitisnecessarytofullyunderstand:
Microprocessorbasedinterfacingtechniquesand
requirements
Therangeofcomponentsavailable
Howtheycanbeinterfacedtogethertoachievereliable
operations
201516Semester2
CourseIntroductoryBriefing
12 of21
CourseContentsOverview(cont.)
Currentmicroprocessorlandscapeandpracticalissues
(e.g.commonpackagesandtypicalI/Osignalsand
interfacingtechniques)
Characteristicsofcommoncommunicationmethods
(e.g.UART,SPI,I2C,RS232,RS485andIEEE488)and
devicesusedtosupportsomeofthesemethods
Characteristicsandinterfacingrequirementsfordifferent
typesofmemory
Flash,SRAMandDRAM
201516Semester2
CourseIntroductoryBriefing
13 of21
CourseContentsOverview(cont.)
Physicalparameters(temperature,pressure,light,etc.)
Understandhowcomponents
suchasmemories,digital
peripheralsandADCandDACare
connectedtoamicroprocessor;
bothinlogicalconceptand
physicalpracticality
Data
acquisition
Appreciatevariouspractical
systemdesignissuesin
implementingmicroprocessor
basedsystem
Process
data
Developsimpleprograms(for
ARMCortexMbasedprocessor)
tointeractwithdevicesineither
processorpolledmodeor
interruptdrivenmode(ordirect
memoryaccesses).
201516Semester2
CourseIntroductoryBriefing
Controlsignals
14 of21
CE2007CortexM1DevelopmentSystem
ARMCortexM1
implementedon
FPGA
DE0FPGA
DevelopmentKit
201314Semester2
TeachingAuxiliary
Board(TAB)
CourseIntroductoryBriefing
15 of20
TeachingAuxiliaryBoard(TAB)
201314Semester2
CourseIntroductoryBriefing
16 of20
LectureSchedule(Week1 7)
Week
1
2
3
4
5
6
7
Day
Topic
Monday
T00 CourseIntroductoryBriefing
Thursday
T01Microprocessor Landscape
Monday
T02PackagesSignalsandProcessing
Tutorials
Lab
Thursday T03ARMCortexMArchitecture
Monday
T05 Peripherals,InterfaceandApplications
T05 Peripherals,InterfaceandApplications
Chinese NewYear
T06Sensors, ActuatorsandSignalConditioning
T08TimerInterrupt
Tutorial1
Tutorial2 Lab1
Tutorial3
Tutorial3 Lab2
LearningOutcomes
Understandhowtoconnectanyselectedmemoryor
peripheraldevicestoamicroprocessor(e.g.withdueregard
tosignalandtimingrequirements)
Knowhowsignalsassociatedwithsensorsareprocessedvia
analoguecircuitsandacquiredasquantizeddigitalnumbers
usinganaloguetodigitalconverters(ADC)
Beabletowritebasicrealtimeprogramstomanipulate
binaryinputsfromswitchesandADCreadings,andtooutput
signalstoimplementuserdefinedcontroloperations
201516Semester2
CourseIntroductoryBriefing
18 of21
HowthisFitswithOther
Modules
CE1006:Computer
OrganizationandArchitecture
CE2007:Microprocessorbased
SystemsDesign
CE3003:
Microcontroller
Programming
CE3004:MultidisciplinaryProject
References
Somegeneralreferences:
JonathanW.Valvano,
EmbeddedSystems:RealTimeInterfacingtoARM
CortexMMicrocontrollers(2012edition)
JonathanW.Valvano,
EmbeddedSystems:IntroductiontoArmCortexM3
Microcontrollers
JosephYiu,
TheDefinitiveGuidetotheARMCortexM0(M3)
Specificreferencematerials(ifany)for
certaintopicswillbeindicatedat
appropriatejuncturesduringthecourse
201516Semester2
CourseIntroductoryBriefing
20 of21
Questions?
201516Semester2
CourseIntroductoryBriefing
21 of21