MSP430FR4xx And MSP430FR2xx Family (Rev. D) User Guide
User Manual:
Open the PDF directly: View PDF
Page Count: 578 [warning: Documents this large are best viewed by clicking the View PDF Link!]
- Table of Contents
- Preface
- 1 System Resets, Interrupts, and Operating Modes, System Control Module (SYS)
- 1.1 System Control Module (SYS) Introduction
- 1.2 System Reset and Initialization
- 1.3 Interrupts
- 1.4 Operating Modes
- 1.5 Principles for Low-Power Applications
- 1.6 Connection of Unused Pins
- 1.7 Reset Pin (RST/NMI) Configuration
- 1.8 Configuring JTAG Pins
- 1.9 Memory Map – Uses and Abilities
- 1.10 JTAG Mailbox (JMB) System
- 1.11 Device Security
- 1.12 Device-Specific Configurations
- 1.13 Device Descriptor Table
- 1.14 SFR Registers
- 1.15 SYS Registers
- 1.15.1 SYSCTL Register (offset = 00h) [reset = 0000h]
- 1.15.2 SYSBSLC Register (offset = 02h) [reset = 0000h]
- 1.15.3 SYSJMBC Register (offset = 06h) [reset = 000Ch]
- 1.15.4 SYSJMBI0 Register (offset = 08h) [reset = 0000h]
- 1.15.5 SYSJMBI1 Register (offset = 0Ah) [reset = 0000h]
- 1.15.6 SYSJMBO0 Register (offset = 0Ch) [reset = 0000h]
- 1.15.7 SYSJMBO1 Register (offset = 0Eh) [reset = 0000h]
- 1.15.8 SYSUNIV Register (offset = 1Ah) [reset = 0000h]
- 1.15.9 SYSSNIV Register (offset = 1Ch) [reset = 0000h]
- 1.15.10 SYSRSTIV Register (offset = 1Eh) [reset = 0002h]
- 1.16 System Configuration Registers
- 2 Power Management Module (PMM) and Supply Voltage Supervisor (SVS)
- 2.1 Power Management Module (PMM) Introduction
- 2.2 PMM Operation
- 2.2.1 VCORE and the Regulator
- 2.2.2 Supply Voltage Supervisor
- 2.2.3 Supply Voltage Supervisor During Power-Up
- 2.2.4 LPM3.5 and LPM4.5 (LPMx.5)
- 2.2.5 Low-Power Reset
- 2.2.6 Brownout Reset (BOR)
- 2.2.7 LPM3.5 Switch
- 2.2.8 Reference Voltage Generation and Output
- 2.2.9 Temperature Sensor
- 2.2.10 RST/NMI
- 2.2.11 PMM Interrupts
- 2.2.12 Port I/O Control
- 2.3 PMM Registers
- 3 Clock System (CS)
- 3.1 CS Introduction
- 3.2 CS Operation
- 3.2.1 CS Module Features for Low-Power Applications
- 3.2.2 Internal Very Low-Power Low-Frequency Oscillator (VLO)
- 3.2.3 Internal Trimmed Low-Frequency Reference Oscillator (REFO)
- 3.2.4 XT1 Oscillator
- 3.2.5 Digitally Controlled Oscillator (DCO)
- 3.2.6 Frequency Locked Loop (FLL)
- 3.2.7 DCO Modulator
- 3.2.8 Disabling FLL Hardware and Modulator
- 3.2.9 FLL Unlock Detection
- 3.2.10 FLL Operation From Low-Power Modes
- 3.2.11 Operation From Low-Power Modes, Requested by Peripheral Modules
- 3.2.12 Fail-Safe Operation
- 3.2.13 Synchronization of Clock Signals
- 3.2.14 Module Oscillator (MODOSC)
- 3.3 CS Registers
- 4 CPUX
- 4.1 MSP430X CPU (CPUX) Introduction
- 4.2 Interrupts
- 4.3 CPU Registers
- 4.4 Addressing Modes
- 4.5 MSP430 and MSP430X Instructions
- 4.5.1 MSP430 Instructions
- 4.5.2 MSP430X Extended Instructions
- 4.6 Instruction Set Description
- 4.6.1 Extended Instruction Binary Descriptions
- 4.6.2 MSP430 Instructions
- 4.6.2.1 ADC
- 4.6.2.2 ADD
- 4.6.2.3 ADDC
- 4.6.2.4 AND
- 4.6.2.5 BIC
- 4.6.2.6 BIS
- 4.6.2.7 BIT
- 4.6.2.8 BR, BRANCH
- 4.6.2.9 CALL
- 4.6.2.10 CLR
- 4.6.2.11 CLRC
- 4.6.2.12 CLRN
- 4.6.2.13 CLRZ
- 4.6.2.14 CMP
- 4.6.2.15 DADC
- 4.6.2.16 DADD
- 4.6.2.17 DEC
- 4.6.2.18 DECD
- 4.6.2.19 DINT
- 4.6.2.20 EINT
- 4.6.2.21 INC
- 4.6.2.22 INCD
- 4.6.2.23 INV
- 4.6.2.24 JC, JHS
- 4.6.2.25 JEQ, JZ
- 4.6.2.26 JGE
- 4.6.2.27 JL
- 4.6.2.28 JMP
- 4.6.2.29 JN
- 4.6.2.30 JNC, JLO
- 4.6.2.31 JNZ, JNE
- 4.6.2.32 MOV
- 4.6.2.33 NOP
- 4.6.2.34 POP
- 4.6.2.35 PUSH
- 4.6.2.36 RET
- 4.6.2.37 RETI
- 4.6.2.38 RLA
- 4.6.2.39 RLC
- 4.6.2.40 RRA
- 4.6.2.41 RRC
- 4.6.2.42 SBC
- 4.6.2.43 SETC
- 4.6.2.44 SETN
- 4.6.2.45 SETZ
- 4.6.2.46 SUB
- 4.6.2.47 SUBC
- 4.6.2.48 SWPB
- 4.6.2.49 SXT
- 4.6.2.50 TST
- 4.6.2.51 XOR
- 4.6.3 Extended Instructions
- 4.6.3.1 ADCX
- 4.6.3.2 ADDX
- 4.6.3.3 ADDCX
- 4.6.3.4 ANDX
- 4.6.3.5 BICX
- 4.6.3.6 BISX
- 4.6.3.7 BITX
- 4.6.3.8 CLRX
- 4.6.3.9 CMPX
- 4.6.3.10 DADCX
- 4.6.3.11 DADDX
- 4.6.3.12 DECX
- 4.6.3.13 DECDX
- 4.6.3.14 INCX
- 4.6.3.15 INCDX
- 4.6.3.16 INVX
- 4.6.3.17 MOVX
- 4.6.3.18 POPM
- 4.6.3.19 PUSHM
- 4.6.3.20 POPX
- 4.6.3.21 PUSHX
- 4.6.3.22 RLAM
- 4.6.3.23 RLAX
- 4.6.3.24 RLCX
- 4.6.3.25 RRAM
- 4.6.3.26 RRAX
- 4.6.3.27 RRCM
- 4.6.3.28 RRCX
- 4.6.3.29 RRUM
- 4.6.3.30 RRUX
- 4.6.3.31 SBCX
- 4.6.3.32 SUBX
- 4.6.3.33 SUBCX
- 4.6.3.34 SWPBX
- 4.6.3.35 SXTX
- 4.6.3.36 TSTX
- 4.6.3.37 XORX
- 4.6.4 Address Instructions
- 5 FRAM Controller (FRCTL)
- 6 Backup Memory (BKMEM)
- 7 Digital I/O
- 7.1 Digital I/O Introduction
- 7.2 Digital I/O Operation
- 7.3 I/O Configuration
- 7.4 Digital I/O Registers
- 8 Capacitive Touch I/O
- 9 CapTIvate Module
- 10 CRC Module
- 11 Watchdog Timer (WDT_A)
- 12 Timer_A
- 13 Real-Time Clock (RTC) Counter
- 14 32-Bit Hardware Multiplier (MPY32)
- 14.1 32-Bit Hardware Multiplier (MPY32) Introduction
- 14.2 MPY32 Operation
- 14.3 MPY32 Registers
- 15 LCD_E Controller
- 15.1 LCD_E Introduction
- 15.2 LCD_E Operation
- 15.2.1 LCD Memory
- 15.2.2 Configuration of Port Pin as LCD Output
- 15.2.3 Configuration of LCD Pin as COM or SEG
- 15.2.4 LCD Timing Generation
- 15.2.5 Blanking the LCD
- 15.2.6 LCD Blinking
- 15.2.7 LCD Voltage and Bias Generation
- 15.2.8 LCD Operation Modes
- 15.2.9 LCD Interrupts
- 15.2.10 Static Mode
- 15.2.11 2-Mux Mode
- 15.2.12 3-Mux Mode
- 15.2.13 4-Mux Mode
- 15.2.14 6-Mux Mode
- 15.2.15 8-Mux Mode
- 15.3 LCD_E Registers
- 15.3.1 LCDCTL0 Register
- 15.3.2 LCDCTL1 Register
- 15.3.3 LCDBLKCTL Register
- 15.3.4 LCDMEMCTL Register
- 15.3.5 LCDVCTL Register
- 15.3.6 LCDPCTL0 Register
- 15.3.7 LCDPCTL1 Register
- 15.3.8 LCDPCTL2 Register
- 15.3.9 LCDPCTL3 Register
- 15.3.10 LCDCSSEL0 Register
- 15.3.11 LCDCSSEL1 Register
- 15.3.12 LCDCSSEL2 Register
- 15.3.13 LCDCSSEL3 Register
- 15.3.14 LCDM[index] Register – Static, 2-Mux, 3-Mux, 4-Mux Mode
- 15.3.15 LCDM[index] Register – 5-Mux, 6-Mux, 7-Mux, 8-Mux Mode
- 15.3.16 LCDIV Register
- 16 ADC Module
- 16.1 ADC Introduction
- 16.2 ADC Operation
- 16.2.1 ADC Core
- 16.2.2 ADC Inputs and Multiplexer
- 16.2.3 Voltage Reference Generator
- 16.2.4 Automatic Power Down
- 16.2.5 Sample and Conversion Timing
- 16.2.6 Conversion Result
- 16.2.7 ADC Conversion Modes
- 16.2.7.1 Single-Channel Single-Conversion Mode
- 16.2.7.2 Sequence-of-Channels Mode
- 16.2.7.3 Repeat-Single-Channel Mode
- 16.2.7.4 Repeat-Sequence-of-Channels Mode
- 16.2.7.5 Using the Multiple Sample and Convert (ADCMSC) Bit
- 16.2.7.6 Stopping Conversions
- 16.2.7.7 Window Comparator
- 16.2.7.8 Using the Integrated Temperature Sensor
- 16.2.7.9 ADC Grounding and Noise Considerations
- 16.2.7.10 ADC Interrupts
- 16.3 ADC Registers
- 16.3.1 ADCCTL0 Register
- 16.3.2 ADCCTL1 Register
- 16.3.3 ADCCTL2 Register
- 16.3.4 ADCMEM0 Register
- 16.3.5 ADCMEM0 Register, 2s-Complement Format
- 16.3.6 ADCMCTL0 Register
- 16.3.7 ADCHI Register
- 16.3.8 ADCHI Register, 2s-Complement Format
- 16.3.9 ADCLO Register
- 16.3.10 ADCLO Register, 2s-Complement Format
- 16.3.11 ADCIE Register
- 16.3.12 ADCIFG Register
- 16.3.13 ADCIV Register
- 16.3.14 MSP430FR413x SYSCFG2 Register (absolute address = 0164h) [reset = 0000h]
- 17 Enhanced Universal Serial Communication Interface (eUSCI) – UART Mode
- 17.1 Enhanced Universal Serial Communication Interface A (eUSCI_A) Overview
- 17.2 eUSCI_A Introduction – UART Mode
- 17.3 eUSCI_A Operation – UART Mode
- 17.3.1 eUSCI_A Initialization and Reset
- 17.3.2 Character Format
- 17.3.3 Asynchronous Communication Format
- 17.3.4 Automatic Baud-Rate Detection
- 17.3.5 IrDA Encoding and Decoding
- 17.3.6 Automatic Error Detection
- 17.3.7 eUSCI_A Receive Enable
- 17.3.8 eUSCI_A Transmit Enable
- 17.3.9 UART Baud-Rate Generation
- 17.3.10 Setting a Baud Rate
- 17.3.11 Transmit Bit Timing - Error calculation
- 17.3.12 Receive Bit Timing – Error Calculation
- 17.3.13 Typical Baud Rates and Errors
- 17.3.14 Using the eUSCI_A Module in UART Mode With Low-Power Modes
- 17.3.15 eUSCI_A Interrupts
- 17.4 eUSCI_A UART Registers
- 18 Enhanced Universal Serial Communication Interface (eUSCI) – SPI Mode
- 18.1 Enhanced Universal Serial Communication Interfaces (eUSCI_A, eUSCI_B) Overview
- 18.2 eUSCI Introduction – SPI Mode
- 18.3 eUSCI Operation – SPI Mode
- 18.4 eUSCI_A SPI Registers
- 18.5 eUSCI_B SPI Registers
- 19 Enhanced Universal Serial Communication Interface (eUSCI) – I2C Mode
- 19.1 Enhanced Universal Serial Communication Interface B (eUSCI_B) Overview
- 19.2 eUSCI_B Introduction – I2C Mode
- 19.3 eUSCI_B Operation – I2C Mode
- 19.3.1 eUSCI_B Initialization and Reset
- 19.3.2 I2C Serial Data
- 19.3.3 I2C Addressing Modes
- 19.3.4 I2C Quick Setup
- 19.3.5 I2C Module Operating Modes
- 19.3.6 Glitch Filtering
- 19.3.7 I2C Clock Generation and Synchronization
- 19.3.8 Byte Counter
- 19.3.9 Multiple Slave Addresses
- 19.3.10 Using the eUSCI_B Module in I2C Mode With Low-Power Modes
- 19.3.11 eUSCI_B Interrupts in I2C Mode
- 19.4 eUSCI_B I2C Registers
- 19.4.1 UCBxCTLW0 Register
- 19.4.2 UCBxCTLW1 Register
- 19.4.3 UCBxBRW Register
- 19.4.4 UCBxSTATW
- 19.4.5 UCBxTBCNT Register
- 19.4.6 UCBxRXBUF Register
- 19.4.7 UCBxTXBUF
- 19.4.8 UCBxI2COA0 Register
- 19.4.9 UCBxI2COA1 Register
- 19.4.10 UCBxI2COA2 Register
- 19.4.11 UCBxI2COA3 Register
- 19.4.12 UCBxADDRX Register
- 19.4.13 UCBxADDMASK Register
- 19.4.14 UCBxI2CSA Register
- 19.4.15 UCBxIE Register
- 19.4.16 UCBxIFG Register
- 19.4.17 UCBxIV Register
- 20 Embedded Emulation Module (EEM)
- Revision History
- Important Notice