3_Interrupts.pdf

(712 KB) Pobierz
Microsoft PowerPoint - InterruptsB.ppt
Agenda
8:30 – 9:00 Overview
9:00 – 10:30 Analog Features
(MUX, PGA, Temp Sensor, Decimation, fmod, filtering, Vref, DAC)
10:30 – 10:45 Break
10:45 – 11:15 Architecture (HCR, Memory Org, SFR)
11:15 – 12:00 Timing (POR, System, PWM, Timers, Watchdog)
12:00 – 1:00 Lunch
1:00 – 2:00 Interrupts
2:00 – 2:30 Serial Communications (UART, SPI, I2C)
2:30 – 2:45 Break
2:45 – 3:45 Advanced Topics
(HCR, LVD, BOR, Flash Usage, Power Considerations, Programming, Boot ROM)
3:45 – 4:45 Development Environment (Project Setup, Debug)
4:45 – 5:00 Wrap Up
725353324.007.png 725353324.008.png
MicroSystem Seminar
Interrupts
725353324.009.png 725353324.010.png
MSC1210 Interrupts
21 Interrupt Sources
Watchdog
External Interrupts (6)
Serial Ports (2)
8051 Timers (3)
System Timers (2)
32-bit Accumulator
ADC
SPI (2)
Analog & Digital Low Voltage (2)
Breakpoint
725353324.001.png 725353324.002.png
Interrupts
Usage
Background Task processing
Respond to Real-time events
Multiple simultaneous timing
3 8051 timers, millisecond, second, watchdog timer
Fault response
Watchdog reset
ADC averaging
No software interaction required until 256 averages completed
725353324.003.png 725353324.004.png
Interrupts
Special Considerations
Watchdog can be used as a timer or Watchdog Reset
Auxiliary interrupts are the highest priority
All 8051 interrupts can have two priorities
There are two Global Enables.
EA is a global enable for the 8051 interrupts
EAI is the global enable for the Auxiliary interrupts
725353324.005.png 725353324.006.png
Zgłoś jeśli naruszono regulamin