Using the McBSP Pins for GPIO
9-3
General-Purpose I/O on the McBSP Pins
SPRU592E
Table 9
−
1. How To Use McBSP Pins for General-Purpose I/O
Pin
General Purpose Use
Enabled by This
Bit Combination
Selected as
Output When
…
Output Value
Driven From
This Bit
Selected As
Input When
…
Input Value
Read From
This Bit
CLKX
XRST = 0
XIOEN = 1
CLKXM = 1
CLKXP
CLKXM = 0
CLKXP
FSX
XRST = 0
XIOEN = 1
FSXM = 1
FSXP
FSXM = 0
FSXP
DX
XRST = 0
XIOEN = 1
Always
DXSTAT
Never
Does not apply
CLKR
RRST = 0
RIOEN = 1
CLKRM = 1
CLKRP
CLKRM = 0
CLKRP
FSR
RRST = 0
RIOEN = 1
FSRM = 1
FSRP
FSRM = 0
FSRP
DR
RRST = 0
RIOEN = 1
Never
Does not apply
Always
DRSTAT
CLKS
RRST = XRST = 0
RIOEN = XIOEN = 1
Never
Does not apply
Always
CLKSSTAT
Note:
When the McBSP pins are configured as general-purpose input pins,
CLKRP, CLKXP, CLKSP, FSRP, and FSXP are not write-protected. If written,
they contain the written value until they are next automatically updated with
the state of the associated pins. This behavior should be considered when
these bits are polled.
On the TMS320VC5503/5507/5509 and TMS320VC5510 devices, these
bits are updated on every occurrence of the CPU clock. On the
TMS320VC5501 and TMS320VC5502 devices, these bits are updated on
every occurrence of the slow peripherals clock.
Summary of Contents for TMS320VC5509
Page 5: ...vi This page is intentionally left blank ...
Page 43: ...McBSP Operation 2 20 SPRU592E This page is intentionally left blank ...
Page 105: ...SPI Operation Using the Clock Stop Mode 6 16 SPRU592E This page is intentionally left blank ...
Page 187: ...Transmitter Configuration 8 40 SPRU592E This page is intentionally left blank ...
Page 191: ...General Purpose I O on the McBSP Pins 9 4 SPRU592E This page is intentionally left blank ...
Page 201: ...Emulation Power and Reset Considerations 10 10 SPRU592E ...
Page 207: ...Data Packing Examples 11 6 SPRU592E This page is intentionally left blank ...
Page 273: ...McBSP Register Worksheet 13 14 SPRU592E This page is intentionally left blank ...