a complex sequential circuit whose primary function is to execute programs that are stored within its Flash EEPROM (Electrically Erasable Programmable Read Only
Memory).
CPU w/in a microcontroller
Program
main control center for the entire microcontroller. While responding to different program instructions, the CPU will call upon its resident subsystems to perform their tasks.
Central Processing Unit (CPU)
tends to run slower than the other two configurations
since operands must be continually fetched from memory
- has the ability to execute fairly complicated instructions
- may also be modified such that one operand is located in
a register and the other is found in memory.
Accumulator-based architecture
Register-based architecture
Stack-based architecture
. Pipeline architecture
Two basic types of instruction set architectures:
Reduced Instruction Set Computer (RISC)
Complex Instruction Set Computer (CISC)
. Reduced Instruction Set Computer (RISC)
Complex Instruction Set Computer (CISC)
Bus
. Address Bus
. Data Bus
Control Bus
addressable memory usually contains several different types of memory
MEMORY:
provides the size in bytes of each memory component and its start and stop address within the memory system.
Memory map
volatile (if the microcontroller loses power, the contents of RAM memory are lost.)
- can be written to and read from during program execution
- used during system development to store a program
RAM
. Byte-addressable EEPROM
Flash EEPROM
control the speed at which a microcontroller sequences through its actions
TIME BASE
the number of cycles per second completed by a repetitive signal.
Frequency
time increment in seconds required for a repetitive signal to complete a single cycle. The period is the reciprocal of the frequency (T = 1/ f ).
Period -
indicates the percentage of time for which the signal
is active in a single period.
Duty cycle
frequently used to control motor speed.
Pulse width modulation (PWM)