SLVSCN6A November 2014 – December 2014 MSP430FR5739-EP
PRODUCTION DATA.
This section shows the functional block diagram for the MSP430FR5739-EP in the RHA package.
The MSP430 CPU has a 16-bit RISC architecture that is highly transparent to the application. All operations, other than program-flow instructions, are performed as register operations in conjunction with seven addressing modes for source operand and four addressing modes for destination operand.
The CPU is integrated with 16 registers that provide reduced instruction execution time. The register-to-register operation execution time is one cycle of the CPU clock.
Four of the registers, R0 to R3, are dedicated as program counter, stack pointer, status register, and constant generator, respectively. The remaining registers are general-purpose registers.
Peripherals are connected to the CPU using data, address, and control buses, and can be handled with all instructions.
The instruction set consists of the original 51 instructions with three formats and seven address modes and additional instructions for the expanded address range. Each instruction can operate on word and byte data.
The MSP430 has one active mode and seven software-selectable low-power modes of operation. An interrupt event can wake up the device from low-power modes LPM0 through LPM4, service the request, and restore back to the low-power mode on return from the interrupt program. Low-power modes LPM3.5 and LPM4.5 disable the core supply to minimize power consumption.
The following eight operating modes can be configured by software:
The interrupt vectors and the power-up start address are located in the address range 0FFFFh to 0FF80h. The vector contains the 16-bit address of the appropriate interrupt-handler instruction sequence.
INTERRUPT SOURCE | INTERRUPT FLAG | SYSTEM INTERRUPT | WORD ADDRESS | PRIORITY |
---|---|---|---|---|
System Reset
Power-Up, Brownout, Supply Supervisors External Reset RST Watchdog Timeout (Watchdog mode) WDT, FRCTL MPU, CS, PMM Password Violation FRAM double bit error detection MPU segment violation Software POR, BOR |
SVSLIFG, SVSHIFG PMMRSTIFG WDTIFG WDTPW, FRCTLPW, MPUPW, CSPW, PMMPW DBDIFG MPUSEGIIFG, MPUSEG1IFG, MPUSEG2IFG, MPUSEG3IFG PMMPORIFG, PMMBORIFG (SYSRSTIV) (1)(3) |
Reset | 0FFFEh | 63, highest |
System NMI
Vacant Memory Access JTAG Mailbox FRAM access time error FRAM single, double bit error detection |
VMAIFG JMBNIFG, JMBOUTIFG ACCTIMIFG SBDIFG, DBDIFG (SYSSNIV) (1) |
(Non)maskable | 0FFFCh | 62 |
User NMI
External NMI Oscillator Fault |
NMIIFG, OFIFG (SYSUNIV) (1)(3) |
(Non)maskable | 0FFFAh | 61 |
Comparator_D | Comparator_D interrupt flags (CBIV) (1)(2) |
Maskable | 0FFF8h | 60 |
TB0 | TB0CCR0 CCIFG0 (2) | Maskable | 0FFF6h | 59 |
TB0 | TB0CCR1 CCIFG1 to TB0CCR2 CCIFG2, TB0IFG (TB0IV) (1)(2) |
Maskable | 0FFF4h | 58 |
Watchdog Timer (Interval Timer Mode) |
WDTIFG | Maskable | 0FFF2h | 57 |
eUSCI_A0 Receive and Transmit | UCA0RXIFG, UCA0TXIFG (SPI mode) UCA0STTIFG, UCA0TXCPTIFG, UCA0RXIFG, UXA0TXIFG (UART mode) (UCA0IV) (1)(2) |
Maskable | 0FFF0h | 56 |
eUSCI_B0 Receive and Transmit | UCB0STTIFG, UCB0TXCPTIFG, UCB0RXIFG, UCB0TXIFG (SPI mode) UCB0ALIFG, UCB0NACKIFG, UCB0STTIFG, UCB0STPIFG, UCB0RXIFG0, UCB0TXIFG0, UCB0RXIFG1, UCB0TXIFG1, UCB0RXIFG2, UCB0TXIFG2, UCB0RXIFG3, UCB0TXIFG3, UCB0CNTIFG, UCB0BIT9IFG (I2C mode) (UCB0IV) (1)(2) |
Maskable | 0FFEEh | 55 |
ADC10_B | ADC10OVIFG, ADC10TOVIFG, ADC10HIIFG, ADC10LOIFG ADC10INIFG, ADC10IFG0 (ADC10IV) (1)(2)(5) |
Maskable | 0FFECh | 54 |
TA0 | TA0CCR0 CCIFG0 (2) | Maskable | 0FFEAh | 53 |
TA0 | TA0CCR1 CCIFG1 to TA0CCR2 CCIFG2, TA0IFG (TA0IV) (1)(2) |
Maskable | 0FFE8h | 52 |
eUSCI_A1 Receive and Transmit | UCA1RXIFG, UCA1TXIFG (SPI mode) UCA1STTIFG, UCA1TXCPTIFG, UCA1RXIFG, UXA1TXIFG (UART mode) (UCA1IV) (1)(2) |
Maskable | 0FFE6h | 51 |
DMA | DMA0IFG, DMA1IFG, DMA2IFG (DMAIV) (1)(2) |
Maskable | 0FFE4h | 50 |
TA1 | TA1CCR0 CCIFG0 (2) | Maskable | 0FFE2h | 49 |
TA1 | TA1CCR1 CCIFG1 to TA1CCR2 CCIFG2, TA1IFG (TA1IV) (1)(2) |
Maskable | 0FFE0h | 48 |
I/O Port P1 | P1IFG.0 to P1IFG.7 (P1IV) (1)(2) |
Maskable | 0FFDEh | 47 |
TB1 | TB1CCR0 CCIFG0 (2) | Maskable | 0FFDCh | 46 |
TB1 | TB1CCR1 CCIFG1 to TB1CCR2 CCIFG2, TB1IFG (TB1IV) (1)(2) |
Maskable | 0FFDAh | 45 |
I/O Port P2 | P2IFG.0 to P2IFG.7 (P2IV) (1)(2) |
Maskable | 0FFD8h | 44 |
TB2 | TB2CCR0 CCIFG0 (2) | Maskable | 0FFD6h | 43 |
TB2 | TB2CCR1 CCIFG1 to TB2CCR2 CCIFG2, TB2IFG (TB2IV) (1)(2) |
Maskable | 0FFD4h | 42 |
I/O Port P3 | P3IFG.0 to P3IFG.7 (P3IV) (1)(2) |
Maskable | 0FFD2h | 41 |
I/O Port P4 | P4IFG.0 to P4IFG.2 (P4IV) (1)(2) |
Maskable | 0FFD0h | 40 |
RTC_B | RTCRDYIFG, RTCTEVIFG, RTCAIFG, RT0PSIFG, RT1PSIFG, RTCOFIFG (RTCIV) (1)(2) |
Maskable | 0FFCEh | 39 |
Reserved | Reserved (4) | 0FFCCh | 38 | |
⋮ | ⋮ | |||
0FF80h | 0, lowest |
Table 5-2 describes the memory organization.
MSP430FR5739-EP | ||
---|---|---|
Memory (FRAM) Main: interrupt vectors Main: code memory |
Total Size | 15.5 KB 00FFFFh–00FF80h 00FF7Fh–00C200h |
RAM | 1 KB 001FFFh–001C00h |
|
Device Descriptor Info (TLV) (FRAM) | 128 B 001A7Fh–001A00h |
|
Information memory (FRAM) | N/A | 0019FFh–001980h Address space mirrored to Info A |
N/A | 00197Fh–001900h Address space mirrored to Info B |
|
Info A | 128 B 0018FFh–001880h |
|
Info B | 128 B 00187Fh–001800h |
|
Bootstrap loader (BSL) memory (ROM) | BSL 3 | 512 B 0017FFh–001600h |
BSL 2 | 512 B 0015FFh–001400h |
|
BSL 1 | 512 B 0013FFh–001200h |
|
BSL 0 | 512 B 0011FFh–001000h |
|
Peripherals | Size | 4 KB 000FFFh–0h |
The BSL enables users to program the FRAM or RAM using a UART serial interface. Access to the device memory by the BSL is protected by an user-defined password. Use of the BSL requires four pins (see Table 5-3). BSL entry requires a specific entry sequence on the RST/NMI/SBWTDIO and TEST/SBWTCK pins. For complete description of the features of the BSL and its implementation, see the MSP430 Programming Via the Bootstrap Loader User's Guide (SLAU319).
DEVICE SIGNAL | BSL FUNCTION |
---|---|
RST/NMI/SBWTDIO | Entry sequence signal |
TEST/SBWTCK | Entry sequence signal |
P2.0 | Data transmit |
P2.1 | Data receive |
VCC | Power supply |
VSS | Ground supply |
The MSP430 family supports the standard JTAG interface, which requires four signals for sending and receiving data. The JTAG signals are shared with general-purpose I/O. The TEST/SBWTCK pin is used to enable the JTAG signals. In addition to these signals, the RST/NMI/SBWTDIO is required to interface with MSP430 development tools and device programmers. The JTAG pin requirements are summarized in Table 5-4. For further details on interfacing to development tools and device programmers, see the MSP430 Hardware Tools User's Guide (SLAU278). For a complete description of the features of the JTAG interface and its implementation, see MSP430 Programming Via the JTAG Interface (SLAU320).
DEVICE SIGNAL | DIRECTION | FUNCTION |
---|---|---|
PJ.3/TCK | IN | JTAG clock input |
PJ.2/TMS | IN | JTAG state control |
PJ.1/TDI/TCLK | IN | JTAG data input, TCLK input |
PJ.0/TDO | OUT | JTAG data output |
TEST/SBWTCK | IN | Enable JTAG pins |
RST/NMI/SBWTDIO | IN | External reset |
VCC | Power supply | |
VSS | Ground supply |
In addition to the standard JTAG interface, the MSP430 family supports the two-wire Spy-Bi-Wire interface. Spy-Bi-Wire can be used to interface with MSP430 development tools and device programmers. The Spy-Bi-Wire interface pin requirements are summarized in Table 5-5. For further details on interfacing to development tools and device programmers, see the MSP430 Hardware Tools User's Guide (SLAU278). For a complete description of the features of the JTAG interface and its implementation, see MSP430 Programming Via the JTAG Interface (SLAU320).
DEVICE SIGNAL | DIRECTION | FUNCTION |
---|---|---|
TEST/SBWTCK | IN | Spy-Bi-Wire clock input |
RST/NMI/SBWTDIO | IN, OUT | Spy-Bi-Wire data input and output |
VCC | Power supply | |
VSS | Ground supply |
The FRAM can be programmed through the JTAG port, Spy-Bi-Wire (SBW), the BSL, or in-system by the CPU. Features of the FRAM include:
For important software design information regarding FRAM including but not limited to partitioning the memory layout according to application-specific code, constant, and data space requirements, the use of FRAM to optimize application energy consumption, and the use of the Memory Protection Unit (MPU) to maximize application robustness by protecting the program code against unintended write accesses, see the application report MSP430™ FRAM Technology – How To and Best Practices (SLAA628).
The FRAM can be protected from inadvertent CPU execution or write access by the MPU. Features of the MPU include:
Peripherals are connected to the CPU through data, address, and control buses and can be handled using all instructions. For complete module descriptions, see the MSP430FR57xx Family User's Guide (SLAU272).
There are up to four 8-bit I/O ports implemented:
The clock system includes support for a 32-kHz watch crystal oscillator XT1 (LF mode), an internal very-low-power low-frequency oscillator (VLO), an integrated internal digitally controlled oscillator (DCO), and a high-frequency crystal oscillator XT1 (HF mode). The clock system module is designed to meet the requirements of both low system cost and low power consumption. A fail-safe mechanism exists for all crystal sources. The clock system module provides the following clock signals:
The PMM includes an integrated voltage regulator that supplies the core voltage to the device. The PMM also includes supply voltage supervisor (SVS) and brownout protection. The brownout circuit is implemented to provide the proper internal reset signal to the device during power-on and power-off. The SVS circuitry detects if the supply voltage drops below a user-selectable safe level. SVS circuitry is available on the primary and core supplies.
The multiplication operation is supported by a dedicated peripheral module. The module performs operations with 32-bit, 24-bit, 16-bit, and 8-bit operands. The module supports signed and unsigned multiplication as well as signed and unsigned multiply-and-accumulate operations.
The RTC_B module contains an integrated real-time clock (RTC) (calendar mode). Calendar mode integrates an internal calendar which compensates for months with fewer than 31 days and includes leap year correction. The RTC_B also supports flexible alarm functions and offset-calibration hardware. RTC operation is available in LPM3.5 mode to minimize power consumption.
The primary function of the watchdog timer (WDT_A) module is to perform a controlled system restart after a software problem occurs. If the selected time interval expires, a system reset is generated. If the watchdog function is not needed in an application, the module can be configured as an interval timer and can generate interrupts at selected time intervals.
The SYS module handles many of the system functions within the device. These include power-on reset (POR) and power-up clear (PUC) handling, NMI source selection and management, reset interrupt vector generators, bootstrap loader entry mechanisms, and configuration management (device descriptors). It also includes a data exchange mechanism using JTAG called a JTAG mailbox that can be used in the application.
INTERRUPT VECTOR REGISTER | ADDRESS | INTERRUPT EVENT | VALUE | PRIORITY |
---|---|---|---|---|
SYSRSTIV,
System Reset |
019Eh | No interrupt pending | 00h | |
Brownout (BOR) | 02h | Highest | ||
RSTIFG RST/NMI (BOR) | 04h | |||
PMMSWBOR software BOR (BOR) | 06h | |||
LPMx.5 wake up (BOR) | 08h | |||
Security violation (BOR) | 0Ah | |||
SVSLIFG SVSL event (BOR) | 0Ch | |||
SVSHIFG SVSH event (BOR) | 0Eh | |||
Reserved | 10h | |||
Reserved | 12h | |||
PMMSWPOR software POR (POR) | 14h | |||
WDTIFG watchdog timeout (PUC) | 16h | |||
WDTPW password violation (PUC) | 18h | |||
FRCTLPW password violation (PUC) | 1Ah | |||
DBDIFG FRAM double bit error (PUC) | 1Ch | |||
Peripheral area fetch (PUC) | 1Eh | |||
PMMPW PMM password violation (PUC) | 20h | |||
MPUPW MPU password violation (PUC) | 22h | |||
CSPW CS password violation (PUC) | 24h | |||
MPUSEGIIFG information memory segment violation (PUC) | 26h | |||
MPUSEG1IFG segment 1 memory violation (PUC) | 28h | |||
MPUSEG2IFG segment 2 memory violation (PUC) | 2Ah | |||
MPUSEG3IFG segment 3 memory violation (PUC) | 2Ch | |||
Reserved | 2Eh | |||
Reserved | 30h to 3Eh | Lowest | ||
SYSSNIV, System NMI | 019Ch | No interrupt pending | 00h | |
DBDIFG FRAM double bit error | 02h | Highest | ||
ACCTIMIFG access time error | 04h | |||
Reserved | 0Eh | |||
VMAIFG Vacant memory access | 10h | |||
JMBINIFG JTAG mailbox input | 12h | |||
JMBOUTIFG JTAG mailbox output | 14h | |||
SBDIFG FRAM single bit error | 16h | |||
Reserved | 18h to 1Eh | Lowest | ||
SYSUNIV, User NMI | 019Ah | No interrupt pending | 00h | |
NMIFG NMI pin | 02h | Highest | ||
OFIFG oscillator fault | 04h | |||
Reserved | 06h | |||
Reserved | 08h | |||
Reserved | 0Ah to 1Eh | Lowest |
The DMA controller allows movement of data from one memory address to another without CPU intervention. For example, the DMA controller can be used to move data from the ADC10_B conversion memory to RAM. Using the DMA controller can increase the throughput of peripheral modules. The DMA controller reduces system power consumption by allowing the CPU to remain in sleep mode, without having to awaken to move data to or from a peripheral.
TRIGGER | CHANNEL 0 | CHANNEL 1 | CHANNEL 2 |
---|---|---|---|
0 | DMAREQ | DMAREQ | DMAREQ |
1 | TA0CCR0 CCIFG | TA0CCR0 CCIFG | TA0CCR0 CCIFG |
2 | TA0CCR2 CCIFG | TA0CCR2 CCIFG | TA0CCR2 CCIFG |
3 | TA1CCR0 CCIFG | TA1CCR0 CCIFG | TA1CCR0 CCIFG |
4 | TA1CCR2 CCIFG | TA1CCR2 CCIFG | TA1CCR2 CCIFG |
5 | Reserved | Reserved | Reserved |
6 | Reserved | Reserved | Reserved |
7 | TB0CCR0 CCIFG | TB0CCR0 CCIFG | TB0CCR0 CCIFG |
8 | TB0CCR2 CCIFG | TB0CCR2 CCIFG | TB0CCR2 CCIFG |
9 | TB1CCR0 CCIFG (3) | TB1CCR0 CCIFG (3) | TB1CCR0 CCIFG (3) |
10 | TB1CCR2 CCIFG (3) | TB1CCR2 CCIFG (3) | TB1CCR2 CCIFG (3) |
11 | TB2CCR0 CCIFG (4) | TB2CCR0 CCIFG (4) | TB2CCR0 CCIFG (4) |
12 | TB2CCR2 CCIFG (4) | TB2CCR2 CCIFG (4) | TB2CCR2 CCIFG (4) |
13 | Reserved | Reserved | Reserved |
14 | UCA0RXIFG | UCA0RXIFG | UCA0RXIFG |
15 | UCA0TXIFG | UCA0TXIFG | UCA0TXIFG |
16 | UCA1RXIFG (5) | UCA1RXIFG (5) | UCA1RXIFG (5) |
17 | UCA1TXIFG (5) | UCA1TXIFG (5) | UCA1TXIFG (5) |
18 | UCB0RXIFG0 | UCB0RXIFG0 | UCB0RXIFG0 |
19 | UCB0TXIFG0 | UCB0TXIFG0 | UCB0TXIFG0 |
20 | UCB0RXIFG1 | UCB0RXIFG1 | UCB0RXIFG1 |
21 | UCB0TXIFG1 | UCB0TXIFG1 | UCB0TXIFG1 |
22 | UCB0RXIFG2 | UCB0RXIFG2 | UCB0RXIFG2 |
23 | UCB0TXIFG2 | UCB0TXIFG2 | UCB0TXIFG2 |
24 | UCB0RXIFG3 | UCB0RXIFG3 | UCB0RXIFG3 |
25 | UCB0TXIFG3 | UCB0TXIFG3 | UCB0TXIFG3 |
26 | ADC10IFGx (2) | ADC10IFGx (2) | ADC10IFGx (2) |
27 | Reserved | Reserved | Reserved |
28 | Reserved | Reserved | Reserved |
29 | MPY ready | MPY ready | MPY ready |
30 | DMA2IFG | DMA0IFG | DMA1IFG |
31 | DMAE0 | DMAE0 | DMAE0 |
The eUSCI modules are used for serial data communication. The eUSCI module supports synchronous communication protocols such as SPI (3 or 4 pin) and I2C, and asynchronous communication protocols such as UART, enhanced UART with automatic baudrate detection, and IrDA. Each eUSCI module contains two portions, A and B.
The eUSCI_An module provides support for SPI (3 pin or 4 pin), UART, enhanced UART, or IrDA.
The eUSCI_Bn module provides support for SPI (3 pin or 4 pin) or I2C.
The MSP430FR5739-EP series include one or two eUSCI_An modules (eUSCI_A0, eUSCI_A1) and one eUSCI_Bn module (eUSCI_B).
TA0 and TA1 are 16-bit timers/counters (Timer_A type) with three capture/compare registers each. Each can support multiple capture/compares, PWM outputs, and interval timing. Each has extensive interrupt capabilities. Interrupts may be generated from the counter on overflow conditions and from each of the capture/compare registers.
INPUT PIN NUMBER | DEVICE INPUT SIGNAL | MODULE INPUT SIGNAL | MODULE BLOCK | MODULE OUTPUT SIGNAL | DEVICE OUTPUT SIGNAL | OUTPUT PIN NUMBER |
---|---|---|---|---|---|---|
3-P1.2 | TA0CLK | TACLK | Timer | N/A | N/A | |
ACLK (internal) | ACLK | |||||
SMCLK (internal) | SMCLK | |||||
3-P1.2 | TA0CLK | TACLK | ||||
28-P1.6 | TA0.0 | CCI0A | CCR0 | TA0 | TA0.0 | 28-P1.6 |
34-P2.3 | TA0.0 | CCI0B | 34-P2.3 | |||
DVSS | GND | |||||
DVCC | VCC | |||||
1-P1.0 | TA0.1 | CCI1A | CCR1 | TA1 | TA0.1 | 1-P1.0 |
CDOUT (internal) | CCI1B | ADC10 (internal) (1)
ADC10SHSx = {1} |
||||
DVSS | GND | |||||
DVCC | VCC | |||||
2-P1.1 | TA0.2 | CCI2A | CCR2 | TA2 | TA0.2 | 2-P1.1 |
ACLK (internal) | CCI2B | |||||
DVSS | GND | |||||
DVCC | VCC |
INPUT PIN NUMBER | DEVICE INPUT SIGNAL | MODULE INPUT SIGNAL | MODULE BLOCK | MODULE OUTPUT SIGNAL | DEVICE OUTPUT SIGNAL | OUTPUT PIN NUMBER |
---|---|---|---|---|---|---|
2-P1.1 | TA1CLK | TACLK | Timer | N/A | N/A | |
ACLK (internal) | ACLK | |||||
SMCLK (internal) | SMCLK | |||||
2-P1.1 | TA1CLK | TACLK | ||||
29-P1.7 | TA1.0 | CCI0A | CCR0 | TA0 | TA1.0 | 29-P1.7 |
35-P2.4 | TA1.0 | CCI0B | 35-P2.4 | |||
DVSS | GND | |||||
DVCC | VCC | |||||
3-P1.2 | TA1.1 | CCI1A | CCR1 | TA1 | TA1.1 | 3-P1.2 |
CDOUT (internal) | CCI1B | |||||
DVSS | GND | |||||
DVCC | VCC | |||||
8-P1.3 | TA1.2 | CCI2A | CCR2 | TA2 | TA1.2 | 8-P1.3 |
ACLK (internal) | CCI2B | |||||
DVSS | GND | |||||
DVCC | VCC |
TB0, TB1, and TB2 are 16-bit timers/counters (Timer_B type) with three capture/compare registers each. Each can support multiple capture/compares, PWM outputs, and interval timing. Each has extensive interrupt capabilities. Interrupts may be generated from the counter on overflow conditions and from each of the capture/compare registers.
INPUT PIN NUMBER | DEVICE INPUT SIGNAL | MODULE INPUT SIGNAL | MODULE BLOCK | MODULE OUTPUT SIGNAL | DEVICE OUTPUT SIGNAL | OUTPUT PIN NUMBER |
---|---|---|---|---|---|---|
21-P2.0 | TB0CLK | TBCLK | Timer | N/A | N/A | |
ACLK (internal) | ACLK | |||||
SMCLK (internal) | SMCLK | |||||
21-P2.0 | TB0CLK | TBCLK | ||||
22-P2.1 | TB0.0 | CCI0A | CCR0 | TB0 | TB0.0 | 22-P2.1 |
17-P2.5 | TB0.0 | CCI0B | 17-P2.5 | |||
DVSS | GND | ADC10 (internal) (1)
ADC10SHSx = {2} |
||||
DVCC | VCC | |||||
9-P1.4 | TB0.1 | CCI1A | CCR1 | TB1 | TB0.1 | 9-P1.4 |
CDOUT (internal) | CCI1B | ADC10 (internal) (1)
ADC10SHSx = {3} |
||||
DVSS | GND | |||||
DVCC | VCC | |||||
10-P1.5 | TB0.2 | CCI2A | CCR2 | TB2 | TB0.2 | 10-P1.5 |
ACLK (internal) | CCI2B | |||||
DVSS | GND | |||||
DVCC | VCC |
INPUT PIN NUMBER | DEVICE INPUT SIGNAL | MODULE INPUT SIGNAL | MODULE BLOCK | MODULE OUTPUT SIGNAL | DEVICE OUTPUT SIGNAL | OUTPUT PIN NUMBER |
---|---|---|---|---|---|---|
26-P3.6 | TB1CLK | TBCLK | Timer | N/A | N/A | |
ACLK (internal) | ACLK | |||||
SMCLK (internal) | SMCLK | |||||
26-P3.6 | TB1CLK | TBCLK | ||||
23-P2.2 | TB1.0 | CCI0A | CCR0 | TB0 | TB1.0 | 23-P2.2 |
18-P2.6 | TB1.0 | CCI0B | 18-P2.6 | |||
DVSS | GND | |||||
DVCC | VCC | |||||
28-P1.6 | TB1.1 | CCI1A | CCR1 | TB1 | TB1.1 | 28-P1.6 |
24-P3.4 | TB1.1 | CCI1B | 24-P3.4 | |||
DVSS | GND | |||||
DVCC | VCC | |||||
29-P1.7 | TB1.2 | CCI2A | CCR2 | TB2 | TB1.2 | 29-P1.7 |
25-P3.5 | TB1.2 | CCI2B | 25-P3.5 | |||
DVSS | GND | |||||
DVCC | VCC |
INPUT PIN NUMBER | DEVICE INPUT SIGNAL | MODULE INPUT SIGNAL | MODULE BLOCK | MODULE OUTPUT SIGNAL | DEVICE OUTPUT SIGNAL | OUTPUT PIN NUMBER |
---|---|---|---|---|---|---|
24-P3.4 | TB2CLK | TBCLK | Timer | N/A | N/A | |
ACLK (internal) | ACLK | |||||
SMCLK (internal) | SMCLK | |||||
24-P3.4 | TB2CLK | TBCLK | ||||
21-P2.0 | TB2.0 | CCI0A | CCR0 | TB0 | TB2.0 | 21-P2.0 |
15-P4.0 | TB2.0 | CCI0B | 15-P4.0 | |||
DVSS | GND | |||||
DVCC | VCC | |||||
22-P2.1 | TB2.1 | CCI1A | CCR1 | TB1 | TB2.1 | 22-P2.1 |
26-P3.6 | TB2.1 | CCI1B | 26-P3.6 | |||
DVSS | GND | |||||
DVCC | VCC | |||||
23-P2.2 | TB2.2 | CCI2A | CCR2 | TB2 | TB2.2 | 23-P2.2 |
27-P3.7 | TB2.2 | CCI2B | 27-P3.7 | |||
DVSS | GND | |||||
DVCC | VCC |
The ADC10_B module supports fast 10-bit analog-to-digital conversions. The module implements a 10-bit SAR core, sample select control, reference generator, and a conversion result buffer. A window comparator with a lower limit and an upper limit allows CPU-independent result monitoring with three window comparator interrupt flags.
The primary function of the Comparator_D module is to support precision slope analog-to-digital conversions, battery voltage supervision, and monitoring of external analog signals.
The CRC16 module produces a signature based on a sequence of entered data values and can be used for data checking purposes. The CRC16 module signature is based on the CRC-CCITT standard.
The reference module (REF) is responsible for generation of all critical reference voltages that can be used by the various analog peripherals in the device.
The EEM supports real-time in-system debugging. The S version of the EEM implemented on all devices has the following features:
Table 5-13 provides the base address and offset range of all available peripherals.
MODULE NAME | BASE ADDRESS | OFFSET ADDRESS RANGE |
---|---|---|
Special Functions (see Table 5-14) | 0100h | 000h-01Fh |
PMM (see Table 5-15) | 0120h | 000h-010h |
FRAM Control (see Table 5-16) | 0140h | 000h-00Fh |
CRC16 (see Table 5-17) | 0150h | 000h-007h |
Watchdog (see Table 5-18) | 015Ch | 000h-001h |
CS (see Table 5-19) | 0160h | 000h-00Fh |
SYS (see Table 5-20) | 0180h | 000h-01Fh |
Shared Reference (see Table 5-21) | 01B0h | 000h-001h |
Port P1, P2 (see Table 5-22) | 0200h | 000h-01Fh |
Port P3, P4 (see Table 5-23) | 0220h | 000h-01Fh |
Port PJ (see Table 5-24) | 0320h | 000h-01Fh |
TA0 (see Table 5-25) | 0340h | 000h-02Fh |
TA1 (see Table 5-26) | 0380h | 000h-02Fh |
TB0 (see Table 5-27) | 03C0h | 000h-02Fh |
TB1 (see Table 5-28) | 0400h | 000h-02Fh |
TB2 (see Table 5-29) | 0440h | 000h-02Fh |
Real-Time Clock (RTC_B) (see Table 5-30) | 04A0h | 000h-01Fh |
32-Bit Hardware Multiplier (see Table 5-31) | 04C0h | 000h-02Fh |
DMA General Control (see Table 5-32) | 0500h | 000h-00Fh |
DMA Channel 0 (see Table 5-32) | 0510h | 000h-00Ah |
DMA Channel 1 (see Table 5-32) | 0520h | 000h-00Ah |
DMA Channel 2 (see Table 5-32) | 0530h | 000h-00Ah |
MPU Control (see Table 5-33) | 05A0h | 000h-00Fh |
eUSCI_A0 (see Table 5-34) | 05C0h | 000h-01Fh |
eUSCI_A1 (see Table 5-35) | 05E0h | 000h-01Fh |
eUSCI_B0 (see Table 5-36) | 0640h | 000h-02Fh |
ADC10_B (see Table 5-37) | 0700h | 000h-03Fh |
Comparator_D (see Table 5-38) | 08C0h | 000h-00Fh |
REGISTER DESCRIPTION | REGISTER | OFFSET |
---|---|---|
SFR interrupt enable | SFRIE1 | 00h |
SFR interrupt flag | SFRIFG1 | 02h |
SFR reset pin control | SFRRPCR | 04h |
REGISTER DESCRIPTION | REGISTER | OFFSET |
---|---|---|
PMM Control 0 | PMMCTL0 | 00h |
PMM interrupt flags | PMMIFG | 0Ah |
PM5 Control 0 | PM5CTL0 | 10h |
REGISTER DESCRIPTION | REGISTER | OFFSET |
---|---|---|
FRAM control 0 | FRCTLCTL0 | 00h |
General control 0 | GCCTL0 | 04h |
General control 1 | GCCTL1 | 06h |
REGISTER DESCRIPTION | REGISTER | OFFSET |
---|---|---|
CRC data input | CRC16DI | 00h |
CRC data input reverse byte | CRCDIRB | 02h |
CRC initialization and result | CRCINIRES | 04h |
CRC result reverse byte | CRCRESR | 06h |
REGISTER DESCRIPTION | REGISTER | OFFSET |
---|---|---|
Watchdog timer control | WDTCTL | 00h |
REGISTER DESCRIPTION | REGISTER | OFFSET |
---|---|---|
CS control 0 | CSCTL0 | 00h |
CS control 1 | CSCTL1 | 02h |
CS control 2 | CSCTL2 | 04h |
CS control 3 | CSCTL3 | 06h |
CS control 4 | CSCTL4 | 08h |
CS control 5 | CSCTL5 | 0Ah |
CS control 6 | CSCTL6 | 0Ch |
REGISTER DESCRIPTION | REGISTER | OFFSET |
---|---|---|
System control | SYSCTL | 00h |
JTAG mailbox control | SYSJMBC | 06h |
JTAG mailbox input 0 | SYSJMBI0 | 08h |
JTAG mailbox input 1 | SYSJMBI1 | 0Ah |
JTAG mailbox output 0 | SYSJMBO0 | 0Ch |
JTAG mailbox output 1 | SYSJMBO1 | 0Eh |
Bus Error vector generator | SYSBERRIV | 18h |
User NMI vector generator | SYSUNIV | 1Ah |
System NMI vector generator | SYSSNIV | 1Ch |
Reset vector generator | SYSRSTIV | 1Eh |
REGISTER DESCRIPTION | REGISTER | OFFSET |
---|---|---|
Shared reference control | REFCTL | 00h |
REGISTER DESCRIPTION | REGISTER | OFFSET |
---|---|---|
Port P1 input | P1IN | 00h |
Port P1 output | P1OUT | 02h |
Port P1 direction | P1DIR | 04h |
Port P1 pullup/pulldown enable | P1REN | 06h |
Port P1 selection 0 | P1SEL0 | 0Ah |
Port P1 selection 1 | P1SEL1 | 0Ch |
Port P1 interrupt vector word | P1IV | 0Eh |
Port P1 complement selection | P1SELC | 16h |
Port P1 interrupt edge select | P1IES | 18h |
Port P1 interrupt enable | P1IE | 1Ah |
Port P1 interrupt flag | P1IFG | 1Ch |
Port P2 input | P2IN | 01h |
Port P2 output | P2OUT | 03h |
Port P2 direction | P2DIR | 05h |
Port P2 pullup/pulldown enable | P2REN | 07h |
Port P2 selection 0 | P2SEL0 | 0Bh |
Port P2 selection 1 | P2SEL1 | 0Dh |
Port P2 complement selection | P2SELC | 17h |
Port P2 interrupt vector word | P2IV | 1Eh |
Port P2 interrupt edge select | P2IES | 19h |
Port P2 interrupt enable | P2IE | 1Bh |
Port P2 interrupt flag | P2IFG | 1Dh |
REGISTER DESCRIPTION | REGISTER | OFFSET |
---|---|---|
Port P3 input | P3IN | 00h |
Port P3 output | P3OUT | 02h |
Port P3 direction | P3DIR | 04h |
Port P3 pullup/pulldown enable | P3REN | 06h |
Port P3 selection 0 | P3SEL0 | 0Ah |
Port P3 selection 1 | P3SEL1 | 0Ch |
Port P3 interrupt vector word | P3IV | 0Eh |
Port P3 complement selection | P3SELC | 16h |
Port P3 interrupt edge select | P3IES | 18h |
Port P3 interrupt enable | P3IE | 1Ah |
Port P3 interrupt flag | P3IFG | 1Ch |
Port P4 input | P4IN | 01h |
Port P4 output | P4OUT | 03h |
Port P4 direction | P4DIR | 05h |
Port P4 pullup/pulldown enable | P4REN | 07h |
Port P4 selection 0 | P4SEL0 | 0Bh |
Port P4 selection 1 | P4SEL1 | 0Dh |
Port P4 complement selection | P4SELC | 17h |
Port P4 interrupt vector word | P4IV | 1Eh |
Port P4 interrupt edge select | P4IES | 19h |
Port P4 interrupt enable | P4IE | 1Bh |
Port P4 interrupt flag | P4IFG | 1Dh |
REGISTER DESCRIPTION | REGISTER | OFFSET |
---|---|---|
Port PJ input | PJIN | 00h |
Port PJ output | PJOUT | 02h |
Port PJ direction | PJDIR | 04h |
Port PJ pullup/pulldown enable | PJREN | 06h |
Port PJ selection 0 | PJSEL0 | 0Ah |
Port PJ selection 1 | PJSEL1 | 0Ch |
Port PJ complement selection | PJSELC | 16h |
REGISTER DESCRIPTION | REGISTER | OFFSET |
---|---|---|
TA0 control | TA0CTL | 00h |
Capture/compare control 0 | TA0CCTL0 | 02h |
Capture/compare control 1 | TA0CCTL1 | 04h |
Capture/compare control 2 | TA0CCTL2 | 06h |
TA0 counter register | TA0R | 10h |
Capture/compare register 0 | TA0CCR0 | 12h |
Capture/compare register 1 | TA0CCR1 | 14h |
Capture/compare register 2 | TA0CCR2 | 16h |
TA0 expansion register 0 | TA0EX0 | 20h |
TA0 interrupt vector | TA0IV | 2Eh |
REGISTER DESCRIPTION | REGISTER | OFFSET |
---|---|---|
TA1 control | TA1CTL | 00h |
Capture/compare control 0 | TA1CCTL0 | 02h |
Capture/compare control 1 | TA1CCTL1 | 04h |
Capture/compare control 2 | TA1CCTL2 | 06h |
TA1 counter register | TA1R | 10h |
Capture/compare register 0 | TA1CCR0 | 12h |
Capture/compare register 1 | TA1CCR1 | 14h |
Capture/compare register 2 | TA1CCR2 | 16h |
TA1 expansion register 0 | TA1EX0 | 20h |
TA1 interrupt vector | TA1IV | 2Eh |
REGISTER DESCRIPTION | REGISTER | OFFSET |
---|---|---|
TB0 control | TB0CTL | 00h |
Capture/compare control 0 | TB0CCTL0 | 02h |
Capture/compare control 1 | TB0CCTL1 | 04h |
Capture/compare control 2 | TB0CCTL2 | 06h |
TB0 register | TB0R | 10h |
Capture/compare register 0 | TB0CCR0 | 12h |
Capture/compare register 1 | TB0CCR1 | 14h |
Capture/compare register 2 | TB0CCR2 | 16h |
TB0 expansion register 0 | TB0EX0 | 20h |
TB0 interrupt vector | TB0IV | 2Eh |
REGISTER DESCRIPTION | REGISTER | OFFSET |
---|---|---|
TB1 control | TB1CTL | 00h |
Capture/compare control 0 | TB1CCTL0 | 02h |
Capture/compare control 1 | TB1CCTL1 | 04h |
Capture/compare control 2 | TB1CCTL2 | 06h |
TB1 register | TB1R | 10h |
Capture/compare register 0 | TB1CCR0 | 12h |
Capture/compare register 1 | TB1CCR1 | 14h |
Capture/compare register 2 | TB1CCR2 | 16h |
TB1 expansion register 0 | TB1EX0 | 20h |
TB1 interrupt vector | TB1IV | 2Eh |
REGISTER DESCRIPTION | REGISTER | OFFSET |
---|---|---|
TB2 control | TB2CTL | 00h |
Capture/compare control 0 | TB2CCTL0 | 02h |
Capture/compare control 1 | TB2CCTL1 | 04h |
Capture/compare control 2 | TB2CCTL2 | 06h |
TB2 register | TB2R | 10h |
Capture/compare register 0 | TB2CCR0 | 12h |
Capture/compare register 1 | TB2CCR1 | 14h |
Capture/compare register 2 | TB2CCR2 | 16h |
TB2 expansion register 0 | TB2EX0 | 20h |
TB2 interrupt vector | TB2IV | 2Eh |
REGISTER DESCRIPTION | REGISTER | OFFSET |
---|---|---|
RTC control 0 | RTCCTL0 | 00h |
RTC control 1 | RTCCTL1 | 01h |
RTC control 2 | RTCCTL2 | 02h |
RTC control 3 | RTCCTL3 | 03h |
RTC prescaler 0 control | RTCPS0CTL | 08h |
RTC prescaler 1 control | RTCPS1CTL | 0Ah |
RTC prescaler 0 | RTCPS0 | 0Ch |
RTC prescaler 1 | RTCPS1 | 0Dh |
RTC interrupt vector word | RTCIV | 0Eh |
RTC seconds, RTC counter register 1 | RTCSEC, RTCNT1 | 10h |
RTC minutes, RTC counter register 2 | RTCMIN, RTCNT2 | 11h |
RTC hours, RTC counter register 3 | RTCHOUR, RTCNT3 | 12h |
RTC day of week, RTC counter register 4 | RTCDOW, RTCNT4 | 13h |
RTC days | RTCDAY | 14h |
RTC month | RTCMON | 15h |
RTC year low | RTCYEARL | 16h |
RTC year high | RTCYEARH | 17h |
RTC alarm minutes | RTCAMIN | 18h |
RTC alarm hours | RTCAHOUR | 19h |
RTC alarm day of week | RTCADOW | 1Ah |
RTC alarm days | RTCADAY | 1Bh |
Binary-to-BCD conversion register | BIN2BCD | 1Ch |
BCD-to-binary conversion register | BCD2BIN | 1Eh |
REGISTER DESCRIPTION | REGISTER | OFFSET |
---|---|---|
16-bit operand 1 – multiply | MPY | 00h |
16-bit operand 1 – signed multiply | MPYS | 02h |
16-bit operand 1 – multiply accumulate | MAC | 04h |
16-bit operand 1 – signed multiply accumulate | MACS | 06h |
16-bit operand 2 | OP2 | 08h |
16 × 16 result low word | RESLO | 0Ah |
16 × 16 result high word | RESHI | 0Ch |
16 × 16 sum extension register | SUMEXT | 0Eh |
32-bit operand 1 – multiply low word | MPY32L | 10h |
32-bit operand 1 – multiply high word | MPY32H | 12h |
32-bit operand 1 – signed multiply low word | MPYS32L | 14h |
32-bit operand 1 – signed multiply high word | MPYS32H | 16h |
32-bit operand 1 – multiply accumulate low word | MAC32L | 18h |
32-bit operand 1 – multiply accumulate high word | MAC32H | 1Ah |
32-bit operand 1 – signed multiply accumulate low word | MACS32L | 1Ch |
32-bit operand 1 – signed multiply accumulate high word | MACS32H | 1Eh |
32-bit operand 2 – low word | OP2L | 20h |
32-bit operand 2 – high word | OP2H | 22h |
32 × 32 result 0 – least significant word | RES0 | 24h |
32 × 32 result 1 | RES1 | 26h |
32 × 32 result 2 | RES2 | 28h |
32 × 32 result 3 – most significant word | RES3 | 2Ah |
MPY32 control register 0 | MPY32CTL0 | 2Ch |
REGISTER DESCRIPTION | REGISTER | OFFSET |
---|---|---|
DMA channel 0 control | DMA0CTL | 00h |
DMA channel 0 source address low | DMA0SAL | 02h |
DMA channel 0 source address high | DMA0SAH | 04h |
DMA channel 0 destination address low | DMA0DAL | 06h |
DMA channel 0 destination address high | DMA0DAH | 08h |
DMA channel 0 transfer size | DMA0SZ | 0Ah |
DMA channel 1 control | DMA1CTL | 00h |
DMA channel 1 source address low | DMA1SAL | 02h |
DMA channel 1 source address high | DMA1SAH | 04h |
DMA channel 1 destination address low | DMA1DAL | 06h |
DMA channel 1 destination address high | DMA1DAH | 08h |
DMA channel 1 transfer size | DMA1SZ | 0Ah |
DMA channel 2 control | DMA2CTL | 00h |
DMA channel 2 source address low | DMA2SAL | 02h |
DMA channel 2 source address high | DMA2SAH | 04h |
DMA channel 2 destination address low | DMA2DAL | 06h |
DMA channel 2 destination address high | DMA2DAH | 08h |
DMA channel 2 transfer size | DMA2SZ | 0Ah |
DMA module control 0 | DMACTL0 | 00h |
DMA module control 1 | DMACTL1 | 02h |
DMA module control 2 | DMACTL2 | 04h |
DMA module control 3 | DMACTL3 | 06h |
DMA module control 4 | DMACTL4 | 08h |
DMA interrupt vector | DMAIV | 0Ah |
REGISTER DESCRIPTION | REGISTER | OFFSET |
---|---|---|
MPU control 0 | MPUCTL0 | 00h |
MPU control 1 | MPUCTL1 | 02h |
MPU Segmentation Register | MPUSEG | 04h |
MPU access management | MPUSAM | 06h |
REGISTER DESCRIPTION | REGISTER | OFFSET |
---|---|---|
eUSCI_A control word 0 | UCA0CTLW0 | 00h |
eUSCI _A control word 1 | UCA0CTLW1 | 02h |
eUSCI_A baud rate 0 | UCA0BR0 | 06h |
eUSCI_A baud rate 1 | UCA0BR1 | 07h |
eUSCI_A modulation control | UCA0MCTLW | 08h |
eUSCI_A status | UCA0STAT | 0Ah |
eUSCI_A receive buffer | UCA0RXBUF | 0Ch |
eUSCI_A transmit buffer | UCA0TXBUF | 0Eh |
eUSCI_A LIN control | UCA0ABCTL | 10h |
eUSCI_A IrDA transmit control | UCA0IRTCTL | 12h |
eUSCI_A IrDA receive control | UCA0IRRCTL | 13h |
eUSCI_A interrupt enable | UCA0IE | 1Ah |
eUSCI_A interrupt flags | UCA0IFG | 1Ch |
eUSCI_A interrupt vector word | UCA0IV | 1Eh |
REGISTER DESCRIPTION | REGISTER | OFFSET |
---|---|---|
eUSCI_A control word 0 | UCA1CTLW0 | 00h |
eUSCI _A control word 1 | UCA1CTLW1 | 02h |
eUSCI_A baud rate 0 | UCA1BR0 | 06h |
eUSCI_A baud rate 1 | UCA1BR1 | 07h |
eUSCI_A modulation control | UCA1MCTLW | 08h |
eUSCI_A status | UCA1STAT | 0Ah |
eUSCI_A receive buffer | UCA1RXBUF | 0Ch |
eUSCI_A transmit buffer | UCA1TXBUF | 0Eh |
eUSCI_A LIN control | UCA1ABCTL | 10h |
eUSCI_A IrDA transmit control | UCA1IRTCTL | 12h |
eUSCI_A IrDA receive control | UCA1IRRCTL | 13h |
eUSCI_A interrupt enable | UCA1IE | 1Ah |
eUSCI_A interrupt flags | UCA1IFG | 1Ch |
eUSCI_A interrupt vector word | UCA1IV | 1Eh |
REGISTER DESCRIPTION | REGISTER | OFFSET |
---|---|---|
eUSCI_B control word 0 | UCB0CTLW0 | 00h |
eUSCI_B control word 1 | UCB0CTLW1 | 02h |
eUSCI_B bit rate 0 | UCB0BR0 | 06h |
eUSCI_B bit rate 1 | UCB0BR1 | 07h |
eUSCI_B status word | UCB0STATW | 08h |
eUSCI_B byte counter threshold | UCB0TBCNT | 0Ah |
eUSCI_B receive buffer | UCB0RXBUF | 0Ch |
eUSCI_B transmit buffer | UCB0TXBUF | 0Eh |
eUSCI_B I2C own address 0 | UCB0I2COA0 | 14h |
eUSCI_B I2C own address 1 | UCB0I2COA1 | 16h |
eUSCI_B I2C own address 2 | UCB0I2COA2 | 18h |
eUSCI_B I2C own address 3 | UCB0I2COA3 | 1Ah |
eUSCI_B received address | UCB0ADDRX | 1Ch |
eUSCI_B address mask | UCB0ADDMASK | 1Eh |
eUSCI I2C slave address | UCB0I2CSA | 20h |
eUSCI interrupt enable | UCB0IE | 2Ah |
eUSCI interrupt flags | UCB0IFG | 2Ch |
eUSCI interrupt vector word | UCB0IV | 2Eh |
REGISTER DESCRIPTION | REGISTER | OFFSET |
---|---|---|
ADC10_B Control register 0 | ADC10CTL0 | 00h |
ADC10_B Control register 1 | ADC10CTL1 | 02h |
ADC10_B Control register 2 | ADC10CTL2 | 04h |
ADC10_B Window Comparator Low Threshold | ADC10LO | 06h |
ADC10_B Window Comparator High Threshold | ADC10HI | 08h |
ADC10_B Memory Control Register 0 | ADC10MCTL0 | 0Ah |
ADC10_B Conversion Memory Register | ADC10MEM0 | 12h |
ADC10_B Interrupt Enable | ADC10IE | 1Ah |
ADC10_B Interrupt Flags | ADC10IGH | 1Ch |
ADC10_B Interrupt Vector Word | ADC10IV | 1Eh |
REGISTER DESCRIPTION | REGISTER | OFFSET |
---|---|---|
Comparator_D control register 0 | CDCTL0 | 00h |
Comparator_D control register 1 | CDCTL1 | 02h |
Comparator_D control register 2 | CDCTL2 | 04h |
Comparator_D control register 3 | CDCTL3 | 06h |
Comparator_D interrupt register | CDINT | 0Ch |
Comparator_D interrupt vector word | CDIV | 0Eh |