Adaptive allocation and scaling for
record processing in DCC systems
Product specification
Supersedes data of February 1993
File under Integrated Circuits, Miscellaneous
Philips Semiconductors
September 1995
Philips SemiconductorsProduct specification
Adaptive allocation and scaling for
record processing in DCC systems
FEATURES
• Stereo or 2-channel mono encoding
• Status may be read continuously
• Microcontroller interface
• I2S interfaces
• Allocation algorithm including optional emphasis
correction (for 44.1 kHz)
• Reduced power consumption
• 4 V nominal operating voltage capability.
GENERAL DESCRIPTION
Performing the Adaptive Allocation and Scaling function in
the Precision Adaptive Sub-band Coding (PASC) system,
the SAA2012 is intended for use in conjunction with the
stereo filter and codec (SAA2002).
SAA2012
ORDERING INFORMATION
EXTENDED TYPE
NUMBER
SAA2012GP44QFP; note 1plasticSOT205AG
Note
1. When using reflow soldering it is recommended that the Dry Packing instructions in the “
Pocketbook
” are followed. The pocketbook can be ordered using the code 9398 510 34011.
PINSPIN POSITIONMATERIALCODE
PACKAGE
Quality Reference
September 19952
Philips SemiconductorsProduct specification
Adaptive allocation and scaling for
33
32
SAA2012
FDAC
SCL
record processing in DCC systems
BLOCK DIAGRAM
SWS
FS256
FDAF
31
39
34
INTERFACEINTERFACECOMPENSATION DELAY
V
DD
14,24,40
NODONE
RESOL0
RESOL1
FDIR
FRESET
FSYNC
SCALE
TEST3
TEST4
LTDATA
LTCNT1
LTCNT0
LTENA
LTCLK
CLK24
RESET
PWRDWN
20
21
22
37
36
35
38
15
16
5
1
2
3
4
26
23
30
CONTROL
SAA2012
LT INTERFACE
ALLOCATION AND
SCALING
CALCULATION
6,25,44
V
SS
11
7
8
9
10
MEA660
LTDATAC
LTCNT1C
LTCNT0C
LTENC
LTCLKC
September 19953
Fig.1 Block diagram.
Philips SemiconductorsProduct specification
Adaptive allocation and scaling for
record processing in DCC systems
PINNING
SYMBOLPINDESCRIPTION
LTCNT11mode control 1, microcontroller interface input
LTCNT02mode control 0, microcontroller interface input
LTENA3enable microcontroller interface input
LTCLK4bit clock microcontroller interface input
LTDATA5data, microcontroller interface (3-state input/output)
V
SS
LTCNT1C7control 1, microcomputer interface, SAA2002 side output
LTCNT0C8control 0, microcomputer interface, SAA2002 side output
LTENC9enable microcontroller interface, SAA2002 side output
LTCLKC10bit clock; microcontroller interface, SAA2002 side output
LTDATAC11data; microcontroller interface, SAA2002 side (3-state input/output)
TEST112test 1 output; do not connect
TEST213test 2 output; do not connect
V
DD
TEST315test 3 mode input; to be connected to V
TEST416test 4 mode input; to be connected to V
TEST517test 5 input; to be connected to V
TEST618test 6 input; to be connected to V
TEST719test 7 input; to be connected to V
NODONE20no done state selection input
RESOL021resolution selection 0 input
RESOL122resolution selection 1 input
RESET23active HIGH reset input
V
DD
V
SS
CLK242624.576 MHz processing clock input
TEST827test 8 input; to be connected to V
TEST928test 9 input; to be connected to V
TEST1029test 10 input; to be connected to V
PWRDWN30SLEEP mode input
SWS31word selection input; filtered - I
SCL32bit clock input; filtered - I
FDAC33filtered data - I
FDAF34filtered data - I
FSYNC35sub-band synchronization on input; filtered - I
FRESET36reset signal input from SAA2002
FDIR37direction input of the I
SCALE38scale factor index select (note 1)
FS25639system clock input; sample frequency × 256
V
DD
6supply ground (0 V)
14supply voltage (+5 V)
24supply voltage (+5 V)
25supply ground (0 V)
2
S-interface; SAA2002 side (3-state input/output)
2
S-interface; SAA2002 side (3-state input/output)
40supply voltage (+5 V)
2
S-interface
2
S-interface
SS
SS
SS
SS
SS
SS
2
S-interface
DD
DD
2
S-interface
SAA2012
September 19954
Philips SemiconductorsProduct specification
Adaptive allocation and scaling for
record processing in DCC systems
SYMBOLPINDESCRIPTION
n.c.41not connected
n.c.42not connected
n.c.43not connected
V
SS
Note
1.The SCALE input must be set LOW for use with the SAA2002. If operation with the SAA2001/2021 combination is
required the SCALE input must be set HIGH.
44supply ground (0 V)
SAA2012
LTCNT1
LTCNT0
LTENA
LTCLK
LTDATA
V
SS
LTCNT1C
LTCNT0C
LTENC
LTCLKC
LTDATAC
SS
V
n.c.
n.c.
44
43
42
1
2
3
4
5
6
7
8
9
10
11
12
13
14
V
TEST1
TEST2
n.c.
41
15
DD
TEST3
DD
V
FS256
40
39
SAA2012
16
17
TEST4
TEST5
SCALE
38
18
TEST6
FDIR
37
19
TEST7
FRESET
FSYNC
36
35
21
20
RESOL0
NODONE
FDAF
34
22
RESOL1
33
32
31
30
29
28
27
26
25
24
23
MEA656
FDAC
SCL
SWS
PWRDWN
TEST10
TEST9
TEST8
CLK24
V
SS
V
DD
RESET
September 19955
Fig.2 Pin configuration.
Philips SemiconductorsProduct specification
Adaptive allocation and scaling for
record processing in DCC systems
drive
capstan
heads
and
tape
SAA2012
write
TDA1319
TDA1316 or
speed control
2
codec
SAA2002
stereo filter
I S
(sub-band)
read
digital
SAA2032
SAA2022
adaptive
SAA2012
TDA1318
TDA1317 or
equalizer
RAM
256 kbits
scale factors
allocation and
TAPE DRIVE PROCESSING
MEA695 - 2
MICROCONTROLLER
Fig.3 DCC data flow diagram.
September 19956
2
I S
ADC
SAA7360
RECORDING + PLAY BACK
input
analog
DAC
SAA7323
output
analog
DAIO
TDA1315
digital input
digital output
AUDIO INPUT/OUTPUTPASC PROCESSING
Philips SemiconductorsProduct specification
Adaptive allocation and scaling for
record processing in DCC systems
FUNCTIONAL DESCRIPTION
PASC
Precision Adaptive Sub-band Coding achieves highly
efficient digital encoding with a bit-rate of 384 kbits/s. It
utilizes a system producing sub-band samples from an
incoming digital audio signal. This relies upon the audibility
of signals above a given level and upon high amplitude
signals masking those of lower amplitude. Although each
sub-band signal is of approximately 750 Hz bandwidth, it
possesses considerable overlap with those adjacent to it.
During the process of encoding, the PASC processor
analyses the broadband audio signal at sampling
frequency (f
sampling frequency (fs/32).
The PASC signal consists of frames conveying the
information corresponding to 384 sub-band samples.
These also include a synchronization pattern identifying
the start of each new frame. The allocation information for
the 32 sub-bands is transferred as 4-bit values. If the
amplitude of a sub-band signal is below the masking
threshold it will be omitted from the PASC signal.
The duration of a PASC frame depends upon sampling
frequency and is adjusted to 384 divided by fs.
Adaptive Allocation and Scaling
The PASC system calculates the masking power of the
sub-band signals and adds the masking threshold.
Sub-band signals with power below this threshold denote
information to be discarded. Non-masked signals are
coded using floating point notation in which a mantissa
corresponds in length to the difference between peak
power and masking threshold. The process is repeated for
every PASC frame and is known as the Adaptive
Allocation of the available capacity.
Encoding mode
Signal FDIR sets the data flow direction on the
Filtered-I
(FDIR = LOW) the device will accept samples from FDAF.
These will be delayed by a number of sample periods
depending upon the setting of the SCALE input. In the
event of operation with the SAA2002 (SCALE = 0) this
delay will be 480 SWS periods. This will ensure alignment
of the data with the computed allocations.
After the delay the samples will be presented on FDAC
(pin 33). The circuit also performs all the calculations
required to build the allocation table which is used in the
codec (SAA2002).
) by splitting it into 32 sub-band signals at a
s
2
S-interface. In the encoding mode
SAA2012
When used with the SAA2002 the calculated scale factor
indices are sent via the LT interface. These operations are
performed for every frame of the sub-band codec.
In order to synchronize with the codec and utilize the
correct tables for the calculations the SAA2012 frequently
requests the status of the codec. It monitors the bit-rate,
sample frequency, operation mode and the emphasis
information and uses the ‘ready-to-receive’ bit of the codec
to determine the moment of the transfer of allocation
information.
Decoding Mode
In the decoding mode (FDIR = HIGH) the SAA2012 will
take samples from FDAC which will be presented on the
FDAF after a delay of 160 SWS periods. The LT interface
between microcontroller and codec (SAA2002) will only be
affected by the ‘ready-to-receive’ bit from the codec
(SAA2002).
Microcontroller Interface Operation
Information on the interface between microcontroller and
codec (SAA2002) will flow in a regular sequence
synchronized with the codec (SAA2002):
• With every FSYNC the SAA2012 will read the status of
the codec (SAA2002).
• Following the calculation of the allocation and scale
factors the SAA2012 will send the first allocation
information unit (16-bits). It will then continuously read
the codec (SAA2012) status to ascertain when it is able
to receive further allocation information units. When the
transfer of these units is complete the SAA2012 will
send settings and (for SCALE = 0) scale factor indices.
• The extended settings will be sent to the codec as soon
as possible after reception from the microcontroller.
The microcontroller communicates with the SAA2012 in a
similar fashion:
• Status can be read continuously. The SAA2012 will
output a copy of the codec (SAA2002) status on the
LTDATA line except for the ‘ready-to-receive’ bits which
are generated by the SAA2012. These indicate whether
the SAA2012 is ready to receive the next settings or
extended settings.
• Settings can be sent following every occasion that the
‘ready-to-receive’ bit ‘S’ changes to logic 1.
• Extended settings can be sent following each occasion
that the ‘ready-to-receive’ bit ‘E’ changes to logic 1.
September 19957
Philips SemiconductorsProduct specification
Adaptive allocation and scaling for
record processing in DCC systems
Mode Control
Operation is controlled by the FRESET and FDIR signals.
FRESET causes a general reset. The FDIR signal is
sampled at the falling edge of the FRESET signal to
determine the operation mode:
Figure 4 shows the timing diagram for FRESET and FDIR.
Resolution Selection
The (SAA2012) is designed for operation with input
devices (ADCs) which may possess a different sample
resolution capability, i.e. audio sample inputs into the
sub-band filters. RESOL0 (pin 21) and RESOL1 (pin 22)
may be utilized to adjust the allocation information
calculation to the resolution of the samples.
With the instance of NODONE (pin 20) being HIGH, all
available bits in the bit-pool will be allocated. If NODONE
is LOW, no bits will be allocated to the sub-bands with
energy levels below the theoretical threshold for the
selected resolution. For encoding in accordance with the
DCC standard NODONE must be HIGH.
SAA2012
Table 1Resolution selection.
RESOL1RESOL0RESOLUTION
0016 bits
0118 bits
1014 bits
1115 bits
Sleep mode switching
When the potential on the RESET pin (pin 23) is held HIGH
for at least 5T
after which it will operate in its decoding mode.
The sleep mode is activated when the PWRDWN pin
(pin 30) is held HIGH. The 3-state buffers will be set to a
high impedance while the normal outputs will retain the
state attained prior to this mode being entered. This mode
can only be used if other associated circuits react
accordingly. The sleep mode is de-activated by a reset
action.
Operation for the sleep mode switching is shown in Fig.5.
Adaptive allocation and scaling for
record processing in DCC systems
SAA2012
channel
SWS
FSYNC
sub-band
LRLLLLLLRRRRRR
31013101
MBC126 - 2
Fig.7 FSYNC relative to SWS.
Filtered-I2S-Interfaces
Interfaces with the sub-band filter and codec (SAA2002) consist of the signals shown in Table 2.
2
Table 2The filtered-I
S-interface.
SIGNALTYPEDESCRIPTIONFREQUENCY
SWSinputword selectionf
SCLinputbit clock64f
FDAFbi-directionalfiltered data to/from the filter section of SAA2002−
FDACbi-directionalfiltered data to/from the codec section of SAA2002−
FSYNCinputfilter synchronizationf
FRESETinputreset−
2
FDIRinputfiltered - I
S-interface direction of data flow−
s
s
s
/32
The format for transferring filtered data is shown in Fig.6.
Input frequency (f
) must be provided as system clock. This frequency is used by the interfaces with the SAA2002.
i
The frequency of the SWS signal (pin 31) is equal to the sample frequency (fs). Bit clock SCL (pin 32) is 64 times fs; thus
each SWS period contains 64 data bits, 48 of which are actually used in data transfer. The half period when SWS is logic
0 is used to transfer left-channel information, when SWS is logic 1 transfer of right-channel data is allowed.
The 24-bit samples are transferred with the most significant bit first. This bit is transferred during the bit clock period, one
bit time after the change in SWS.
FSYNC signal is provided for the purposes of synchronization and indicates the portion of the SWS period during which
the samples of sub-band 0 are transferred.
The relationship between FSYNC and the SWS is logic 0 data transfer period is shown in Fig.7
September 199510
Loading...
+ 22 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.