LM3S1138 Luminary Micro, Inc, LM3S1138 Datasheet - Page 52
![no-image](/images/no-image-200.jpg)
LM3S1138
Manufacturer Part Number
LM3S1138
Description
Lm3s1138 Arm Microcontroller
Manufacturer
Luminary Micro, Inc
Datasheet
1.LM3S1138.pdf
(491 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
LM3S1138-EQC50-A2
Manufacturer:
Texas Instruments
Quantity:
10 000
Company:
Part Number:
LM3S1138-EQC50-A2T
Manufacturer:
Texas Instruments
Quantity:
10 000
Company:
Part Number:
LM3S1138-IBZ50-A2
Manufacturer:
Texas Instruments
Quantity:
10 000
Company:
Part Number:
LM3S1138-IBZ50-A2T
Manufacturer:
Texas Instruments
Quantity:
10 000
Company:
Part Number:
LM3S1138-IQC50
Manufacturer:
Texas Instruments
Quantity:
10 000
Company:
Part Number:
LM3S1138-IQC50-A2
Manufacturer:
Texas Instruments
Quantity:
135
Part Number:
LM3S1138-IQC50-A2
Manufacturer:
TI/德州仪器
Quantity:
20 000
Part Number:
LM3S1138-IQC50-A2T
Manufacturer:
TI/德州仪器
Quantity:
20 000
- Current page: 52 of 491
- Download datasheet (6Mb)
JTAG Interface
5.2.4.1
52
GPIO Functionality
When the controller is reset with either a POR or RST, the JTAG/SWD port pins default to their
JTAG/SWD configurations. The default configuration includes enabling digital functionality (setting
GPIODEN to 1), enabling the pull-up resistors (setting GPIOPUR to 1), and enabling the alternate
hardware function (setting GPIOAFSEL to 1) for the PB7 and PC[3:0] JTAG/SWD pins.
It is possible for software to configure these pins as GPIOs after reset by writing 0s to PB7 and
PC[3:0] in the GPIOAFSEL register. If the user does not require the JTAG/SWD port for debugging
or board-level testing, this provides five more GPIOs for use in the design.
Caution – It is possible to create a software sequence that prevents the debugger from connecting to
the Stellaris
pins to their GPIO functionality, the debugger may not have enough time to connect and halt the
controller before the JTAG pin functionality switches. This may lock the debugger out of the part. This
can be avoided with a software routine that restores JTAG functionality based on an external or software
trigger.
The commit control registers provide a layer of protection against accidental programming of critical
hardware peripherals. Writes to protected bits of the GPIO Alternate Function Select (GPIOAFSEL)
register (see page 181) are not committed to storage unless the GPIO Lock (GPIOLOCK) register
(see page 191) has been unlocked and the appropriate bits of the GPIO Commit (GPIOCR) register
(see page 192) have been set to 1.
Recovering a "Locked" Device
Note:
If software configures any of the JTAG/SWD pins as GPIO and loses the ability to communicate
with the debugger, there is a debug sequence that can be used to recover the device. Performing
a total of ten JTAG-to-SWD and SWD-to-JTAG switch sequences while holding the device in reset
mass erases the flash memory. The sequence to recover the device is:
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
Assert and hold the RST signal.
Perform the JTAG-to-SWD switch sequence.
Perform the SWD-to-JTAG switch sequence.
Perform the JTAG-to-SWD switch sequence.
Perform the SWD-to-JTAG switch sequence.
Perform the JTAG-to-SWD switch sequence.
Perform the SWD-to-JTAG switch sequence.
Perform the JTAG-to-SWD switch sequence.
Perform the SWD-to-JTAG switch sequence.
Perform the JTAG-to-SWD switch sequence.
Perform the SWD-to-JTAG switch sequence.
Performing the below sequence will cause the nonvolatile registers discussed in “Nonvolatile
Register Programming” on page 143 to be restored to their factory default values. The mass
erase of the flash memory caused by the below sequence occurs prior to the nonvolatile
registers being restored.
®
microcontroller. If the program code loaded into flash immediately changes the JTAG
Preliminary
July 26, 2008
Related parts for LM3S1138
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:
![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:
![LM3S1439](/images/no-image3.png)
Part Number:
Description:
Lm3s1439 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet: