cp3cn23 National Semiconductor Corporation, cp3cn23 Datasheet - Page 130

no-image

cp3cn23

Manufacturer Part Number
cp3cn23
Description
Cp3cn23 Reprogrammable Connectivity Processor With Dual Can Interfaces
Manufacturer
National Semiconductor Corporation
Datasheet
www.national.com
18.7.9
The ACCR register is used to control the bit timing of the au-
dio interface. After reset, this register is clear.
CSS
FCPRS
BCPRS
18.7.10 Audio DMA Control Register (ADMACR)
The ADMACR register is used to control the DMA support
of the audio interface. In addition, it is used to configure the
automatic transmission of the audio control bits. After reset,
this register is clear.
RMD
15
15
7
7
Reserved
Audio Clock Control Register (ACCR)
TMD
The Clock Source Select bit selects one out of
two possible clock sources for the audio inter-
face. After reset, the CSS bit is clear.
0 – The Auxiliary Clock 1 is used to clock the
1 – The 48-MHz clock is used to clock the Au-
The Frame Clock Prescaler is used to divide
the bit clock to generate the frame clock for
the receive and transmit operations. The bit
clock is divided by (FCPRS + 1). After reset,
the FCPRS field is clear. The maximum al-
lowed bit clock rate to achieve an 8 kHz frame
clock is 1024 kHz. This value must be set cor-
rectly even if the frame sync is generated ex-
ternally.
The Bit Clock Prescaler is used to divide the
audio interface clock (selected by the CSS bit)
to generate the bit clock for the receive and
transmit operations. The audio interface input
clock is divided by (BCPRS + 1). After reset,
the BCPRS[7:0] bits are clear.
The Receive Master DMA field specify which
slots (audio channels) are supported by DMA,
i.e. when a DMA request is asserted to the
DMA controller. If the RMDn bit is set for an
assigned slot n (RXDSAn = 1), a DMA request
n is asserted, when the ARDRn is full. If the
RXDSAn bit for a slot is clear, the RMDn bit is
13
Audio Interface.
dio Interface.
FCPRS
12
4
BCPRS
ACO
11
3
10
RMD
ACD
1
CSS
0
8
0
8
130
TMD
ACD
ACO
ignored. The following table shows the receive
DMA request scheme.
The Transmit Master DMA field specifies
which slots (audio channels) are supported by
DMA, i.e. when a DMA request is asserted to
the DMA controller. If the TMD bit is set for an
assigned slot n (TXDSAn = 1), a DMA request
n is asserted, when the ATDRn register is
empty. If the TXDSA bit for a slot is clear, the
TMD bit is ignored. The following table shows
the transmit DMA request scheme.
The Audio Control Data field is used to fill the
remaining bits of a 16-bit slot if only 13, 14, or
15 bits of PCM audio data are transmitted.
The Audio Control Output field controls the
number of control bits appended to the PCM
data word.
00 – No Audio Control bits are appended.
01 – Append ACD0.
10 – Append ACD1:0.
11 – Append ACD2:0.
RMD
0000
0001
0010
0011
0000
0001
0010
0011
TMD
x1xx
1xxx
x1xx
1xxx
DMA Request Condition
DMA Request Condition
ARDR0 full or ARDR1 full
Not supported on
Not supported on
ATDR0 empty or
ATDR0 empty
ATDR1 empty
ATDR1 empty
ARDR0 full
ARDR1 full
CP3CN23
CP3CN23
None
None

Related parts for cp3cn23