SlideShare a Scribd company logo
1 of 10
Download to read offline
Основы программирования встраиваемых систем
MSP-430 Overview
CSCenter, 2017
Кирилл Кринкин
MSP-430*
*) Слайды заимствованы Ohio State University ECE 3561
The MSP430
●
A von-Neumann style architecture
●
Key features
– Ultralow-power architecture
●
0.1 uA RAM rentention
●
0.8 uA real-time clock mode
●
250 uA/MIPS active
– High-performance A-to-D conversion
●
12-bit or 10-bit ADC, 12-bit dual-DAC
●
200 ksps
– 16-bit RISC processor features
●
Large Register file
●
Compact code design
●
27 core instructions
●
7 addressing modes
ECE 3561 - Lecture 1 3
The MSP430
●
Block Diagram of internal structure – high
level
ECE 3561 - Lecture 1 4
MSP430
●
Memory structure – logical
●
16-bit addressable
– 64K bytes (64KB)
●
Amount of Flash/ROM
and RAM vary by
device
●
Last 16 words of Flash/ROM
used for the Interrupt Vector
Table
●
I/O is memory mapped
ECE 3561 - Lecture 1 5
Memory data organization
●
Bytes can be at even or
odd addresses
●
Words are only at even
addresses
– The low byte of a word is
at the even address.
– The high byte of a word is
at the odd address
ECE 3561 - Lecture 1 6
The MSP430 CPU
●
Incorporates features to support modern programming
techniques (Don’t need go to’s)
●
The features
– Calculated branching
– Table processing
– 27 RISC instructions
– 7 addressing modes
– All instructions use all the addressing modes
– Full register access
– Single cycle register operations (RISC)
– Direct memory-to-memory transfers
– Constant generator provides most used values
ECE 3561 - Lecture 1 7
The MSP430 data path
●
There are 16 registers
– Contents are 16-bits
– User has access to all registers
– 4 registers are special purpose
●
Note bus structure
– MDB – Memory Data Bus
– MAB – Memory Address Bus
– Also have 2 internal bussed to deliver 2
operand to ALU
●
Diagram is called the datapath of the
processor
●
See Users Guide
ECE 3561 - Lecture 1 8
General purpose registers
●
R4 thru R15
– Registers are indistinguishable
– Can be used as
●
Data Registers
●
Address Registers
●
Index values
– Can be accessed with byte or word instructions
ECE 3561 - Lecture 1 9
Energia IDE

More Related Content

What's hot

IT209 Cpu Structure Report
IT209 Cpu Structure ReportIT209 Cpu Structure Report
IT209 Cpu Structure Report
Bis Aquino
 

What's hot (20)

comparison between Microprocessor-Microcontroller
comparison between Microprocessor-Microcontrollercomparison between Microprocessor-Microcontroller
comparison between Microprocessor-Microcontroller
 
07 input output
07 input output07 input output
07 input output
 
05 internal memory
05 internal memory05 internal memory
05 internal memory
 
15 ia64
15 ia6415 ia64
15 ia64
 
Computer project
Computer projectComputer project
Computer project
 
Pentium microprocessor
Pentium microprocessorPentium microprocessor
Pentium microprocessor
 
Memory model
Memory modelMemory model
Memory model
 
Pic microcontroller architecture
Pic microcontroller architecturePic microcontroller architecture
Pic microcontroller architecture
 
Pentium
PentiumPentium
Pentium
 
High-Performance Computing with C++
High-Performance Computing with C++High-Performance Computing with C++
High-Performance Computing with C++
 
eBPF in the view of a storage developer
eBPF in the view of a storage developereBPF in the view of a storage developer
eBPF in the view of a storage developer
 
Microprocessor
MicroprocessorMicroprocessor
Microprocessor
 
Ieee Intel
Ieee IntelIeee Intel
Ieee Intel
 
MICROPROCESSOR VS MICROCONTROLLER
MICROPROCESSOR VS MICROCONTROLLERMICROPROCESSOR VS MICROCONTROLLER
MICROPROCESSOR VS MICROCONTROLLER
 
Linux Hosting Training Course Level 1-1
Linux Hosting Training Course Level 1-1Linux Hosting Training Course Level 1-1
Linux Hosting Training Course Level 1-1
 
Module5 part2
Module5 part2Module5 part2
Module5 part2
 
IT209 Cpu Structure Report
IT209 Cpu Structure ReportIT209 Cpu Structure Report
IT209 Cpu Structure Report
 
Unit 1. introduction
Unit 1. introductionUnit 1. introduction
Unit 1. introduction
 
01 introduction
01 introduction01 introduction
01 introduction
 
06 External Memory
06  External  Memory06  External  Memory
06 External Memory
 

