null
US
Entrar
Registre-se gratuitamente
Registre-se
Detectamos que o JavaScript não está habilitado no teu navegador. Habilite o Javascript para o funcionamento correto do nosso site. Por favor, leia os
Termos e Condições
para mais informações.
Próximo
Copiar e Editar
Você deve estar logado para concluir esta ação!
Inscreva-se gratuitamente
3880411
Chapter 2: MCU Archi and Embed C
Descrição
mind map for ict2104 chapter 2
Sem etiquetas
ict2104
chapter 2
mind map
uni
uni year 2
Mapa Mental por
Meixi Lim
, atualizado more than 1 year ago
Mais
Menos
Criado por
Meixi Lim
aproximadamente 9 anos atrás
18
0
0
Resumo de Recurso
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
Quer criar seus próprios
Mapas Mentais
gratuitos
com a GoConqr?
Saiba mais
.
Semelhante
Personal Statement
reecey112k9
How to Create A Mindmap
PatrickNoonan
Creating Mind Maps with GoConqr
Sarah Egan
NEW: ExamTime's Mind Map Maker
Andrea Leyden
Macbeth Quotes/Themes
Michael LEwis
Genes, The Genetic Code, DNA and Chromosomes
Bee Brittain
CUBAN MISSILE CRISIS
Olivia Andrews
Ch. 2 Ancient Mesopotamia & Egypt
msandovalbarrios
How Villainy is Depicted in Macbeth
scarletsnow491
Philosophy
Rebecca Harbury
Cell Biology Chapter 2
Sheridyn11
Explore a Biblioteca