MSP430 Introduction: Overview of TI's 16-bit Embedded Computer System - Prof. Aleksandar M, Study notes of Engineering

An introduction to the msp430 family of microcontrollers from texas instruments (ti). It covers the technology roadmap, typical applications, part numbering convention, and documentation for this broad family of 16-bit microcontrollers. Topics include the msp430 architecture, registers, addressing modes, instruction set, and instruction formats.

Typology: Study notes

Pre 2010

Uploaded on 07/22/2009

koofers-user-he8-1
koofers-user-he8-1 🇺🇸

1

(1)

10 documents

1 / 65

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
CPE 323 Introduction to Embedded
Computer Systems:
The MSP430 Introduction
Instructor: Dr Aleksandar Milenkovic
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41

Partial preview of the text

Download MSP430 Introduction: Overview of TI's 16-bit Embedded Computer System - Prof. Aleksandar M and more Study notes Engineering in PDF only on Docsity!

CPE 323 Introduction to EmbeddedComputer Systems:The MSP430 Introduction

Instructor: Dr Aleksandar Milenkovic

CPE 323 Introduction To Embedded Computer Systems

Outline

MSP430: An Introduction

„

The MSP430 family

„

Technology Roadmap

„

Typical Applications

„

The MSP430 Documentation

„

MSP430 Architecture „

Registers „ Addressing Modes „ Instruction Set „ Instruction Formats and Encodings „ Address Space „

MSP430 Devices

„

Getting Started with EasyWeb

„

MSP430 RISC core

CPE 323 Introduction To Embedded Computer Systems

The Family (cont’d)

„ Non-LCD based subfamilies „ MSP430x1xx – Flash/ROM based MCUs offering 1.8V to 3.6V operation, up to60kB, 8MIPS and a wide range of peripherals. „ MSP430F2xx – Flash-based family featuring even lower power and upto16MIPS with 1.8 to 3.6V operation. Additional enhancements include ± 1% on- chip very low power oscillator, internal pull-up/pull-down resistors and low-pincount options. „ MSP430x5xx – New Flash-based family featuring the lowest power consumptionup to 25 MIPS with 1.8 to 3.6V operation starting at 12 MIPS. Features includean innovative Power Management Module for optimizing power consumption, aninternally controlled voltage regulator, and 2x more memory than previousdevices. „ LCD based subfamilies „ MSP430x3xx – Older family of ROM/OTP devices offering 2.5V-5.5V operation,up to 32kB and 4MIPS. „ MSP430x4xx – Flash/ROM based devices offering 1.8V-3.6V operation, up to120kB/ Flash/ ROM 8MIPS with FLL + SVS along with an integrated LCDcontroller. Ideal for low power metering and medical applications.

CPE 323 Introduction To Embedded Computer Systems

Part numbering convention

„

MSP430M

t

F

a

F

b

M

c

„

Mt : Memory type

„

C – ROM, F – Flash, P – OTP, E – EPROM

„

Fa,Fb

„

10, 11 – basic

„

12, 13 – HW UART

„

14 – HW UART, HW multiplier

„

31, 32 – LCD Controller

„

33 – LCD controller, HW UART, HW multiplier

„

41 – LCD controller

„

43 - LCD controller, HW UART

„

44 - LCD controller, HW UART, HW multiplier

CPE 323 Introduction To Embedded Computer Systems

MSP 430 Roadmap

CPE 323 Introduction To Embedded Computer Systems Handheld Measurement „ Air Flow measurement „ Alcohol meter „ Barometer „ Data loggers „ Emission/Gas analyser „ Humidity measurement „ Temperaturemeasurement „ Weight scales Medical Instruments „ Blood pressure meter „ Blood sugar meter „ Breath measurement „ EKG system Home environment „ Air conditioning „ Control unit „ Thermostat „ Boiler control „ Shutter control „ Irrigation system „ White goods(Washing machine,..) Misc „ Smart card reader „ Taxi meter „ Smart Batteries Utility Metering „ Gas Meter „ Water Meter „ Heat Volume Counter „ Heat Cost Allocation „ Electricity Meter „ Meter reading system (RF) Sports equipment „ Altimeter „ Bike computer „ Diving watches Security „ Glass break sensors „ Door control „ Smoke/fire/gas detectors

MSP430 Typical Applications

CPE 323 Introduction To Embedded Computer Systems „ Battery „ Microcontroller „ TI MSP430F „ 8-channel 12-bit AD conv. „ Accelerometer „ Movement detection „ Analog Device ADXL „ Transceiver „ LINX 916 MHz Basic WISE

Another MSP430-Based System

CPE 323 Introduction To Embedded Computer Systems

Tmote Sky Platform

„

Texas Instruments 16-bit MSP430F149microcontroller (2KB RAM, 60KB ROM)

„

Chipcon 2420, 250kbps, 2.4GHz, IEEE802.15.4 compliant wireless transceiverwith programmable output power

„

Integrated onboard antenna with 50m rangeindoors and 125m range outdoors

„

Integrated humidity, temperature, and lightsensors

CPE 323 Introduction To Embedded Computer Systems

MSP430 Documentation

„

MSP430 home page (TI)

„ www.ti.com/msp „

User’s manual for MSP430x1xx family of devices

„ http://www.ece.uah.edu/~milenka/cpe323-08F/docs/slau049f.pdf „

User’s manual for MSP430x4xx family of devices

„ http://www.ece.uah.edu/~milenka/cpe323-08F/docs/slau056g.pdf „

Datasheets

„ http://www.ece.uah.edu/~milenka/cpe323-08F/docs/msp430f149.pdf „ http://www.ece.uah.edu/~milenka/cpe323-08F/docs/msp430f1611.pdf „ http://www.ece.uah.edu/~milenka/cpe323-08F/docs/msp430fg4619.pdf „

TI Workshop document

„ http://www.ece.uah.edu/~milenka/cpe421-06S/docs/msp430/430_2002_atc_workshop.pdf

CPE 323 Introduction To Embedded Computer Systems

MSP 430 Modular Architecture

CPE 323 Introduction To Embedded Computer Systems

Registers

CPE 323 Introduction To Embedded Computer Systems

PC/R0 – Program Counter

„

The 16-bit program counter (PC/R0) points to the nextinstruction to be executed

„

Each instruction uses an even number of bytes (two,four, or six), and the PC is incremented accordingly.Instruction accesses in the 64-KB address space areperformed on word boundaries, and the PC is aligned toeven addresses

„

PC can be addressed by all instructions and alladdressing modes

„ MOV #LABEL,PC ; Branch to address LABEL „ MOV LABEL,PC ; Branch to address contained in LABEL „ MOV @R14,PC ; Branch indirect to address in R

CPE 323 Introduction To Embedded Computer Systems

SR/R2 – Status Register

„ The status register (SR/R2),used as a source ordestination register, can beused in the register mode onlyaddressed with wordinstructions. „ The remaining combinations ofaddressing modes are used tosupport the constantgenerator.

CPE 323 Introduction To Embedded Computer Systems

Constant Generation

„ Six commonly-used constants are generated with the constantgenerator registers R2 and R3, „ Adv.: No special instructions, no special code, no extra memory access „ Assembler uses the constant generator automatically if one of thesix constants is used as an immediate source operand. RegistersR2 and R3, used in the constant mode, cannot be addressedexplicitly; they act as source-only registers. „ The constants are selected with the source-register addressingmodes (As), as described below.