SLAS734G April 2011 – April 2016 MSP430G2203 , MSP430G2233 , MSP430G2303 , MSP430G2333 , MSP430G2403 , MSP430G2433 , MSP430G2533
PRODUCTION DATA.
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 (see Figure 6-1).
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 instruction set consists of 51 instructions with three formats and seven address modes. Each instruction can operate on word and byte data. Table 6-1 lists examples of the three types of instruction formats. Table 6-2 lists the address modes.
INSTRUCTION FORMAT | EXAMPLE | OPERATION |
---|---|---|
Dual operands, source-destination | ADD R4,R5 | R4 + R5 → R5 |
Single operands, destination only | CALL R8 | PC → (TOS), R8 → PC |
Relative jump, unconditional or conditional | JNE | Jump-on-equal bit = 0 |
ADDRESS MODE | S(1) | D | SYNTAX | EXAMPLE | OPERATION |
---|---|---|---|---|---|
Register | ✓ | ✓ | MOV Rs,Rd | MOV R10,R11 | R10 → R11 |
Indexed | ✓ | ✓ | MOV X(Rn),Y(Rm) | MOV 2(R5),6(R6) | M(2+R5) → M(6+R6) |
Symbolic (PC relative) | ✓ | ✓ | MOV EDE,TONI | M(EDE) → M(TONI) | |
Absolute | ✓ | ✓ | MOV &MEM,&TCDAT | M(MEM) → M(TCDAT) | |
Indirect | ✓ | MOV @Rn,Y(Rm) | MOV @R10,Tab(R6) | M(R10) → M(Tab+R6) | |
Indirect autoincrement | ✓ | MOV @Rn+,Rm | MOV @R10+,R11 | M(R10) → R11 R10 + 2 → R10 |
|
Immediate | ✓ | MOV #X,TONI | MOV #45,TONI | #45 → M(TONI) |
These microcontrollers have one active mode and five software-selectable low-power modes of operation. An interrupt event can wake the device from any of the low-power modes, service the request, and restore back to the low-power mode on return from the interrupt program.
Software can configure the following operating modes:
The interrupt vectors and the power-up starting address are in the address range 0FFFFh to 0FFC0h (see Table 6-3). The vector contains the 16-bit address of the appropriate interrupt handler instruction sequence.
If the reset vector (at address 0FFFEh) contains 0FFFFh (for example, if the flash is not programmed), the CPU goes into LPM4 immediately after power-up.
INTERRUPT SOURCE | INTERRUPT FLAG | SYSTEM INTERRUPT | WORD ADDRESS | PRIORITY |
---|---|---|---|---|
Power up External reset Watchdog Timer+ Flash key violation PC out of range(1) |
PORIFG RSTIFG WDTIFG KEYV(2) |
Reset | 0FFFEh | 31, highest |
NMI Oscillator fault Flash memory access violation |
NMIIFG OFIFG ACCVIFG(2) |
(non)-maskable(6)
(non)-maskable (non)-maskable |
0FFFCh | 30 |
Timer1_A3 | TACCR0 CCIFG(3) | maskable | 0FFFAh | 29 |
Timer1_A3 | TACCR2 TACCR1 CCIFG, TAIFG(2)(3) | maskable | 0FFF8h | 28 |
0FFF6h | 27 | |||
Watchdog Timer+ | WDTIFG | maskable | 0FFF4h | 26 |
Timer0_A3 | TACCR0 CCIFG(3) | maskable | 0FFF2h | 25 |
Timer0_A3 | TACCR2 TACCR1 CCIFG, TAIFG (4)(3) | maskable | 0FFF0h | 24 |
USCI_A0, USCI_B0 receive USCI_B0 I2C status |
UCA0RXIFG, UCB0RXIFG(2)(4) | maskable | 0FFEEh | 23 |
USCI_A0, USCI_B0 transmit USCI_B0 I2C receive or transmit |
UCA0TXIFG, UCB0TXIFG(2)(5) | maskable | 0FFECh | 22 |
ADC10
(MSP430G2x33 only) |
ADC10IFG(3) | maskable | 0FFEAh | 21 |
0FFE8h | 20 | |||
I/O Port P2 (up to eight flags) | P2IFG.0 to P2IFG.7(2)(3) | maskable | 0FFE6h | 19 |
I/O Port P1 (up to eight flags) | P1IFG.0 to P1IFG.7(2)(3) | maskable | 0FFE4h | 18 |
0FFE2h | 17 | |||
0FFE0h | 16 | |||
See (7) | 0FFDEh | 15 | ||
See (8) | 0FFDEh to 0FFC0h | 14 to 0, lowest |
Most interrupt and module enable bits are collected into the lowest address space. Special function register bits not allocated to a functional purpose are not physically present in the device. Simple software access is provided with this arrangement.
Legend | ||
rw | Bit can be read and written. | |
rw-0, rw-1 | Bit can be read and written. It is reset or set by PUC. | |
rw-(0), rw-(1) | Bit can be read and written. It is reset or set by POR. | |
SFR bit is not present in device. |
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ACCVIE | NMIIE | OFIE | WDTIE | ||||
rw-0 | rw-0 | rw-0 | rw-0 |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
5 | ACCVIE | RW | 0h | Flash access violation interrupt enable |
4 | NMIIE | RW | 0h | (Non)maskable interrupt enable |
1 | OFIE | RW | 0h | Oscillator fault interrupt enable |
0 | WDTIE | RW | 0h | Watchdog Timer interrupt enable. Inactive if watchdog mode is selected. Active if Watchdog Timer is configured in interval timer mode. |
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
UCB0TXIE | UCB0RXIE | UCA0TXIE | UCA0RXIE | ||||
rw-0 | rw-0 | rw-0 | rw-0 |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
3 | UCB0TXIE | RW | 0h | USCI_B0 transmit interrupt enable |
2 | UCB0RXIE | RW | 0h | USCI_B0 receive interrupt enable |
1 | UCA0TXIE | RW | 0h | USCI_A0 transmit interrupt enable |
0 | UCA0RXIE | RW | 0h | USCI_A0 receive interrupt enable |
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
NMIIFG | RSTIFG | PORIFG | OFIFG | WDTIFG | |||
rw-0 | rw-(0) | rw-(1) | rw-1 | rw-(0) |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
4 | NMIIFG | RW | 0h | Set by the RST/NMI pin |
3 | RSTIFG | RW | 0h | External reset interrupt flag. Set on a reset condition at RST/NMI pin in reset mode. Reset on VCC power-up. |
2 | PORIFG | RW | 1h | Power-On Reset interrupt flag. Set on VCC power-up. |
1 | OFIFG | RW | 1h | Flag set on oscillator fault. |
0 | WDTIFG | RW | 0h | Set on watchdog timer overflow (in watchdog mode) or security key violation. Reset on VCC power-on or a reset condition at the RST/NMI pin in reset mode. |
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
UCB0TXIFG | UCB0RXIFG | UCA0TXIFG | UCA0RXIFG | ||||
rw-1 | rw-0 | rw-1 | rw-0 |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
3 | UCB0TXIFG | RW | 0h | USCI_B0 transmit interrupt flag |
2 | UCB0RXIFG | RW | 1h | USCI_B0 receive interrupt flag |
1 | UCA0TXIFG | RW | 1h | USCI_A0 transmit interrupt flag |
0 | UCA0RXIFG | RW | 0h | USCI_A0 receive interrupt flag |
Table 6-8 summarizes the memory map.
MSP430G2233 MSP430G2203 |
MSP430G2333 MSP430G2303 |
MSP430G2433 MSP430G2403 |
MSP430G2533 | ||
---|---|---|---|---|---|
Memory | Size | 2KB | 4KB | 8KB | 16KB |
Main: interrupt vector | Flash | FFFFh to FFC0h | FFFFh to FFC0h | FFFFh to FFC0h | FFFFh to FFC0h |
Main: code memory | Flash | FFFFh to F800h | FFFFh to F000h | FFFFh to E000h | FFFFh to C000h |
Information memory | Size | 256 byte | 256 byte | 256 byte | 256 byte |
Flash | 010FFh to 01000h | 010FFh to 01000h | 010FFh to 01000h | 010FFh to 01000h | |
RAM | Size | 256 byte | 256 byte | 512 byte | 512 byte |
02FFh to 0200h | 02FFh to 0200h | 03FFh to 0200h | 03FFh to 0200h | ||
Peripherals | 16-bit | 01FFh to 0100h | 01FFh to 0100h | 01FFh to 0100h | 01FFh to 0100h |
8-bit | 0FFh to 010h | 0FFh to 010h | 0FFh to 010h | 0FFh to 010h | |
8-bit SFR | 0Fh to 00h | 0Fh to 00h | 0Fh to 00h | 0Fh to 00h |
The MSP430 BSL enables users to program the flash memory or RAM using a UART serial interface. Access to the MSP430 memory through the BSL is protected by user-defined password. For complete description of the features of the BSL and its implementation, see the MSP430 Programming With the Bootloader User's Guide (SLAU319). Table 6-9 lists the BSL function pins.
BSL FUNCTION | 20-PIN PW PACKAGE 20-PIN N PACKAGE |
28-PIN PW PACKAGE | 32-PIN RHB PACKAGE |
---|---|---|---|
Data transmit | 3 - P1.1 | 3 - P1.1 | 1 - P1.1 |
Data receive | 7 - P1.5 | 7 - P1.5 | 5 - P1.5 |
The flash memory can be programmed through the Spy-Bi-Wire/JTAG port or in-system by the CPU. The CPU can perform single-byte and single-word writes to the flash memory. Features of the flash memory include:
Peripherals are connected to the CPU through data, address, and control buses. The peripherals can be managed using all instructions. For complete module descriptions, see the MSP430x2xx Family User's Guide (SLAU144).
The clock system is supported by the basic clock module that includes support for a 32768-Hz watch crystal oscillator, an internal very-low-power low-frequency oscillator and an internal digitally controlled oscillator (DCO). The basic clock module is designed to meet the requirements of both low system cost and low power consumption. The internal DCO provides a fast turnon clock source and stabilizes in less than 1 µs. The basic clock module provides the following clock signals:
The DCO settings to calibrate the DCO output frequency are stored in the information memory segment A.
Calibration data is stored for both the DCO and for ADC10 organized in a tag-length-value structure (see Table 6-10 and Table 6-11).
NAME | ADDRESS | VALUE | DESCRIPTION |
---|---|---|---|
TAG_DCO_30 | 0x10F6 | 0x01 | DCO frequency calibration at VCC = 3 V and TA = 30°C |
TAG_ADC10_1 | 0x10DA | 0x10 | ADC10_1 calibration tag |
TAG_EMPTY | – | 0xFE | Identifier for empty memory areas |
The brownout circuit is implemented to provide the proper internal reset signal to the device during power on and power off.
Up to three 8-bit I/O ports are implemented:
The primary function of the watchdog timer (WDT+) 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 disabled or configured as an interval timer and can generate interrupts at selected time intervals.
Timer0_A3 and Timer1_A3 are 16-bit timers/counters with three capture/compare registers. Timer_A3 can support multiple capture/compares, PWM outputs, and interval timing (see Table 6-12 and Table 6-13). Timer_A3 also 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 NAME | MODULE BLOCK | MODULE OUTPUT SIGNAL | OUTPUT PIN NUMBER | ||||
---|---|---|---|---|---|---|---|---|---|
PW20, N20 | PW28 | RHB32 | PW20, N20 | PW28 | RHB32 | ||||
P1.0-2 | P1.0-2 | P1.0-31 | TACLK | TACLK | Timer | NA | |||
ACLK | ACLK | ||||||||
SMCLK | SMCLK | ||||||||
PinOsc | PinOsc | PinOsc | TACLK | INCLK | |||||
P1.1-3 | P1.1-3 | P1.1-1 | TA0.0 | CCI0A | CCR0 | TA0 | P1.1-3 | P1.1-3 | P1.1-1 |
ACLK | CCI0B | P1.5-7 | P1.5-7 | P1.5-5 | |||||
VSS | GND | – | P3.4-15 | P3.4-14 | |||||
VCC | VCC | ||||||||
P1.2-4 | P1.2-4 | P1.2-2 | TA0.1 | CCI1A | CCR1 | TA1 | P1.2-4 | P1.2-4 | P1.2-2 |
CAOUT | CCI1B | P1.6-14 | P1.6-22 | P1.6-21 | |||||
VSS | GND | P2.6-19 | P2.6-27 | P2.6-26 | |||||
VCC | VCC | – | P3.5-19 | P3.5-18 | |||||
– | P3.0-9 | P3.0-7 | TA0.2 | CCI2A | CCR2 | TA2 | – | P3.0-9 | P3.0-7 |
PinOsc | PinOsc | PinOsc | TA0.2 | CCI2B | – | P3.6-20 | P3.6-19 | ||
VSS | GND | ||||||||
VCC | VCC |
INPUT PIN NUMBER | DEVICE INPUT SIGNAL | MODULE INPUT NAME | MODULE BLOCK | MODULE OUTPUT SIGNAL | OUTPUT PIN NUMBER | ||||
---|---|---|---|---|---|---|---|---|---|
PW20, N20 | PW28 | RHB32 | PW20, N20 | PW28 | RHB32 | ||||
– | P3.7-21 | P3.7-20 | TACLK | TACLK | Timer | NA | |||
ACLK | ACLK | ||||||||
SMCLK | SMCLK | ||||||||
– | P3.7-21 | P3.7-20 | TACLK | INCLK | |||||
P2.0-8 | P2.0-10 | P2.0-9 | TA1.0 | CCI0A | CCR0 | TA0 | P2.0-8 | P2.0-10 | P2.0-9 |
P2.3-11 | P2.3-16 | P2.3-12 | TA1.0 | CCI0B | P2.3-11 | P2.3-16 | P2.3-15 | ||
VSS | GND | P3.1-8 | P3.1-6 | ||||||
VCC | VCC | ||||||||
P2.1-9 | P2.1-11 | P2.1-10 | TA1.1 | CCI1A | CCR1 | TA1 | P2.1-9 | P2.1-11 | P2.1-10 |
P2.2-10 | P2.2-12 | P2.2-11 | TA1.1 | CCI1B | P2.2-10 | P2.2-12 | P2.2-11 | ||
VSS | GND | P3.2-13 | P3.2-12 | ||||||
VCC | VCC | ||||||||
P2.4-12 | P2.4-17 | P2.4-16 | TA1.2 | CCI2A | CCR2 | TA2 | P2.4-12 | P2.4-17 | P2.4-16 |
P2.5-13 | P2.5-18 | P2.5-17 | TA1.2 | CCI2B | P2.5-13 | P2.5-18 | P2.5-17 | ||
VSS | GND | P3.3-14 | P3.3-13 | ||||||
VCC | VCC |
The USCI module is used for serial data communication. The USCI module supports synchronous communication protocols such as SPI (3-pin or 4-pin) and I2C, and asynchronous communication protocols such as UART, enhanced UART with automatic baud rate detection (LIN), and IrDA. Not all packages support the USCI functionality.
USCI_A0 provides support for SPI (3-pin or 4-pin), UART, enhanced UART, and IrDA.
USCI_B0 provides support for SPI (3-pin or 4-pin) and I2C.
The ADC10 module supports fast 10-bit analog-to-digital conversions. The module implements a 10-bit SAR core, sample select control, reference generator, and data transfer controller (DTC) for automatic conversion result handling, allowing ADC samples to be converted and stored without any CPU intervention.
Table 6-14 lists the registers that support word access. Table 6-15 that support byte access.
MODULE | REGISTER DESCRIPTION | ACRONYM | OFFSET |
---|---|---|---|
ADC10 (MSP430G2x33 only) | ADC data transfer start address | ADC10SA | 1BCh |
ADC memory | ADC10MEM | 1B4h | |
ADC control register 1 | ADC10CTL1 | 1B2h | |
ADC control register 0 | ADC10CTL0 | 1B0h | |
Timer1_A3 | Capture/compare register | TA1CCR2 | 0196h |
Capture/compare register | TA1CCR1 | 0194h | |
Capture/compare register | TA1CCR0 | 0192h | |
Timer_A register | TA1R | 0190h | |
Capture/compare control | TA1CCTL2 | 0186h | |
Capture/compare control | TA1CCTL1 | 0184h | |
Capture/compare control | TA1CCTL0 | 0182h | |
Timer_A control | TA1CTL | 0180h | |
Timer_A interrupt vector | TA1IV | 011Eh | |
Timer0_A3 | Capture/compare register | TA0CCR2 | 0176h |
Capture/compare register | TA0CCR1 | 0174h | |
Capture/compare register | TA0CCR0 | 0172h | |
Timer_A register | TA0R | 0170h | |
Capture/compare control | TA0CCTL2 | 0166h | |
Capture/compare control | TA0CCTL1 | 0164h | |
Capture/compare control | TA0CCTL0 | 0162h | |
Timer_A control | TA0CTL | 0160h | |
Timer_A interrupt vector | TA0IV | 012Eh | |
Flash Memory | Flash control 3 | FCTL3 | 012Ch |
Flash control 2 | FCTL2 | 012Ah | |
Flash control 1 | FCTL1 | 0128h | |
Watchdog Timer+ | Watchdog timer control | WDTCTL | 0120h |
MODULE | REGISTER DESCRIPTION | ACRONYM | OFFSET |
---|---|---|---|
USCI_B0 | USCI_B0 transmit buffer | UCB0TXBUF | 06Fh |
USCI_B0 receive buffer | UCB0RXBUF | 06Eh | |
USCI_B0 status | UCB0STAT | 06Dh | |
USCI B0 I2C Interrupt enable | UCB0CIE | 06Ch | |
USCI_B0 bit rate control 1 | UCB0BR1 | 06Bh | |
USCI_B0 bit rate control 0 | UCB0BR0 | 06Ah | |
USCI_B0 control 1 | UCB0CTL1 | 069h | |
USCI_B0 control 0 | UCB0CTL0 | 068h | |
USCI_B0 I2C slave address | UCB0SA | 011Ah | |
USCI_B0 I2C own address | UCB0OA | 0118h | |
USCI_A0 | USCI_A0 transmit buffer | UCA0TXBUF | 067h |
USCI_A0 receive buffer | UCA0RXBUF | 066h | |
USCI_A0 status | UCA0STAT | 065h | |
USCI_A0 modulation control | UCA0MCTL | 064h | |
USCI_A0 baud rate control 1 | UCA0BR1 | 063h | |
USCI_A0 baud rate control 0 | UCA0BR0 | 062h | |
USCI_A0 control 1 | UCA0CTL1 | 061h | |
USCI_A0 control 0 | UCA0CTL0 | 060h | |
USCI_A0 IrDA receive control | UCA0IRRCTL | 05Fh | |
USCI_A0 IrDA transmit control | UCA0IRTCTL | 05Eh | |
USCI_A0 auto baud rate control | UCA0ABCTL | 05Dh | |
ADC10 (MSP430G2x33 only) | ADC analog enable 0 | ADC10AE0 | 04Ah |
ADC analog enable 1 | ADC10AE1 | 04Bh | |
ADC data transfer control register 1 | ADC10DTC1 | 049h | |
ADC data transfer control register 0 | ADC10DTC0 | 048h | |
Basic Clock System+ | Basic clock system control 3 | BCSCTL3 | 053h |
Basic clock system control 2 | BCSCTL2 | 058h | |
Basic clock system control 1 | BCSCTL1 | 057h | |
DCO clock frequency control | DCOCTL | 056h | |
Port P3 (28-pin PW and 32-pin RHB only) |
Port P3 selection 2. pin | P3SEL2 | 043h |
Port P3 resistor enable | P3REN | 010h | |
Port P3 selection | P3SEL | 01Bh | |
Port P3 direction | P3DIR | 01Ah | |
Port P3 output | P3OUT | 019h | |
Port P3 input | P3IN | 018h | |
Port P2 | Port P2 selection 2 | P2SEL2 | 042h |
Port P2 resistor enable | P2REN | 02Fh | |
Port P2 selection | P2SEL | 02Eh | |
Port P2 interrupt enable | P2IE | 02Dh | |
Port P2 interrupt edge select | P2IES | 02Ch | |
Port P2 interrupt flag | P2IFG | 02Bh | |
Port P2 direction | P2DIR | 02Ah | |
Port P2 output | P2OUT | 029h | |
Port P2 input | P2IN | 028h | |
Port P1 | Port P1 selection 2 | P1SEL2 | 041h |
Port P1 resistor enable | P1REN | 027h | |
Port P1 selection | P1SEL | 026h | |
Port P1 interrupt enable | P1IE | 025h | |
Port P1 interrupt edge select | P1IES | 024h | |
Port P1 interrupt flag | P1IFG | 023h | |
Port P1 direction | P1DIR | 022h | |
Port P1 output | P1OUT | 021h | |
Port P1 input | P1IN | 020h | |
Special Function | SFR interrupt flag 2 | IFG2 | 003h |
SFR interrupt flag 1 | IFG1 | 002h | |
SFR interrupt enable 2 | IE2 | 001h | |
SFR interrupt enable 1 | IE1 | 000h |
Figure 6-6 shows the port diagram. Table 6-16 summarizes the selection of the pin functions.
PIN NAME (P1.x) | x | FUNCTION | CONTROL BITS OR SIGNALS(1) | |||
---|---|---|---|---|---|---|
P1DIR.x | P1SEL.x | P1SEL2.x | ADC10AE.x (INCH.y = 1)(2) |
|||
P1.0/ | 0 | P1.x (I/O) | I: 0; O: 1 | 0 | 0 | 0 |
TA0CLK/ | TA0.TACLK | 0 | 1 | 0 | 0 | |
ACLK/ | ACLK | 1 | 1 | 0 | 0 | |
A0(2)/ | A0 | X | X | X | 1 (y = 0) | |
Pin Osc | Capacitive sensing | X | 0 | 1 | 0 | |
P1.1/ | 1 | P1.x (I/O) | I: 0; O: 1 | 0 | 0 | 0 |
TA0.0/ | TA0.0 | 1 | 1 | 0 | 0 | |
TA0.CCI0A | 0 | 1 | 0 | 0 | ||
UCA0RXD/ | UCA0RXD | from USCI | 1 | 1 | 0 | |
UCA0SOMI/ | UCA0SOMI | from USCI | 1 | 1 | 0 | |
A1(2)/ | A1 | X | X | X | 1 (y = 1) | |
Pin Osc | Capacitive sensing | X | 0 | 1 | 0 | |
P1.2/ | 2 | P1.x (I/O) | I: 0; O: 1 | 0 | 0 | 0 |
TA0.1/ | TA0.1 | 1 | 1 | 0 | 0 | |
TA0.CCI1A | 0 | 1 | 0 | 0 | ||
UCA0TXD/ | UCA0TXD | from USCI | 1 | 1 | 0 | |
UCA0SIMO/ | UCA0SIMO | from USCI | 1 | 1 | 0 | |
A2(2)/ | A2 | X | X | X | 1 (y = 2) | |
Pin Osc | Capacitive sensing | X | 0 | 1 | 0 |
Figure 6-7 shows the port diagram. Table 6-17 summarizes the selection of the pin functions.
PIN NAME (P1.x) | x | FUNCTION | CONTROL BITS OR SIGNALS(1) | |||
---|---|---|---|---|---|---|
P1DIR.x | P1SEL.x | P1SEL2.x | ADC10AE.x (INCH.y = 1)(2) |
|||
P1.3/ | 3 | P1.x (I/O) | I: 0; O: 1 | 0 | 0 | 0 |
ADC10CLK(2)/ | ADC10CLK | 1 | 1 | 0 | 0 | |
A3(2)/ | A3 | X | X | X | 1 (y = 3) | |
VREF-(2)/ | VREF- | X | X | X | 1 | |
VEREF-(2)/ | VEREF- | X | X | X | 1 | |
Pin Osc | Capacitive sensing | X | 0 | 1 | 0 |
Figure 6-8 shows the port diagram. Table 6-18 summarizes the selection of the pin functions.
PIN NAME (P1.x) | x | FUNCTION | CONTROL BITS OR SIGNALS(1) | ||||
---|---|---|---|---|---|---|---|
P1DIR.x | P1SEL.x | P1SEL2.x | ADC10AE.x (INCH.y = 1)(2) |
JTAG Mode | |||
P1.4/ | 4 | P1.x (I/O) | I: 0; O: 1 | 0 | 0 | 0 | 0 |
SMCLK/ | SMCLK | 1 | 1 | 0 | 0 | 0 | |
UCB0STE/ | UCB0STE(1)(2) | from USCI | 1 | 1 | 0 | 0 | |
UCA0CLK/ | UCA0CLK(1)(2) | from USCI | 1 | 1 | 0 | 0 | |
VREF+(2)/ | VREF+ | X | X | X | 1 | 0 | |
VEREF+(2)/ | VEREF+ | X | X | X | 1 | 0 | |
A4(2)/ | A4 | X | X | X | 1 (y = 4) | 0 | |
TCK/ | TCK | X | X | X | 0 | 1 | |
Pin Osc | Capacitive sensing | X | 0 | 1 | 0 | 0 |
Figure 6-9 shows the port diagram. Table 6-19 summarizes the selection of the pin functions.
PIN NAME (P1.x) | x | FUNCTION | CONTROL BITS OR SIGNALS(1) | ||||
---|---|---|---|---|---|---|---|
P1DIR.x | P1SEL.x | P1SEL2.x | ADC10AE.x (INCH.y = 1)(2) |
JTAG Mode | |||
P1.5/ | 5 | P1.x (I/O) | I: 0; O: 1 | 0 | 0 | 0 | 0 |
TA0.0/ | TA0.0 | 1 | 1 | 0 | 0 | 0 | |
UCB0CLK/ | UCB0CLK(1)(2) | from USCI | 1 | 1 | 0 | 0 | |
UCA0STE/ | UCA0STE(1)(2) | from USCI | 1 | 1 | 0 | 0 | |
A5(2)/ | A5 | X | X | X | 1 (y = 5) | 0 | |
TMS | TMS | X | X | X | 0 | 1 | |
Pin Osc | Capacitive sensing | X | 0 | 1 | 0 | 0 | |
P1.6/ | 6 | P1.x (I/O) | I: 0; O: 1 | 0 | 0 | 0 | 0 |
TA0.1/ | TA0.1 | 1 | 1 | 0 | 0 | 0 | |
UCB0SOMI/ | UCB0SOMI | from USCI | 1 | 1 | 0 | 0 | |
UCB0SCL/ | UCB0SCL | from USCI | 1 | 1 | 0 | 0 | |
A6(2)/ | A6 | X | X | X | 1 (y = 6) | 0 | |
TDI/TCLK/ | TDI/TCLK | X | X | X | 0 | 1 | |
Pin Osc | Capacitive sensing | X | 0 | 1 | 0 | 0 | |
P1.7/ | 7 | P1.x (I/O) | I: 0; O: 1 | 0 | 0 | 0 | 0 |
UCB0SIMO/ | UCB0SIMO | from USCI | 1 | 1 | 0 | 0 | |
UCB0SDA/ | UCB0SDA | from USCI | 1 | 1 | 0 | 0 | |
A7(2)/ | A7 | X | X | X | 1 (y = 7) | 0 | |
TDO/TDI/ | TDO/TDI | X | X | X | 0 | 1 | |
Pin Osc | Capacitive sensing | X | 0 | 1 | 0 | 0 |
Figure 6-10 shows the port diagram. Table 6-20 summarizes the selection of the pin functions.
PIN NAME (P2.x) | x | FUNCTION | CONTROL BITS OR SIGNALS(1) | ||
---|---|---|---|---|---|
P2DIR.x | P2SEL.x | P2SEL2.x | |||
P2.0/ | 0 | P2.x (I/O) | I: 0; O: 1 | 0 | 0 |
TA1.0/ | Timer1_A3.CCI0A | 0 | 1 | 0 | |
Timer1_A3.TA0 | 1 | 1 | 0 | ||
Pin Osc | Capacitive sensing | X | 0 | 1 | |
P2.1/ | 1 | P2.x (I/O) | I: 0; O: 1 | 0 | 0 |
TA1.1/ | Timer1_A3.CCI1A | 0 | 1 | 0 | |
Timer1_A3.TA1 | 1 | 1 | 0 | ||
Pin Osc | Capacitive sensing | X | 0 | 1 | |
P2.2/ | 2 | P2.x (I/O) | I: 0; O: 1 | 0 | 0 |
TA1.1/ | Timer1_A3.CCI1B | 0 | 1 | 0 | |
Timer1_A3.TA1 | 1 | 1 | 0 | ||
Pin Osc | Capacitive sensing | X | 0 | 1 | |
P2.3/ | 3 | P2.x (I/O) | I: 0; O: 1 | 0 | 0 |
TA1.0/ | Timer1_A3.CCI0B | 0 | 1 | 0 | |
Timer1_A3.TA0 | 1 | 1 | 0 | ||
Pin Osc | Capacitive sensing | X | 0 | 1 | |
P2.4/ | 4 | P2.x (I/O) | I: 0; O: 1 | 0 | 0 |
TA1.2/ | Timer1_A3.CCI2A | 0 | 1 | 0 | |
Timer1_A3.TA2 | 1 | 1 | 0 | ||
Pin Osc | Capacitive sensing | X | 0 | 1 | |
P2.5/ | 5 | P2.x (I/O) | I: 0; O: 1 | 0 | 0 |
TA1.2/ | Timer1_A3.CCI2B | 0 | 1 | 0 | |
Timer1_A3.TA2 | 1 | 1 | 0 | ||
Pin Osc | Capacitive sensing | X | 0 | 1 |
Figure 6-11 shows the port diagram. Table 6-21 summarizes the selection of the pin functions.
PIN NAME (P2.x) | x | FUNCTION | CONTROL BITS OR SIGNALS(1) | ||
---|---|---|---|---|---|
P2DIR.x | P2SEL.6 P2SEL.7 |
P2SEL2.6 P2SEL2.7 |
|||
XIN | 6 | XIN | 0 | 1 1 |
0 0 |
P2.6 | P2.x (I/O) | I: 0; O: 1 | 0 X |
0 0 |
|
TA0.1 | Timer0_A3.TA1 | 1 | 1 0 |
0 0 |
|
Pin Osc | Capacitive sensing | X | 0 X |
1 X |
Figure 6-12 shows the port diagram. Table 6-22 summarizes the selection of the pin functions.
PIN NAME (P2.x) | x | FUNCTION | CONTROL BITS OR SIGNALS(1) | ||
---|---|---|---|---|---|
P2DIR.x | P2SEL.6 P2SEL.7 |
P2SEL2.6 P2SEL2.7 |
|||
XOUT/ | 7 | XOUT | 1 | 1 1 |
0 0 |
P2.7/ | P2.x (I/O) | I: 0; O: 1 | 0 X |
0 0 |
|
Pin Osc | Capacitive sensing | X | 0 X |
1 X |
Figure 6-13 shows the port diagram. Table 6-23 summarizes the selection of the pin functions.
PIN NAME (P3.x) | x | FUNCTION | CONTROL BITS OR SIGNALS(1) | ||
---|---|---|---|---|---|
P3DIR.x | P3SEL.x | P3SEL2.x | |||
P3.0/ | 0 | P3.x (I/O) | I: 0; O: 1 | 0 | 0 |
TA0.2/ | Timer0_A3.CCI2A | 0 | 1 | 0 | |
Timer0_A3.TA2 | 1 | 1 | 0 | ||
Pin Osc | Capacitive sensing | X | 0 | 1 | |
P3.1/ | 1 | P3.x (I/O) | I: 0; O: 1 | 0 | 0 |
TA1.0/ | Timer1_A3.TA0 | 1 | 1 | 0 | |
Pin Osc | Capacitive sensing | X | 0 | 1 | |
P3.2/ | 2 | P3.x (I/O) | I: 0; O: 1 | 0 | 0 |
TA1.1/ | Timer1_A3.TA1 | 1 | 1 | 0 | |
Pin Osc | Capacitive sensing | X | 0 | 1 | |
P3.3/ | 3 | P3.x (I/O) | I: 0; O: 1 | 0 | 0 |
TA1.2/ | Timer1_A3.TA2 | 1 | 1 | 0 | |
Pin Osc | Capacitive sensing | X | 0 | 1 | |
P3.4/ | 4 | P3.x (I/O) | I: 0; O: 1 | 0 | 0 |
TA0.0/ | Timer0_A3.TA0 | 1 | 1 | 0 | |
Pin Osc | Capacitive sensing | X | 0 | 1 | |
P3.5/ | 5 | P3.x (I/O) | I: 0; O: 1 | 0 | 0 |
TA0.1/ | Timer0_A3.TA1 | 1 | 1 | 0 | |
Pin Osc | Capacitive sensing | X | 0 | 1 | |
P3.6/ | 6 | P3.x (I/O) | I: 0; O: 1 | 0 | 0 |
TA0.2/ | Timer0_A3.TA2 | 1 | 1 | 0 | |
Pin Osc | Capacitive sensing | X | 0 | 1 | |
P3.7/ | 7 | P3.x (I/O) | I: 0; O: 1 | 0 | 0 |
TA1CLK/ | Timer1_A3.TACLK | 0 | 1 | 0 | |
Pin Osc | Capacitive sensing | X | 0 | 1 |