2446 views|0 replies

1140

Posts

0

Resources
The OP
 

MSP430 Classic Textbook Recommendations [Copy link]

MSP430 Series MCU Principles and Engineering Design Practice / edited by Wang Zhaobin [et al.]


Introduction: This book uses the MSP430F261x series of microcontrollers as a platform to explain in detail the internal and external structures of the MSP430 microcontroller and the basic working principles of commonly used on-chip peripheral modules. Based on the explanation of the underlying control principles such as basic instructions, addressing modes and assembly language, C language is used as the programming language for each on-chip module, which allows readers to experience the efficiency of assembly language and the convenience and speed of high-level languages.


Model: MSP430F261x


Framework:

Chapter 1 Introduction

1.1 Overview of embedded systems
Definition, composition, characteristics, development, and application

1.2 Embedded processors
Classification, architecture, common embedded processors, development

1.3 MSP430 series microcontrollers
Typical features, naming conventions, product series overview, and application scenarios

1.4 Quick Start Guide to Integrated Development Environment
IAREW430, TICCS

Chapter 2 MSP430 MCU Structure

2.1 Internal structure of MSP430 microcontroller
Central processor (bus interface, arithmetic logic unit, working register group, control unit), storage space organization structure (organization form, space division), clock system, system enhancement module, on-chip peripherals, JTAG debugging.

2.2 External structure of MSP430 MCU
Package type, pin description (power supply pin, reference voltage pin, crystal oscillator pin, JTAG pin, reset pin, I/O pin), 3MSP430 MCU minimum system (power supply circuit, reset circuit, crystal oscillator circuit).

2.3 Initialization of MSP430 MCU
Reset signal, power-off reset, power supply voltage monitoring (SVS structural characteristics, SVS control register, relationship between SVS and BOR), system initialization.

2.4 Interrupt system of MSP430 MCU
Interrupt types (system reset interrupt, non-maskable interrupt, maskable interrupt), interrupt flag, interrupt priority, interrupt nesting, interrupt vector, interrupt response.

Chapter 3 MSP430 MCU Instruction System

3.1 Instruction system overview
Instruction representation methods (instruction format, symbols used), addressing methods (7 types).

3.2 Instruction system
Data transfer instructions, arithmetic operation instructions, logical operation instructions, bit operation instructions, control transfer instructions.

3.3 Instruction format and instruction cycle
Instruction format (single operand instruction, double operand instruction, jump instruction), instruction cycle (the impact of addressing mode on instruction cycle, the impact of instruction format on instruction cycle), instruction length) (single operand instruction, double operand instruction, jump instruction).

3.4 MSP430X instruction system
Instruction set expansion (extended single-operand instructions, extended double-operand instructions, extended emulation instructions), and the impact of instruction set expansion on program design.

3.5 Basics of MSP430 MCU assembly language
Pseudo-instructions (5 types), basics of assembly language programming (sequence structure, branch structure, loop structure, subroutine structure), assembly language and high-level language.



Chapter 4 MSP430 MCU C Language Programming

4.1 Overview of MCU Programming
Programming methods, MCU programming basics, and general steps of MCU programming.

4.2 Basics of C language programming
Variables and constants (identifiers, keywords, data types, constants, variables), operators and expressions, common program structures (sequence, branching, loops), functions (custom functions, function libraries, function calls, local variables, global variables, storage types of variables), construction types (arrays, structures, unions, enumeration types), pointer types (normal pointer variables, advanced pointer variables), preprocessing (macros, file inclusion, conditional compilation), typedef definition types.

4.3 MSP430 MCU C language programming
Extended data types and keywords (C430 data types and storage length, keyword extension, others), function extension (interrupt function, internal function, common library function), standardized programming (variable naming, function naming rules, code writing, comment writing), mixed C language and assembly language program. This section has a lot of routines.



Chapter 5 MSP430 MCU Input and Output Interface

5.1 Digital I/O ports of MSP430 MCU
Control registers (direction register, input register, output register, pull-up/pull-down register, function selection register, interrupt enable register, interrupt edge selection register, interrupt flag register), internal structure (basic input and output circuit, interrupt processing circuit, other multiplexing circuits), electrical characteristics (current source and current sink, driving high-power load, compatibility of level logic, settings for unused pins), port applications (normal I/O port, external interrupt).

5.2 LED display interface design
LED light-emitting principle, LED digital tube (structure, display principle, decoding method, display method), dot matrix LED (8×8 dot matrix LED module structure, character encoding principle, dynamic display principle).

5.3 LCD interface design
LCD display principle (liquid crystal, display principle, classification), segment LCD (display principle, driving method, dedicated integrated driving circuit), dot matrix LCD.

5.4 Keyboard interface design
Keyboard classification, working principle of matrix keyboard, debounce method (software debounce, hardware debounce), key scanning method (program query method, timed query method, interrupt scanning method), key program design, touch key (capacitive touch key principle, single chip microcomputer implementation).



