null
US
Sign In
Sign Up for Free
Sign Up
We have detected that Javascript is not enabled in your browser. The dynamic nature of our site means that Javascript must be enabled to function properly. Please read our
terms and conditions
for more information.
Next up
Copy and Edit
You need to log in to complete this action!
Register for Free
3880411
Chapter 2: MCU Archi and Embed C
Description
mind map for ict2104 chapter 2
No tags specified
ict2104
chapter 2
mind map
uni
uni year 2
Mind Map by
Meixi Lim
, updated more than 1 year ago
More
Less
Created by
Meixi Lim
about 9 years ago
17
0
0
Resource summary
Chapter 2: MCU Archi and Embed C
Von Neumann Architecture
Stored program computer
Stores program data and instructions data in the same memory (RAM)
CPU / Processor: Central Processing Unit
Memory: Stores data and program
I/O / Peripherals: For CPU to interface to external world.
Address bus: Determine which location
Data Bus: Determine the data size
Control Bus: Determine the type of instruction (read / write)
I/O and Interfacing with Externals
Connection
Loosely Coupled: For external interface
via external bus
via network
via port
Tightly Coupled: For internal interface
via fast internal bus
Data Transfer
Serial
Transmit data bit by bit
Requires at least 2 wires to support bidirectional communcation
Low speed but is the standard for external interface
Parallel
Transmit data multiple bits at a time
Require multiple interconnections and additional synchronization mechanism
Fast but limited to short distance, mostly used for internal interfacing
OS
Multitasking: Perform more than one task
Multithreading: Different parts of same program executed simultaneously
Multiprocessing: Work appears to be simultaneous because of speed of proceesor
CPU Speed: Measure of number of instructions CPU can carry out per second
2.5GHz CPU: 2.5 billion cycles / second
Microcontroller Selection
Key Selection Criteria
CPU computation requirements
Number of I/O available
Support in terms of tools and software libraries availability
Cost
MCU Manufacturer
Power Consumption
Memory Options
Types: Masked, EEPROM, Flash, RAM, FRAM
Size: Can have a wide range
Internal Peripherals
MSP430
CPU Block Diagram
PC: Address of next instruction to be executed
SP (20 bit): Points to RAM reserve to store program context so that it can return after subroutine / interrupt processing.
SR: Contains a set of flags (C, Z, N, V), GIE and MCU mode selection bits
Constant Generator: 6 most frequently used values
General purpose registers: 12
Key Features
Ultra Low Power
Increased Performance
Innovative Features
16-bit RISC computer based on Von Neumann architecture
Memory: Sequential list of addressable storage elements
Program / Instruction: A sequence of instructions
Not possible to differentiate instruction and data
Data: Values instructions operate on
Embedded C
Identifiers
const: Constant; stored in program section memory
extern: To make reference to variables declared elsewhere
static: Preserves the variable even after function/block
volatile: To allow changes of variable by an event outside program i.e. ADC
Directives
include: to include a file as part of source code
define: substitute a name by corresponding expression
pragma: compiler specific directive; instructs compiler to use implementation dependent features
Show full summary
Hide full summary
Want to create your own
Mind Maps
for
free
with GoConqr?
Learn more
.
Similar
Personal Statement
reecey112k9
How to Create A Mindmap
PatrickNoonan
Creating Mind Maps with GoConqr
Sarah Egan
NEW: ExamTime's Mind Map Maker
Andrea Leyden
CUBAN MISSILE CRISIS
Olivia Andrews
Macbeth Quotes/Themes
Michael LEwis
How Villainy is Depicted in Macbeth
scarletsnow491
Genes, The Genetic Code, DNA and Chromosomes
Bee Brittain
Ch. 2 Ancient Mesopotamia & Egypt
msandovalbarrios
Philosophy
Rebecca Harbury
Cell Biology Chapter 2
Sheridyn11
Browse Library