鈥?/div>
Setting the state of DDLY. A 1 programs a one CSCLK clock delay on the data output and data input
signals with reference to the leading edge of CSYNC. A 0 removes the delay.
Setting the state of TRSEN. A 1 sets the C-port output to the high-impedance state for those time
slots that have no valid data.
Setting the state of CSCLKP. A 1 programs the C-port to be CSCLK falling edge active (CDATO and
CSYNC transition on falling edge of CSCLK and DATI is sampled on rising edge of CSCLK). A 0
results in activity on the opposite edges of CSCLK.
Setting the state of CSYNCP. A 1 programs CSYNC to be active high. A 0 programs CSYNC to be
active low.
Setting the state of CSYNCL. A 1 programs the length of CSYNC to be the same number of CSCLK
cycles as time slot 0. A 0 programs CSYNC to be one CSCLK cycle in length.
Setting the state of BYOR. A 1 results in the DMA reversing the byte order in moving data to/from the
endpoint buffer.
Setting the state of CSCLKD. A 1 sets the CSCLK port as an input port (TAS1020A receives
CSCLK). A 0 sets the CSCLK port as an output port (TAS1020A sources CSCLK).
Setting the state of CSYNCD. A 1 sets the CSYNC port as an input port (TAS1020A receives
CSYNC). A 0 sets the CSYNC port as an output port (TAS1020A sources CSYNC).
3. The MCU configures the C-port. This entails:
鈥?/div>
鈥?/div>
鈥?/div>
鈥?/div>
鈥?/div>
鈥?/div>
鈥?/div>
鈥?/div>
鈥?/div>
Programming register CPTCNF4, which consists of:
鈥?/div>
鈥?/div>
Specifying the 4-Bit field ATSL. This field defines which time slot is to be used for secondary
communication (command/status) address and data.
Setting the state of CPTBLK. When DMA is to be used to transport USB bulk transfers to external
devices via the C-port, the C-port must be placed in either a general-purpose mode or an AC97
mode, and CPTBLK must be set to one. When the C-port is placed in the general-purpose mode, a
state of 1 for CPTBLK results in CSYNC only being present when valid data is present in the current
2鈥?1
prev
next