LM3S308 Luminary Micro, Inc, LM3S308 Datasheet - Page 261

no-image

LM3S308

Manufacturer Part Number
LM3S308
Description
Lm3s308 Arm Microcontroller
Manufacturer
Luminary Micro, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
LM3S308
Manufacturer:
DSP
Quantity:
648
Part Number:
LM3S308-EQN25-C2
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
LM3S308-EQN25-C2T
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
LM3S308-IGZ25-C2
Manufacturer:
AV
Quantity:
241
Company:
Part Number:
LM3S308-IGZ25-C2
Quantity:
982
Part Number:
LM3S308-IQN25
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
LM3S308-IQN25-C2
Manufacturer:
TI
Quantity:
202
Part Number:
LM3S308-IQN25-C2
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
LM3S308-IQN25-C2T
Manufacturer:
Texas Instruments
Quantity:
10 000
12.4
Table 12-1. UART Register Map
June 04, 2008
Offset
0x02C
0x03C
0xFD0
0xFD4
0xFD8
0x000
0x004
0x018
0x024
0x028
0x030
0x034
0x038
0x040
0x044
Name
UARTDR
UARTRSR/UARTECR
UARTFR
UARTIBRD
UARTFBRD
UARTLCRH
UARTCTL
UARTIFLS
UARTIM
UARTRIS
UARTMIS
UARTICR
UARTPeriphID4
UARTPeriphID5
UARTPeriphID6
UARTFBRD[DIVFRAC] = integer(0.8507 * 64 + 0.5) = 54
With the BRD values in hand, the UART configuration is written to the module in the following order:
1.
2.
3.
4.
5.
Register Map
Table 12-1 on page 261 lists the UART registers. The offset listed is a hexadecimal increment to the
register’s address, relative to that UART’s base address:
Note:
UART0: 0x4000.C000
UART1: 0x4000.D000
Disable the UART by clearing the UARTEN bit in the UARTCTL register.
Write the integer portion of the BRD to the UARTIBRD register.
Write the fractional portion of the BRD to the UARTFBRD register.
Write the desired serial parameters to the UARTLCRH register (in this case, a value of
0x0000.0060).
Enable the UART by setting the UARTEN bit in the UARTCTL register.
The UART must be disabled (see the UARTEN bit in the UARTCTL register on page 273)
before any of the control registers are reprogrammed. When the UART is disabled during
a TX or RX operation, the current transaction is completed prior to the UART stopping.
Type
W1C
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
RO
RO
RO
RO
RO
RO
0x0000.0000
0x0000.0000
0x0000.0090
0x0000.0000
0x0000.0000
0x0000.0000
0x0000.0300
0x0000.0012
0x0000.0000
0x0000.000F
0x0000.0000
0x0000.0000
0x0000.0000
0x0000.0000
0x0000.0000
Reset
Preliminary
Description
UART Data
UART Receive Status/Error Clear
UART Flag
UART Integer Baud-Rate Divisor
UART Fractional Baud-Rate Divisor
UART Line Control
UART Control
UART Interrupt FIFO Level Select
UART Interrupt Mask
UART Raw Interrupt Status
UART Masked Interrupt Status
UART Interrupt Clear
UART Peripheral Identification 4
UART Peripheral Identification 5
UART Peripheral Identification 6
LM3S308 Microcontroller
page
See
263
265
267
269
270
271
273
275
277
279
280
281
283
284
285
261

Related parts for LM3S308