Similar to 06 - Программирование микроконтроллеров. Обзор контроллера MSP-430 (en)

Intel microprocessor history lec12_x86arch.ppt
Intel microprocessor history lec12_x86arch.pptIntel microprocessor history lec12_x86arch.ppt
Intel microprocessor history lec12_x86arch.ppt
jeronimored
 

Similar to 06 - Программирование микроконтроллеров. Обзор контроллера MSP-430 (en) (20)

Atmega 328p
Atmega 328p Atmega 328p
Atmega 328p
 
The_MSP430_Slides.pptx
The_MSP430_Slides.pptxThe_MSP430_Slides.pptx
The_MSP430_Slides.pptx
 
Introduction to ARM Architecture
Introduction to ARM ArchitectureIntroduction to ARM Architecture
Introduction to ARM Architecture
 
Arm cortex-m4 programmer model
Arm cortex-m4 programmer modelArm cortex-m4 programmer model
Arm cortex-m4 programmer model
 
Dsp ajal
Dsp  ajalDsp  ajal
Dsp ajal
 
M&i(lec#01)
M&i(lec#01)M&i(lec#01)
M&i(lec#01)
 
esunit1.pptx
esunit1.pptxesunit1.pptx
esunit1.pptx
 
DESIGN OF A 16-BIT HARVARD STRUCTURED RISC PROCESSOR IN CADENCE 45nmTECHNOLOGY
DESIGN OF A 16-BIT HARVARD STRUCTURED RISC PROCESSOR  IN CADENCE 45nmTECHNOLOGYDESIGN OF A 16-BIT HARVARD STRUCTURED RISC PROCESSOR  IN CADENCE 45nmTECHNOLOGY
DESIGN OF A 16-BIT HARVARD STRUCTURED RISC PROCESSOR IN CADENCE 45nmTECHNOLOGY
 
Arm Processors Architectures
Arm Processors ArchitecturesArm Processors Architectures
Arm Processors Architectures
 
Rendering Battlefield 4 with Mantle by Johan Andersson - AMD at GDC14
Rendering Battlefield 4 with Mantle by Johan Andersson - AMD at GDC14Rendering Battlefield 4 with Mantle by Johan Andersson - AMD at GDC14
Rendering Battlefield 4 with Mantle by Johan Andersson - AMD at GDC14
 
Rendering Battlefield 4 with Mantle
Rendering Battlefield 4 with MantleRendering Battlefield 4 with Mantle
Rendering Battlefield 4 with Mantle
 
E scala design platform
E scala design platformE scala design platform
E scala design platform
 
Arm cm3 architecture_and_programmer_model
Arm cm3 architecture_and_programmer_modelArm cm3 architecture_and_programmer_model
Arm cm3 architecture_and_programmer_model
 
Introduction to Processor Design and ARM Processor
Introduction to Processor Design and ARM ProcessorIntroduction to Processor Design and ARM Processor
Introduction to Processor Design and ARM Processor
 
PIC MICROCONTROLLERS -CLASS NOTES
PIC MICROCONTROLLERS -CLASS NOTESPIC MICROCONTROLLERS -CLASS NOTES
PIC MICROCONTROLLERS -CLASS NOTES
 
ARM Processors
ARM ProcessorsARM Processors
ARM Processors
 
Processors selection
Processors selectionProcessors selection
Processors selection
 
22cs201 COMPUTER ORGANIZATION AND ARCHITECTURE
22cs201 COMPUTER ORGANIZATION AND ARCHITECTURE22cs201 COMPUTER ORGANIZATION AND ARCHITECTURE
22cs201 COMPUTER ORGANIZATION AND ARCHITECTURE
 
Intel microprocessor history lec12_x86arch.ppt
Intel microprocessor history lec12_x86arch.pptIntel microprocessor history lec12_x86arch.ppt
Intel microprocessor history lec12_x86arch.ppt
 
arm_3.ppt
arm_3.pptarm_3.ppt
arm_3.ppt
 

More from Roman Brovko

Bare metal training_06_I2C
Bare metal training_06_I2CBare metal training_06_I2C
Bare metal training_06_I2C
Roman Brovko
 
Bare metal training_05_uart
Bare metal training_05_uartBare metal training_05_uart
Bare metal training_05_uart
Roman Brovko
 
подготовка рабочего окружения
подготовка рабочего окруженияподготовка рабочего окружения
подготовка рабочего окружения
Roman Brovko
 

More from Roman Brovko (20)

Individual task Networking
Individual task NetworkingIndividual task Networking
Individual task Networking
 
Networking essentials lect3
Networking essentials lect3Networking essentials lect3
Networking essentials lect3
 
Gl embedded starterkit_ethernet
Gl embedded starterkit_ethernetGl embedded starterkit_ethernet
Gl embedded starterkit_ethernet
 
Networking essentials lect2
Networking essentials lect2Networking essentials lect2
Networking essentials lect2
 
Networking essentials lect1
Networking essentials lect1Networking essentials lect1
Networking essentials lect1
 
Bare metal training_07_spi_flash
Bare metal training_07_spi_flashBare metal training_07_spi_flash
Bare metal training_07_spi_flash
 
Bare metal training_06_I2C
Bare metal training_06_I2CBare metal training_06_I2C
Bare metal training_06_I2C
 
Glesk worshop
Glesk worshopGlesk worshop
Glesk worshop
 
Bare metal training_05_uart
Bare metal training_05_uartBare metal training_05_uart
Bare metal training_05_uart
 
Bare metal training_04_adc_temp_sensor
Bare metal training_04_adc_temp_sensorBare metal training_04_adc_temp_sensor
Bare metal training_04_adc_temp_sensor
 
Bare metal training_03_timers_pwm
Bare metal training_03_timers_pwmBare metal training_03_timers_pwm
Bare metal training_03_timers_pwm
 
Bare metal training_02_le_ds_and_buttons
Bare metal training_02_le_ds_and_buttonsBare metal training_02_le_ds_and_buttons
Bare metal training_02_le_ds_and_buttons
 
Bare metal training_01_hello_world
Bare metal training_01_hello_worldBare metal training_01_hello_world
Bare metal training_01_hello_world
 
Bare metal training_00_prerequisites
Bare metal training_00_prerequisitesBare metal training_00_prerequisites
Bare metal training_00_prerequisites
 
C language lect_23_advanced
C language lect_23_advancedC language lect_23_advanced
C language lect_23_advanced
 
C language lect_22_advanced
C language lect_22_advancedC language lect_22_advanced
C language lect_22_advanced
 
C language lect_21_advanced
C language lect_21_advancedC language lect_21_advanced
C language lect_21_advanced
 
подготовка рабочего окружения
подготовка рабочего окруженияподготовка рабочего окружения
подготовка рабочего окружения
 
C language lect_20_advanced
C language lect_20_advancedC language lect_20_advanced
C language lect_20_advanced
 
C language lect_19_basics
C language lect_19_basicsC language lect_19_basics
C language lect_19_basics
 

Recently uploaded

The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
MateoGardella
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
MateoGardella
 

Recently uploaded (20)

Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 

06 - Программирование микроконтроллеров. Обзор контроллера MSP-430 (en)

  • 1. Основы программирования встраиваемых систем MSP-430 Overview CSCenter, 2017 Кирилл Кринкин
  • 2. MSP-430* *) Слайды заимствованы Ohio State University ECE 3561
  • 3. The MSP430 ● A von-Neumann style architecture ● Key features – Ultralow-power architecture ● 0.1 uA RAM rentention ● 0.8 uA real-time clock mode ● 250 uA/MIPS active – High-performance A-to-D conversion ● 12-bit or 10-bit ADC, 12-bit dual-DAC ● 200 ksps – 16-bit RISC processor features ● Large Register file ● Compact code design ● 27 core instructions ● 7 addressing modes ECE 3561 - Lecture 1 3
  • 4. The MSP430 ● Block Diagram of internal structure – high level ECE 3561 - Lecture 1 4
  • 5. MSP430 ● Memory structure – logical ● 16-bit addressable – 64K bytes (64KB) ● Amount of Flash/ROM and RAM vary by device ● Last 16 words of Flash/ROM used for the Interrupt Vector Table ● I/O is memory mapped ECE 3561 - Lecture 1 5
  • 6. Memory data organization ● Bytes can be at even or odd addresses ● Words are only at even addresses – The low byte of a word is at the even address. – The high byte of a word is at the odd address ECE 3561 - Lecture 1 6
  • 7. The MSP430 CPU ● Incorporates features to support modern programming techniques (Don’t need go to’s) ● The features – Calculated branching – Table processing – 27 RISC instructions – 7 addressing modes – All instructions use all the addressing modes – Full register access – Single cycle register operations (RISC) – Direct memory-to-memory transfers – Constant generator provides most used values ECE 3561 - Lecture 1 7
  • 8. The MSP430 data path ● There are 16 registers – Contents are 16-bits – User has access to all registers – 4 registers are special purpose ● Note bus structure – MDB – Memory Data Bus – MAB – Memory Address Bus – Also have 2 internal bussed to deliver 2 operand to ALU ● Diagram is called the datapath of the processor ● See Users Guide ECE 3561 - Lecture 1 8
  • 9. General purpose registers ● R4 thru R15 – Registers are indistinguishable – Can be used as ● Data Registers ● Address Registers ● Index values – Can be accessed with byte or word instructions ECE 3561 - Lecture 1 9