C8051F120/1/2/3/4/5/6/7 C8051F130/1/2/3
18.1.6. External Memory Interface Pin Assignments
If the External Memory Interface (EMIF) is enabled on the Low ports (Ports 0 through 3), EMIFLE (XBR2.5)
should be set to a logic 1 so that the Crossbar will not assign peripherals to P0.7 (/WR), P0.6 (/RD), and if
the External Memory Interface is in Multiplexed mode, P0.5 (ALE). Figure 18.4 shows an example Cross-
bar Decode Table with EMIFLE=1 and the EMIF in Multiplexed mode. Figure 18.5 shows an example
Crossbar Decode Table with EMIFLE=1 and the EMIF in Non-multiplexed mode.
If the External Memory Interface is enabled on the Low ports and an off-chip MOVX operation occurs, the
External Memory Interface will control the output states of the affected Port pins during the execution
phase of the MOVX instruction, regardless of the settings of the Crossbar registers or the Port Data regis-
ters. The output configuration of the Port pins is not affected by the EMIF operation, except that Read
operations will explicitly disable the output drivers on the Data Bus. See
ory Interface and On-Chip XRAM" on page 219
face.
P0
PIN I/O 0
1
2
3
4
5
6
TX0
●
●
RX0
●
●
SCK
●
●
MISO
●
●
MOSI
NSS
●
SDA
●
● ● ●
SCL
●
● ●
●
● ● ●
TX1
●
● ●
RX1
●
● ● ●
CEX0
●
● ●
CEX1
CEX2
●
●
CEX3
●
CEX4
●
CEX5
● ● ● ● ●
ECI
● ● ● ● ●
CP0
● ● ● ● ●
CP1
T0
● ● ● ● ●
/INT0
● ● ● ● ●
T1
● ● ● ● ●
/INT1
● ● ● ● ●
● ● ● ● ●
T2
● ● ● ● ●
T2EX
● ● ● ● ●
T4
● ● ● ● ●
T4EX
/SYSCLK
● ● ● ● ●
CNVSTR0
● ● ● ● ●
CNVSTR2
● ● ● ● ●
Figure 18.4. Priority Crossbar Decode Table (EMIFLE = 1; EMIF in Multiplexed
for more information about the External Memory Inter-
P1
7
0
1
2
3
4
5
6
7
0
1
●
NSS is not assigned to a port pin when the SPI is placed in 3-wire mode
● ●
● ● ●
● ● ● ●
● ● ● ● ●
● ● ● ● ● ●
● ● ● ● ● ● ●
● ● ● ● ● ● ● ●
● ● ● ● ● ● ● ●
●
● ● ● ● ● ● ●
● ●
●
● ● ● ● ● ●
● ● ●
● ● ● ● ● ● ● ●
● ● ● ●
● ● ● ● ● ● ● ●
● ● ● ● ●
● ● ● ● ● ● ● ●
● ● ● ● ● ●
● ● ● ● ● ● ● ●
● ● ● ● ● ● ●
● ● ● ● ● ● ● ●
● ● ● ● ● ● ● ●
● ● ● ● ● ● ● ●
● ● ● ● ● ● ● ● ●
● ● ● ● ● ● ● ●
● ● ● ● ● ● ● ● ● ●
● ● ● ● ● ● ● ●
● ● ● ● ● ● ● ● ● ● ●
● ● ● ● ● ● ● ●
● ● ● ● ● ● ● ● ● ● ● ●
● ● ● ● ● ● ● ●
● ● ● ● ● ● ● ● ● ● ● ● ●
● ● ● ● ● ● ● ●
● ● ● ● ● ● ● ● ● ● ● ● ● ●
● ● ● ● ● ● ● ●
● ● ● ● ● ● ● ● ● ● ● ● ● ● ●
● ● ● ● ● ● ● ●
● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ●
● ● ● ● ● ● ● ●
● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ●
AIN2 Inputs/Non-muxed Addr H
Muxed Addr H/Non-muxed Addr L
Mode; P1MDIN = 0xFF)
Section "17. External Data Mem-
P2
P3
2
3
4
5
6
7
0
1
2
3
Muxed Data/Non-muxed Data
Rev. 1.4
Crossbar Register Bits
4
5
6
7
UART0EN:
XBR0.2
SPI0EN:
XBR0.1
SMB0EN:
XBR0.0
UART1EN:
XBR2.2
PCA0ME:
XBR0.[5:3]
ECI0E: XBR0.6
CP0E: XBR0.7
CP1E: XBR1.0
T0E: XBR1.1
INT0E: XBR1.2
T1E: XBR1.3
INT1E: XBR1.4
T2E: XBR1.5
T2EXE: XBR1.6
T4E: XBR2.3
T4EXE: XBR2.4
SYSCKE: XBR1.7
CNVSTE0: XBR2.0
CNVSTE2: XBR2.5
241
Need help?
Do you have a question about the C8051F12 Series and is the answer not in the manual?
Questions and answers