
EZ-USB FX2 Technical Reference Manual
Page 13-8 EZ-USB FX2 Technical Reference Manual v2.1
13.3.2 Port B and Port D Alternate Functions
When IFCFG1 = 1, all eight Port B pins are configured for an alternate configuration (FIFO Data
7:0).
If any of the FIFOs are set to 16-bit mode (via the WORDWIDE bits in the EPxFIFOCFG regis-
ters), all eight Port D pins are also configured for an alternate configuration (FIFO Data 15:8). See
Tables 13-3, 13-4, and 13-5.
If all WORDWIDE bits are cleared to 0 (i.e., if all four FIFOs are operating in 8-bit mode), the eight
Port D pins may be used as general-purpose I/O pins even if IFCFG1 = 1.
Table 13-3. Register Bits Which Select Port B and Port D Alternate Functions
b7 b6 b5 b4 b3 b2 b1 b0
IFCONFIG
(0xE601)
IFCLKSRC 3048MHZ IFCLKOE IFCLKPOL ASYNC GSTATE
IFCFG1
IFCFG0
EP2FIFOCFG
(0xE618)
0 INFM2 OEP2 AUTOOUT AUTOIN ZEROLENIN 0
WORDWIDE
EP4FIFOCFG
(0xE619)
0 INFM4 OEP4 AUTOOUT AUTOIN ZEROLENIN 0
WORDWIDE
EP6FIFOCFG
(0xE61A)
0 INFM6 OEP6 AUTOOUT AUTOIN ZEROLENIN 0
WORDWIDE
EP8FIFOCFG
(0xE61B)
0 INFM8 OEP8 AUTOOUT AUTOIN ZEROLENIN 0
WORDWIDE
Table 13-4. Port B Alternate-Function Configuration
Port B Pin
Alternate
Function
Alternate Function
is Selected By...
Alternate Function
is Described in...
PB.7:0 FD[7:0] IFCFG1 = 1 Chapter 9
Table 13-5. Port D Alternate-Function Configuration
Port D Pin
Alternate
Function
Alternate Function
is Selected By...
Alternate Function
is Described in...
PD.7:0 FD[15:8] IFCFG1 = 1 and
any WORDWIIDE bit = 1
Chapter 9
Comentarios a estos manuales