LM3S1439 Luminary Micro, Inc, LM3S1439 Datasheet - Page 208
![no-image](/images/no-image-200.jpg)
LM3S1439
Manufacturer Part Number
LM3S1439
Description
Lm3s1439 Arm Microcontroller
Manufacturer
Luminary Micro, Inc
Datasheet
1.LM3S1439.pdf
(544 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
LM3S1439-EQC50-A2
Manufacturer:
Texas Instruments
Quantity:
10 000
Company:
Part Number:
LM3S1439-EQC50-A2T
Manufacturer:
Texas Instruments
Quantity:
10 000
Company:
Part Number:
LM3S1439-IBZ50-A2
Manufacturer:
Texas Instruments
Quantity:
10 000
Company:
Part Number:
LM3S1439-IBZ50-A2T
Manufacturer:
Texas Instruments
Quantity:
10 000
Company:
Part Number:
LM3S1439-IQC50-A2
Manufacturer:
Texas Instruments
Quantity:
135
Company:
Part Number:
LM3S1439-IQC50-A2T
Manufacturer:
Texas Instruments
Quantity:
10 000
- Current page: 208 of 544
- Download datasheet (6Mb)
General-Purpose Timers
10.2.2.2 32-Bit Real-Time Clock Timer Mode
10.2.3
10.2.3.1 16-Bit One-Shot/Periodic Timer Mode
208
In Real-Time Clock (RTC) mode, the concatenated versions of the TimerA and TimerB registers
are configured as a 32-bit up-counter. When RTC mode is selected for the first time, the counter is
loaded with a value of 0x0000.0001. All subsequent load values must be written to the GPTM TimerA
Match (GPTMTAMATCHR) register (see page 233) by the controller.
The input clock on the CCP0, CCP2, or CCP4 pins is required to be 32.768 KHz in RTC mode. The
clock signal is then divided down to a 1 Hz rate and is passed along to the input of the 32-bit counter.
When software writes the TAEN bit inthe GPTMCTL register, the counter starts counting up from its
preloaded value of 0x0000.0001. When the current count value matches the preloaded value in the
GPTMTAMATCHR register, it rolls over to a value of 0x0000.0000 and continues counting until
either a hardware reset, or it is disabled by software (clearing the TAEN bit). When a match occurs,
the GPTM asserts the RTCRIS bit in GPTMRIS. If the RTC interrupt is enabled in GPTIMR, the
GPTM also sets the RTCMIS bit in GPTMISR and generates a controller interrupt. The status flags
are cleared by writing the RTCCINT bit in GPTMICR.
If the TASTALL and/or TBSTALL bits in the GPTMCTL register are set, the timer does not freeze if
the RTCEN bit is set in GPTMCTL.
16-Bit Timer Operating Modes
The GPTM is placed into global 16-bit mode by writing a value of 0x4 to the GPTM Configuration
(GPTMCFG) register (see page 217). This section describes each of the GPTM 16-bit modes of
operation. TimerA and TimerB have identical modes, so a single description is given using an n to
reference both.
In 16-bit one-shot and periodic timer modes, the timer is configured as a 16-bit down-counter with
an optional 8-bit prescaler that effectively extends the counting range of the timer to 24 bits. The
selection of one-shot or periodic mode is determined by the value written to the TnMR field of the
GPTMTnMR register. The optional prescaler is loaded into the GPTM Timern Prescale (GPTMTnPR)
register.
When software writes the TnEN bit in the GPTMCTL register, the timer begins counting down from
its preloaded value. Once the 0x0000 state is reached, the timer reloads its start value from
GPTMTnILR and GPTMTnPR on the next cycle. If configured to be a one-shot timer, the timer stops
counting and clears the TnEN bit in the GPTMCTL register. If configured as a periodic timer, it
continues counting.
In addition to reloading the count value, the timer generates interrupts and triggers when it reaches
the 0x0000 state. The GPTM sets the TnTORIS bit in the GPTMRIS register, and holds it until it is
cleared by writing the GPTMICR register. If the time-out interrupt is enabled in GPTIMR, the GPTM
also sets the TnTOMIS bit in GPTMISR and generates a controller interrupt. The trigger is enabled
by setting the TnOTE bit in the GPTMCTL register, and can trigger SoC-level events such as ADC
conversions.
If software reloads the GPTMTAILR register while the counter is running, the counter loads the new
value on the next clock cycle and continues counting from the new value.
If the TnSTALL bit in the GPTMCTL register is enabled, the timer freezes counting until the signal
is deasserted.
The following example shows a variety of configurations for a 16-bit free running timer while using
the prescaler. All values assume a 50-MHz clock with Tc=20 ns (clock period).
Preliminary
July 25, 2008
Related parts for LM3S1439
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![LM3-100K-TR](/images/no-image3.png)
Part Number:
Description:
Inductor: Molded: 10u: 10%: 30M: 7.9: 440m: Axial: T/R
Manufacturer:
Inductor Supply, Inc.
![LM3-R15](/images/no-image3.png)
Part Number:
Description:
Molded Inductor
Manufacturer:
Inductor Supply, Inc.
Datasheet:
![LM3-PWN1-01-N1](/images/no-image3.png)
Part Number:
Description:
Cree Smd Led
Manufacturer:
Cree, Inc.
Datasheet:
![LM3-PBL1-01-N1](/images/no-image3.png)
Part Number:
Description:
Cree Smd Led
Manufacturer:
Cree, Inc.
Datasheet:
![LM3-EWN1-01-N1-MT](/images/no-image3.png)
Part Number:
Description:
Specification For Cotco Led Lamp
Manufacturer:
Marktech Optoelectronics
Datasheet:
![LM3S1110](/images/no-image3.png)
Part Number:
Description:
Lm3s1110 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
![LM3S1133](/images/no-image3.png)
Part Number:
Description:
Lm3s1133 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
![LM3S1138](/images/no-image3.png)
Part Number:
Description:
Lm3s1138 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
![LM3S1150](/images/no-image3.png)
Part Number:
Description:
Lm3s1150 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
![LM3S1162](/images/no-image3.png)
Part Number:
Description:
Lm3s1162 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
![LM3S1165](/images/no-image3.png)
Part Number:
Description:
Lm3s1165 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
![LM3S1332](/images/no-image3.png)
Part Number:
Description:
Lm3s1332 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
![LM3S1435](/images/no-image3.png)
Part Number:
Description:
Lm3s1435 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet: