Preliminary specification
File under Integrated Circuits, IC01
Philips Semiconductors
July 1994
Philips SemiconductorsPreliminary specification
Shock absorbing RAM addresserSAA7346
FEATURES
• Absorbs shocks from x, y and z directions
• Absorbs rotational shocks
• Absorbs multiple shocks per second
• Interfaces directly to compact disc decoders SAA7345,
SAA7347 and SAA7370
• Multi-speed I2S-bus input with single-speed
I2S-bus output
• Controls 1 or 4 MBit of external Dynamic Random
Access Memory (DRAM)
• Easy serial interface for communication with common
microcontrollers
• Software selectable shock detectors
• By-pass/power-down mode
• Kill interface for DAC deactivation
• Can be used for:
– ‘sampling’ part of a disc
– to reduce access pauses between jumps
– to deliver a programmable delay
– to generate a fixed audio rate from Constant Angular
Velocity (CAV) discs.
GENERAL DESCRIPTION
The SAA7346 can be used to make a CD player
insensitive to shocks. To do this, SAA7346 operates
closely with a standard 1 Mbit or 4 Mbit DRAM. Audio data
is stored inside the DRAM and during shocks the data of
the DRAM can be played. The SAA7346 functions as a
customized DRAM controller with serial I/O and on-board
shock detectors.
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.
“Quality Reference
July 19942
Philips SemiconductorsPreliminary specification
Shock absorbing RAM addresserSAA7346
BLOCK DIAGRAM
handbook, full pagewidth
DD2
WCO
32, 30, 28,
26, 25, 27,
29, 31, 33,
DD1
V
34
V
A0
to
A9
RESET
TMS
14
8
SDI
WCI
SCLI
345
2
I S
INPUT
SAA7346
CFLG
KILL
D0 to D3
12131921 20 22 23 44
DATA
MULTIPLEXER
WRITE
POINTER
REGISTER
KILLOUT
42
to
39
MULTIPLEXER
S_NSF
ADDRESS
SDO
SCLO
2
I S
OUTPUT
READ
POINTER
SICL
SIDA
SILD
V
16
15
17
MONITOR
CONTROLLER
RAS
SS1
MICROCONTROLLER
DETECTORS
24
V
SS2
INTERFACE
SHOCK
9
SSD
OTD
12113538373643
RSB
Fig.1 Simplified SAA7347 block diagram.
CAS
WE
OE
TIMING
CLKIN
107
RCD2
6
18
MGB429
CONFIG
FILL
July 19943
Philips SemiconductorsPreliminary specification
Shock absorbing RAM addresserSAA7346
PINNING
SYMBOLPINDESCRIPTION
CFLG1correction flag input from CD decoder
KILL2kill input
SCLI3multi-speed I
WCI4multi-speed I
SDI5multi-speed I
CONFIG6external DRAM select input; HIGH 4 Mbit, LOW 1 Mbit
CLKIN716.9344 MHz system clock input
TMS8test mode select input; active HIGH
OTD9on/off track detector input
RCD210DRAM read cycle divide-by-2 input; active HIGH
SSD11shock detected output; active HIGH when shock is detected
RSB12rotational shock busy output; active HIGH when rotational shock is detected
S_NSF13synthetic new subcode frame output
RESET14reset enable input; active LOW
SIDA15microcontroller interface input/output data line
SICL16microcontroller interface clock input
SILD17microcontroller interface
FILL18FIFO write enable output; active HIGH
KILLOUT19open drain output; active LOW; when in by-pass mode KILLOUT equals KILL
SDO20I
SCLO21I
WCO22I
V
V
DD1
SS1
23supply voltage 1
24supply ground 1
2
S data output
2
S bit clock output
2
S word clock output
A425DRAM address bus output 4
A326DRAM address bus output 3
A527DRAM address bus output 5
A228DRAM address bus output 2
A629DRAM address bus output 6
A130DRAM address bus output 1
A731DRAM address bus output 7
A032DRAM address bus output 0
A833DRAM address bus output 8
A934DRAM address bus output 9
OE35DRAM enable output; active LOW
RAS36DRAM row address strobe output; active LOW
CAS37DRAM column address strobe output; active LOW
WE38DRAM write enable output; active LOW
2
S bit clock input
2
S word clock input
2
S data input
read/write input
July 19944
Philips SemiconductorsPreliminary specification
Shock absorbing RAM addresserSAA7346
SYMBOLPINDESCRIPTION
D3 to D039 to 42 DRAM data bus inputs/outputs
V
V
SS2
DD2
43supply ground 2
44supply voltage 2
handbook, full pagewidth
CFLG
KILL
SCLI
WCI
SDI
CONFIG
CLKIN
TMS
OTD
RCD2
SSD
DD2
SS2
V
V
44
43
1
2
3
4
5
6
7
8
9
10
11
12
13
RSB
S_NSF
D0
D1
41
42
14
15
SIDA
RESET
D2
D3WECASOERAS
40
39
SAA7346
16
17
SILD
SICL
38
18
FILL
37
36
20
19
KILLOUT
SDO
35
21
SCLO
A9
34
22
WCO
33
32
31
30
29
28
27
26
25
24
23
MGB430
A8
A0
A7
A1
A6
A2
A5
A3
A4
V
V
SS1
DD1
Fig.2 Pin configuration.
FUNCTIONAL DESCRIPTION
2
S input/output interfaces
I
The SAA7346 contains an asynchronous serial input and
a serial output interface. The serial operation of the
interfaces is under hardware control of the external
circuitry and uses the I2S protocol. The output presents a
continuous clock signal SCLO (typically 2.8224 MHz)
which is divided from the system clock, and a word select
signal WCO, typically 44.1 kHz (fs), which is used to
distinguish between right and left channels. When in
by-pass mode WCO and SCLO are the same as the input
interface signals WCI and SCLI, enabling data to pass
through the SAA7346. Since the serial input port is
asynchronous the device is independent of the CD
July 19945
decoder clock speed and enables the word clock to vary
from 1.1 × f
to 4 × fs (typically 2 × fs). This is a requirement
s
of any electronic shock absorbing system since the disc
must be rotating faster than usual to assure the FIFO is full
to absorb a shock. The falling edge of WCO indicates the
start of a new transfer. Data is exchanged over the
SDI and SDO pins. The SAA7346 is compatible with a
variety of DAC ICs.
New subcode frame regeneration
The SAA7346 has a digital phase-locked loop (PLL)
system which decodes the F1 and F6 flags, from the first
1-bit signal generated by the CD decoder correction flag
output shown in Fig.3. The F1 flag is the absolute time
sync signal of the New Subcode Frame (NSF). It relates
Philips SemiconductorsPreliminary specification
Shock absorbing RAM addresserSAA7346
the position of the subcode-sync to the audio data. This
signal determines the accuracy with which the SAA7346
sews audio data together after a shock. When the CD
decoder preforms a jump the NSF will be missed. The PLL
system will insert the missing pulse. The resulting signal is
the S_NSF which can be used as a time out for reading the
handbook, full pagewidth
CFLG
11.3
µs
F1F2F3F4F5F6F7F1
Fig.3 CFLG input timing diagram.
0.37 ms
handbook, full pagewidth
S_NSF
subcode from the decoder shown in Fig.4. The S_NSF is
available externally and the NSF flag can be read via the
serial microcontroller interface. The F6 flag indicates at
least one hold has occurred in the decoder’s error
corrector and interpolator. The shock processor uses this
signal to evaluate whether a shock has occurred.
45.4 µs
MGA370
6.6 ms
NSF
Fig.4 S_NSF output timing diagram; n = 2.
Shock processor
The shock processor determines whether a shock has
occurred by processing all the shock detectors. The
SAA7346 will enter shock mode and set SSD when the:
•µCsd flag is set by the microcontroller in the command
register
• OTD input is active while the jmp_bz flag is not set
• RSB output is set while the e_rot_sd flag is set
• NSF pulse is lost and the full flag is not read by the
microcontroller from the status register.
When the target position has been found the
microcontroller should set the PFB flag in the command
register. The SAA7346 will respond by clearing the SSD
flag and start refilling. If CFLG still indicates a hold, the
MGB431
Variable
NSF is set until read
by the microcontroller
decoder is rolling out of its FIFO. RSB will be set which
sets SSD again thus the FIFO will not start refilling. The
microcontroller should jump one track back and look for
the correct target position again. When the motor speed is
stable and the decoder does not roll out of its FIFO, the
audio data will be glued together.
SSD will be reset whenever the microcontroller sets PFB
or the flush flags in the command register, or when the
FIFO empties while the echo flag is LOW. Note if the
microcontroller wants SSD to be clear for a while the shock
detectors should be inhibited.
FIFO controller and monitor
The SAA7346 uses a state machine to control and monitor
the conditions of the FIFO shown in Fig.5.
July 19946
Philips SemiconductorsPreliminary specification
Shock absorbing RAM addresserSAA7346
handbook, full pagewidth
SSD and
(NSF + S_NSF)
flush + reset +
(empty and echo)
HOLD
HOLD
first nibblefull
6
PFB
5
SSD
PFB
Fig.5 State machine flow diagram.
During normal operation the FIFO will fill up because
writing is carried out twice as fast as reading; this is the fill
mode. If the FIFO is full the monitor will detect and set the
full flag. At the same time the fill flag will be reset thus
preventing audio data from being written in to the FIFO.
When the microcontroller reads the full flag from the status
register, the servo control should jump back one track. The
microcontroller enters a wait loop until the same absolute
time subcode frame turns by again; this is the hold mode.
When the spot is found again the microcontroller should
set the PFB flag in the command register and the
SAA7346 will resume writing to the DRAM. While in fill
mode the write pointer address is saved at the end of each
subcode frame. When the player exists hold mode it
restores the saved address and continues writing after the
last sample.
RESET
0
FILL
1
SHOCK
7
HOLD
4
reset and sowflush + reset
SSD
SSD
flush + reset
SSD
first nibble
FILL
2
FILL
3
NSF +
S_NSF
MGB432
When a shock is detected the SAA7346 will enter shock
mode. The shock mode will last until the PFB is set by the
microcontroller or the FIFO is flushed, reset or runs empty.
Microcontroller interface
The SAA7346 has a 3-line microcontroller interface which
is compatible with TDA1301, TDA1303 and SAA7345.
W
RITING DATA TO THE SAA7346
The SAA7346 command register is shown in Table 1. This
can be written to via the microcontroller interface as shown
in Fig.6. The command register flags functions are shown
in Table 2.
FlushFlush, when set, will empty the FIFO, reset the read and write pointer addresses. Then writing will
resume to the FIFO. Flag reset automatically.
BypassBypass, when set, will power down the SAA7346. The I2S interface passes input to output directly.
The parallel interface port controls RAS, CAS, WE and OE which are pulled HIGH. KILL passes
directly to KILLOUT. When exiting by-pass mode the FIFO is automatically flushed.
EchoEcho, when set, will cause the FIFO contents to be continuously played until the correct position is
found again.
jmp_bzJump busy, when set, indicates a jump is being preformed. The OTD shock detector input will be
disabled. After the jump has finished the flag should be reset by a write.
otd_pOTD polarity enable. Enables the polarity of the OTD input to be switched from active HIGH set,
active LOW not set.
e_rot_sdEnable rotational shock detection, when set, will detect shocks whenever the decoder rolls out of its
internal FIFO.
µCsdMicrocontroller shock detected is set when the microcontroller has detected a shock.
PFBPosition Found Back, when set, indicates that the microcontroller has found the absolute time frame
after a shock or hold cycle. The audio data will sew together and the flag reset automatically.
handbook, full pagewidth
SICL
SILD
SIDA
B7B6B5B4B3B2B1B0
Fig.6 Microcontroller WRITE timing.
Writing operation sequence:
• SILD is held HIGH by the microcontroller.
• Microcontroller data is clocked into the internal
command register on the LOW-to-HIGH clock transition
of SICL.
• SILD is pulled LOW by the microcontroller to latch-in
data to the command register.
• SICL and SILD are pulled HIGH by the microcontroller
to indicate that communications have finished.
MGB433
R
EADING STATUS OF SAA7346
The SAA7346 has a status register shown in Table 1. This
can be read via the microcontroller interface shown in
Fig.7. The internal status signals are made available on
the SIDA pin and are shown in Table 3.
July 19948
Loading...
+ 16 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.