Texas Instruments MSP430x11x1 warranty TimerA 3 capture/compare registers

Page 21

MSP430x11x1

MIXED SIGNAL MICROCONTROLLER

SLAS241C ± SEPTEMBER 1999 ± REVISED JUNE 2000

Timer_A (3 capture/compare registers) (continued)

 

 

32 kHz to 8 MHz

Data

 

16-Bit Timer

 

 

 

 

 

SSEL1

SSEL0

 

Timer Clock

 

 

 

 

 

 

 

 

 

P1.0

0

 

 

15

0

 

 

TACLK

1

 

 

 

 

 

 

ACLK

Input

 

 

16-Bit Timer

Mode

 

2

 

 

 

SMCLK

Divider

CLK

Control

Equ0

 

 

RC

3

 

 

 

 

P2.1

 

 

 

 

 

 

INCLK

 

 

 

 

 

 

 

ID1

ID0

Carry/Zero

Set_TAIFG

POR/CLR

MC1 MC0

 

 

 

 

 

Timer Bus

15

0

Capture/Compare Register CCR0

CCIS01

CCIS00

 

 

OM02

OM01

OM00

 

Capture

 

Capture/Compare

P1.1

0

 

 

 

 

Out 0

 

 

 

 

 

CCI0A

1

 

 

 

Register CCR0

 

 

P1.1

P2.2

 

 

 

 

 

Capture

 

 

 

 

P1.5

CCI0B

2

15

0

 

 

GND

Mode

Output Unit 0

3

 

 

 

 

 

 

 

 

Comparator 0

 

 

 

VCC

 

 

 

 

 

 

 

 

 

 

 

EQU0

 

 

 

 

 

 

 

 

 

 

 

CCI0

CCM01

CCM00

 

 

 

 

 

 

 

 

 

15

0

Capture/Compare Register CCR1

CCIS11

CCIS10

 

 

OM12

OM11

OM10

 

Capture

 

Capture/Compare

P1.2

0

 

 

 

 

Out 1

 

 

 

 

 

CCI1A

1

 

 

 

Register CCR1

 

 

P1.2

CAOUT

Capture

 

 

 

 

P1.6

CCI1B

2

15

0

 

 

GND

Mode

Output Unit 1

3

 

Comparator 1

 

 

P2.3

VCC

 

 

 

 

 

 

 

 

 

 

 

EQU1

 

 

 

 

 

 

 

 

 

 

 

CCI1

CCM11

CCM10

 

 

 

 

 

 

 

 

 

15

0

Capture/Compare Register CCR2

CCIS21

CCIS20

 

 

OM22

OM21

OM20

 

Capture

 

Capture/Compare

P1.3

0

 

 

 

 

Out 2

 

 

 

 

 

CCI2A

1

 

 

 

Register CCR2

 

 

P1.3

ACLK

Capture

 

 

 

 

P1.7

CCI2B

2

15

0

 

 

GND

Mode

Output Unit 2

3

 

Comparator 2

 

 

P2.4

VCC

 

 

 

 

 

 

 

 

 

 

 

EQU2

 

 

 

 

 

 

 

 

 

 

 

CCI2

CCM21

CCM20

 

 

 

 

 

Figure 4. Timer_A, MSP430x11x1 Configuration

Two interrupt vectors are used by the Timer_A module. One individual vector is assigned to capture/compare block CCR0, and one common interrupt vector is implemented for the timer and the other two capture/compare blocks. The three interrupt events using the same vector are identified by an individual interrupt vector word. The interrupt vector word is used to add an offset to the program counter to continue the interrupt handler software at the corresponding program location. This simplifies the interrupt handler and gives each interrupt event the same overhead of 5 cycles in the interrupt handler.

UART

Serial communication is implemented by using software and one capture/compare block. The hardware supports the output of the serial-data stream, bit by bit, with the timing determined by the comparator/timer. The data input uses the capture feature. The capture flag finds the start of a character, while the compare feature latches the input-data stream, bit by bit. The software/hardware interface connects the mixed-signal controller to external devices, systems, or networks.

POST OFFICE BOX 655303 DALLAS, TEXAS 75265

21

Image 21
Contents MSP430x11x1 DescriptionTssop Available Options Packaged Devices Functional block diagramPIN Sowb PIN Tssop Pulldown resistor of 30 k Ω is needed on F11x1Short-form description Terminal FunctionsProcessing unit Terminal Description NameCPU Address Mode DescriptionsInstruction set Instruction Word FormatsOperation modes and interrupts Low-power consumption capabilitiesSCG1 Status register R2SCG0 SCG1 SCG0Caifg Interrupt vector addressesWdtifg CCIFG1, CCIFG2, TaifgWdtifg Special function registersOfifg NmiifgBoot ROM containing bootstrap loader Functions of the bootstrap loaderMemory organization Hardware resources used for serial input/output Features of the bootstrap loader areWDT VCC RST/NMI PIN Test PINVCC Bootstrap loader StartsTest InternalFlash memory control register FCTL1 Flash memoryFlash memory, timing generator, control register FCTL2 Erase 0128h, bit1, Erase a segmentWRT FN0±FN5 Flash memory control register FCTL3SSEL0, SSEL1 AclkKeyv BusyAccvifg WaitFlash memory, interrupt and security key violation LockEmex PUC AccvPOR NmirsOscillator and system clock PeripheralsDigital I/O Clock SignalsTimerA Three capture/compare registers Watchdog timerTimerA, MSP430x11x1 Configuration TimerA 3 capture/compare registersComparatorA CAF CaoutCACTL2.4 CATCTL2.7CACTL1 Slope a/d conversionCaex Caon Caies Caifg Rsel REF1 REF0 CACTL2Peripherals with Word Access Peripherals with Byte AccessPeripheral file map Absolute maximum ratings² Recommended operating conditionsMIN NOM MAX Units Frequency vs Supply Voltage MSP430x11x1 DevicesIAM Parameter Test Conditions MIN TYP MAX UnitILPM2 ILPM3Leakage current Outputs Port 1 to P2 P1.0 to P1.7, P2.0 to P2.5Inputs Px.x, TAx Internal signals TAx, Smclk at TimerAParameter Test Conditions VCC MIN TYP MAX Unit Port P1, P2 P1.x to P2.xComparatorA see Note Outputs P1.x, P2.x, TAxVRefVT vs Temperature, VCC = 2.2 V, C1121 VRefVT vs Temperature, VCC = 3 V, C1121CAF Caon PUC/PORParameter MIN NOM MAX Unit RAMVariance Max DCODcoclk DCO StepsPrinciple characteristics of the DCO Wake-up from lower power modes LPMxJTAG/programming Input/output schematic Port P1, P1.0 to P1.3, input/output with Schmitt-triggerGND P1IFG.4 P1IES.4 P1DIR.4 P1OUT.4 SmclkP1DIR.5 P1OUT.5 P1IFG.5 P1IES.5CAPD.X Port P2, P2.0 to P2.2, input/output with Schmitt-triggerP2DIR.3 P2OUT.3 Port P2, P2.3 to P2.4, input/output with Schmitt-triggerP2IFG.3 P1IES.3 P2DIR.4 P2OUT.4P2DIR.5 P2SEL.5 VCCP2OUT.5 P2IRQ.5Port P2, unbonded bits P2.6 and P2.7 DW R-PDSO-G Pins DIM MAXPlastic SMALL-OUTLINE Package PIN ShownPins DIM MAX MIN Pins ShownPW R-PDSO-G Plastic SMALL-OUTLINE Package 15 NOM Gage Plane Seating Plane 20 MAXImportant Notice