cp3cn23 National Semiconductor Corporation, cp3cn23 Datasheet - Page 133

no-image

cp3cn23

Manufacturer Part Number
cp3cn23
Description
Cp3cn23 Reprogrammable Connectivity Processor With Dual Can Interfaces
Manufacturer
National Semiconductor Corporation
Datasheet
The CVSD/PCM module only supports indirect DMA trans-
fers. Therefore, transferring PCM data between the CVSD/
PCM module and another on-chip module requires two bus
cycles.
The trigger for DMA may also trigger an interrupt if the cor-
responding enable bits in the CVCTRL register is set.
Therefore care must be taken when setting the desired in-
terrupt and DMA enable bits. The following conditions must
be avoided:
T Setting the PCMINT bit and either of the DMAPO or
T Setting the CVSDINT bit and either of the DMACO or
19.8
The CVSD/PCM module provides support for an In-System-
Emulator by means of a special FREEZE input. While
FREEZE is asserted the module will exhibit the following be-
havior:
T CVSD In FIFO will not have data removed by the con-
T CVSD Out FIFO will not have data added by the convert-
T PCM Out buffer will not be updated by the converter
T The Clear-on-Read function of the following status bits in
19.9
Table 58 lists the CVSD/PCM registers.
DMAPI bits.
DMACI bits.
verter core.
er core.
core.
the CVSTAT register is disabled:
CVSDOUT
LINEARIN
PCMOUT
LOGOUT
CVSDIN
PCMIN
LOGIN
Name
FREEZE
CVSD/PCM CONVERTER REGISTERS
Table 58 CVSD/PCM Registers
T PCMINT
T CVE
T CVF
FF FC2Ah
FF FC2Ch
FF FC20h
FF FC22h
FF FC24h
FF FC26h
FF FC28h
Address
Data Output Register
Data Input Register
Data Input Register
CVSD Data Output
PCM Data Output
Logarithmic PCM
Logarithmic PCM
CVSD Data Input
PCM Data Input
Description
Linear PCM
Register
Register
Register
Register
133
19.9.1
The CVSDIN register is a 16-bit wide, write-only register. It
is used to write CVSD data into the CVSD to PCM converter
FIFO. The FIFO is 8 words deep. The CVSDIN bit 15 repre-
sents the CVSD data bit at t = t
the CVSD data bit at t = t
19.9.2
The CVSDOUT register is a 16-bit wide read-only register.
It is used to read the CVSD data from the PCM to CVSD
converter. The FIFO is 8 words deep. Reading the CVSD-
OUT register after reset returns undefined data.
19.9.3
The PCMIN register is a 16-bit wide write-only register. It is
used to write PCM data to the PCM to CVSD converter via
the peripheral bus. It is double-buffered, providing a 125µs
period for an interrupt or DMA request to respond.
19.9.4
The PCMOUT register is a 16-bit wide read-only register. It
is used to read PCM data from the CVSD to PCM converter.
It is double-buffered, providing a 125 µs period for an inter-
rupt or DMA request to respond. After reset the PCMOUT
register is clear.
LINEAROUT
15
15
15
15
CVCTRL
CVSTAT
Name
CVSD Data Input Register (CVSDIN)
CVSD Data Output Register (CVSDOUT)
PCM Data Input Register (PCMIN)
PCM Data Output Register (PCMOUT)
Table 58 CVSD/PCM Registers
FF FC2Eh
FF FC30h
FF FC32h
Address
CVSDOUT
PCMOUT
0
CVSDIN
PCMIN
- 250 ms.
0
, CVSDIN bit 0 represents
CVSD Status Register
Data Output Register
CVSD Control Regis-
Description
Linear PCM
www.national.com
ter
0
0
0
0

Related parts for cp3cn23