Chapter 6 MSP430 MCU Clock System and Timer

6.1 Clock system
The structure of the clock system (clock source, output clock signal), the clock system and the microcontroller operation mode (system and low power mode, mode wake-up and exit mechanism), clock failure processing, clock frequency and operating voltage.

6.2 Timer A
structure composition, timing and counting components (working principle, timer/counter interrupt, timing and counting method), capture/comparison components (comparison unit, capture unit, output unit).

6.3 Timer B
logical structure, timing and counting components, capture/compare components.

6.4 Watchdog
Logic structure (control register, count register and count length, clock source selection and working mode, clock failure and interrupt processing), timing mode (WDT initialization, WDT interrupt program writing), watchdog mode.



Chapter 7 MSP430 MCU Analog Signal Processing

7.1 Basic concepts of control systems
Automatic control systems, single-chip control systems, and analog devices integrated with MSP430 single-chip microcomputers.

7.2 Analog-to-digital conversion module
Analog-to-digital conversion (principle, classification of analog-to-digital converters, performance indicators), MSP430 microcontroller ADC12 module (ADC12 characteristics, logical structure), ADC12 working process, conversion mode (single-channel single conversion mode, single-channel multiple conversion mode, serial channel single conversion mode, serial channel multiple conversion mode).

7.3 Digital-to-analog conversion module
Digital-to-analog conversion (principle, inverted T-shaped resistor network ADC, DAC classification, performance indicators), MSP430 microcontroller DAC12 module (DAC12 characteristics, logical structure, DAC12 output, DAC12 interrupt, DAC12 register), DAC12 application examples.



Chapter 8 MSP430 MCU Serial Communication

8.1 Overview of serial communication
Serial communication (parallel communication and serial communication, communication mode, asynchronous communication and synchronous communication, serial communication verification method, serial communication transmission rate), common serial communication interfaces (UART bus, I2C bus, SPI bus, CAN bus, USB bus, IEEE1394 bus), MSP430 serial communication module.

8.2 Working principle of asynchronous serial communication
UART (baud rate generator, sending component, receiving component, USCI interrupt, UART in low power mode), multi-machine communication mode (line idle multi-machine mode, address bit multi-machine mode), UART with automatic baud rate detection (LIN bus, UART with automatic baud rate detection), infrared communication (overview, IrDA encoding and decoding based on USCI), software simulation of UART communication.

8.3 I2C Communication
I2C Overview (I2C bus basics, typical signals on the I2C bus, data transmission format on the I2C bus), I2C logical structure (I2C clock structure, I2C transceiver structure, I2C control and status registers, I2C addressing method, multi-master device environment and bus arbitration), interrupts and initialization (interrupts and low power consumption, I2C initialization and connection methods), working modes (master mode, slave mode, 10-bit address format transmission and reception), software simulation of I2C communication.

8.4 SPI communication
SPI bus and working principle, SPI module (bit clock generation, data transmission and reception, SPI initialization and low power mode), SPI connection mode (SPI master mode, SPI slave mode), software simulation of SPI communication.



Chapter 9 MSP430 MCU Storage System

9.1 Memory Overview
Semiconductor memory (random access memory RAM, read-only memory ROM, non-volatile read-write memory), Flash storage principle, FRAM storage principle.

9.2 MSP430 MCU storage system
Address space division and access method, data memory, program memory.

9.3 Flash controller and application
Flash controller (clock generator, control register), Flash operation (erase, write).

9.4 MSP430 MCU memory expansion
Memory expansion, SD card application (overview, structure and working principle, reading and writing).

9.5 Structure and working principle of direct memory access
DMA module, DMA transfer mode (data transmission method, DMA transfer mode, DMA interrupt, DMA control register), DMA trigger source (software trigger, timer trigger, USCI serial port trigger, digital-to-analog converter DAC12 trigger, analog-to-digital converter ADC12 trigger, multiplier trigger and external signal trigger).



Chapter 9 MSP430 MCU Application System Design Basics

10.1 Overview of MCU application system design
General steps of MCU application system design (scheme research and overall planning, overall design, hardware design, software design), application system design based on MSP430 MCU (making a simple heart rate meter, simple digital oscilloscope).

10.2 Anti-interference and low-power design of MSP430 MCU application system
Anti-interference technology (interference source and interference classification, common hardware anti-interference technology, common software anti-interference technology), low-power design technology (low-power hardware design, low-power software design).

10.3 Application of embedded operating system
Embedded operating system foundation (basic concepts, common embedded operating systems, characteristics of embedded operating systems, selection criteria of embedded operating systems), porting of μC/OS-II on 430 microcontroller (introduction to μC/OS-II, μC/OS-II kernel structure, μC/OS-II system porting), development of microcontroller system based on μC/OS-II (relevant terms, task design, design examples).

This post is from Microcontroller MCU
 

Guess Your Favourite
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list