Electronic Components Datasheet Search
  English  ▼

X  

CP3UB17 Datasheet(PDF) 89 Page - National Semiconductor (TI)

[Old version datasheet] Texas Instruments acquired National semiconductor.
Part # CP3UB17
Description  CP3UB17 Reprogrammable Connectivity Processor with USB Interface
PDF  200 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  NSC [National Semiconductor (TI)]
Direct Link  http://www.national.com
Logo NSC - National Semiconductor (TI)

CP3UB17 Datasheet(HTML) 89 Page - National Semiconductor (TI)

Back Button CP3UB17 Datasheet HTML 85Page - National Semiconductor (TI) CP3UB17 Datasheet HTML 86Page - National Semiconductor (TI) CP3UB17 Datasheet HTML 87Page - National Semiconductor (TI) CP3UB17 Datasheet HTML 88Page - National Semiconductor (TI) CP3UB17 Datasheet HTML 89Page - National Semiconductor (TI) CP3UB17 Datasheet HTML 90Page - National Semiconductor (TI) CP3UB17 Datasheet HTML 91Page - National Semiconductor (TI) CP3UB17 Datasheet HTML 92Page - National Semiconductor (TI) CP3UB17 Datasheet HTML 93Page - National Semiconductor (TI) Next Button
Zoom Inzoom in Zoom Outzoom out
 89 / 200 page
background image
89
www.national.com
Figure 18.
Accessing Three Devices in Network Mode
16.3
BIT CLOCK GENERATION
An 8-bit prescaler is provided to divide the audio interface
input clock down to the required bit clock rate. Software can
choose between two input clock sources, a primary and a
secondary clock source.
On the CP3UB17, the two optional input clock sources are
the 12-MHz Aux1 clock and the 48-MHz PLL output clock
(also used by the USB node). The input clock is divided by
the value of the prescaler BCPRS[7:0] + 1 to generate the
bit clock.
The bit clock rate fbit can be calculated by the following
equation:
fbit = n × fSample × Data Length
n = Number of Slots per Frame
fSample = Sample Frequency in Hz
Data Length = Length of data word in multiples of 8 bits
The ideal required prescaler value Pideal can be calculated
as follows:
Pideal = fAudio In / fbit
The real prescaler must be set to an integer value, which
should be as close as possible to the ideal prescaler value,
to minimize the bit clock error, fbit_error.
fbit_error [%] = (fbit - fAudio In/Preal) / fbit × 100
Example:
The audio interface is used to transfer 13-bit linear PCM
data for one audio channel at a sample rate of 8k samples
per second. The input clock of the audio interface is 12 MHz.
Furthermore, the codec requires a minimum bit clock of 256
kHz to operate properly. Therefore, the number of slots per
frame must be set to 2 (network mode) although actually
only one slot (slot 0) is used. The codec and the audio inter-
face will tristate their data transmit pins after the PCM data
word has been transferred. The required bit clock rate fbit
can be calculated by the following equation:
fbit = n × fSample × Data Length = 2 × 8 kHz × 16 = 256
kHz
The ideal required prescaler value Pideal can be calculated
as follows:
Pideal = fAudio In / fbit = 12 MHz / 256 kHz = 46.875
Therefore, the real prescaler value is 47. This results in a bit
clock error equal to:
fbit_error = (fbit - fAudio In/Preal) / fbit × 100
= (256 kHz - 12 MHz/47) / 256 kHz × 100 = 0.27%
16.4
FRAME CLOCK GENERATION
The clock for the frame synchronization signals is derived
from the bit clock of the audio interface. A 7-bit prescaler is
used to divide the bit clock to generate the frame sync clock
for the receive and transmit operations. The bit clock is di-
vided by FCPRS + 1. In other words, the value software
must write into the ACCR.FCPRS field is equal to the bit
number per frame minus one. Be aware, however, that a
frame may be longer than the valid data word.
In addition, software can specify the length of a long frame
sync signal. A long frame sync signal can be either 6, 13,
14, 15, or 16 bits long, depending on the external codec be-
ing used. The frame sync length can be configured by the
Frame Sync Length field (FSL) in the AGCR register.
16.5
AUDIO INTERFACE OPERATION
16.5.1
Clock Configuration
The Aux1 clock (generated by the Clock module described
in Section 11.9) must be configured, because it is the time
base for the AAI module. Software must write an appropri-
ate divisor to the ACDIV1 field of the PRSAC register to pro-
vide a 12 MHz input clock. Software also must enable the
Aux1 clock by setting the ACE1 bit in the CRCTRL register.
For example:
PRSAC &= 0xF0;
// Set Aux1 prescaler to 1 (F = 12 MHz)
CRCTRL |= ACE1; // Enable Aux1 clk
16.5.2
Interrupts
The interrupt logic of the AAI combines up to four interrupt
sources and generates one interrupt request signal to the
Interrupt Control Unit (ICU).
The four interrupt sources are:
RX FIFO Overrun - ASCR.RXEIP = 1
RX FIFO Almost Full (Warning Level) - ASCR.RXIP = 1
TX FIFO Under run - ASCR.TXEIP = 1
TX FIFO Almost Empty (Warning Level) - ASCR.TXIP=1
In addition to the dedicated input to the ICU for handling
these interrupt sources, the Serial Frame Sync (SFS) signal
is an input to the MIWU (see Section 13.0), which can be
programmed to generate edge-triggered interrupts.
Slot1
Frame
Slot0
SFS
SRCLK
(auxiliary
frame sync)
SRFS
(auxiliary
frame sync)
STD/SRD
Data from/to
Codec 1
Data from/to
Codec 3
Data from/to
Codec 2
Slot2
Slot2
DS057



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com