English
Language : 

TMS320LF2407A_14 Datasheet, PDF (63/134 Pages) Texas Instruments – DSP CONTROLLERS
TMS320LF2407A, TMS320LF2406A, TMS320LF2403A, TMS320LF2402A
TMS320LC2406A, TMS320LC2404A, TMS320LC2403A, TMS320LC2402A
DSP CONTROLLERS
SPRS145L − JULY 2000 − REVISED SEPTEMBER 2007
description of shared I/O pins (continued)
Table 12. Shared Pin Configurations† (Continued)
PIN FUNCTION SELECTED
(MCRx.n = 1)
Primary Function
(MCRX.N = 0)
I/O
MUX
CONTROL
REGISTER
(name.bit #)
MUX CONTROL
VALUE AT RESET
(MCRx.n)
I/O PORT DATA AND DIRECTION‡
REGISTER DATA BIT NO.§ DIR BIT NO.¶
PORT E
CLKOUT
IOPE0
MCRC.0
1
PEDATDIR
0
8
PWM7
IOPE1
MCRC.1
0
PEDATDIR
1
9
PWM8
IOPE2
MCRC.2
0
PEDATDIR
2
10
PWM9
IOPE3
MCRC.3
0
PEDATDIR
3
11
PWM10
IOPE4
MCRC.4
0
PEDATDIR
4
12
PWM11
IOPE5
MCRC.5
0
PEDATDIR
5
13
PWM12
IOPE6
MCRC.6
0
PEDATDIR
6
14
CAP4/QEP3
IOPE7
MCRC.7
0
PEDATDIR
7
15
PORT F
CAP5/QEP4
IOPF0
MCRC.8
0
PFDATDIR
0
8
CAP6
IOPF1
MCRC.9
0
PFDATDIR
1
9
T3PWM/T3CMP
IOPF2
MCRC.10
0
PFDATDIR
2
10
T4PWM/T4CMP
IOPF3
MCRC.11
0
PFDATDIR
3
11
TDIRB
IOPF4
MCRC.12
0
PFDATDIR
4
12
TCLKINB
IOPF5
MCRC.13
0
PFDATDIR
5
13
† Bold, italicized pin names indicate pin functions at reset.
‡ Valid only if the I/O function is selected on the pin
§ If the GPIO pin is configured as an output, these bits can be written to. If the pin is configured as an input, these bits are read from.
¶ If the DIR bit is 0, the GPIO pin functions as an input. For a value of 1, the pin is configured as an output.
# At reset, all LF240xA devices come up with the W/R/IOPC0 pin in W/R mode. On devices that lack an external memory interface (e.g., LF2406A),
W/R mode is not functional and MCRB.0 must be set to a 0 if the IOPC0 pin is to be used. The XMIF Hi-Z control bit (bit 4 of the SCSR2 register)
is reserved in these devices and must be written with a zero.
|| Bits 15 through 9 of the MCRB register must be written as 1 only. Writing a 0 to any of these bits will cause unpredictable operation of the device.
digital I/O control registers
Table 13 lists the registers available in the digital I/O module. As with other 240xA peripherals, these registers
are memory-mapped to the data space.
ADDRESS
7090h
7092h
7094h
7095h
7096h
7098h
709Ah
709Ch
709Eh
Table 13. Addresses of Digital I/O Control Registers
REGISTER
MCRA
MCRB
MCRC
PEDATDIR
PFDATDIR
PADATDIR
PBDATDIR
PCDATDIR
PDDATDIR
NAME
I/O MUX control register A
I/O mux control register B
I/O mux control register C
I/O port E data and direction register
I/O port F data and direction register
I/O port A data and direction register
I/O port B data and direction register
I/O port C data and direction register
I/O port D data and direction register
• POST OFFICE BOX 1443 HOUSTON, TEXAS 77251−1443
63