[AK4117]
MS0157-E-04 2010/08
- 16 -
Q-subcode buffers
The AK4117 has a Q-subcode buffer for CD application. The AK4117 takes Q-subcode into registers under the following
conditions:
1) The sync word (S0,S1) consists of at least 16 “0”s.
2) The start bit is “1”.
3) Those 7-bits Q-W follows to the start bit.
4) The distance between two start bits is 8-16 bits.
The QINT bit in the control register goes “1” when the new Q-subcode differs from old one, and goes “0” when QINT bit
is read.
1 2 3 4 5 6 7 8 *
S0 0 0 0 0 0 0 0 0 0…
S1 0 0 0 0 0 0 0 0 0…
S2 1 Q2 R2 S2 T2 U2 V2 W2 0…
S3 1 Q3 R3 S3 T3 U3 V3 W3 0…
: : : : : : : : : :
S97 1 Q97 R97 S97 T97 U97 V97 W97 0…
S0 0 0 0 0 0 0 0 0 0…
S1 0 0 0 0 0 0 0 0 0…
S2 1 Q2 R2 S2 T2 U2 V2 W2 0…
S3 1 Q3 R3 S3 T3 U3 V3 W3 0…
: : : : : : : : : :
(*) number of "0" : min=0; max=8.
Figure 14. Configuration of U-bit(CD)
Q2 Q3 Q4 Q5 Q6 Q7 Q8 Q9 Q10 Q11 Q12 Q13 Q14 Q15 Q16 Q17 Q18 Q19 Q20 Q21 Q22 Q23 Q24 Q25
CTRL ADRS TRACK NUMBER INDEX
Q26 Q27 Q28 Q29 Q30 Q31 Q32 Q33 Q34 Q35 Q36 Q37 Q38 Q39 Q40 Q41 Q42 Q43 Q44 Q45 Q46 Q47 Q48 Q49
MINUTE SECOND FRAME
Q50 Q51 Q52 Q53 Q54 Q55 Q56 Q57 Q58 Q59 Q60 Q61 Q62 Q63 Q64 Q65 Q66 Q67 Q68 Q69 Q70 Q71 Q72 Q73
ZERO ABSOLUTE MINUTE ABSOLUTE SECOND
Q74 Q75 Q76 Q77 Q78 Q79 Q80 Q81 Q82 Q83 Q84 Q85 Q86 Q87 Q88 Q89 Q90 Q91 Q92 Q93 Q94 Q95 Q96 Q97
ABSOLUTE FRAME CRC
G(x)=x
16
+x
12
+x
5
+1
Figure 15. Q-subcode
Addr Register Name D7 D6 D5 D4 D3 D2 D1 D0
11H Q-subcode Address / Control Q9 Q8 · · · · · · · · · · · · Q3 Q2
12H Q-subcode Track Q17 Q16 · · · · · · · · · · · · Q11 Q10
13H Q-subcode Index · · · · · · · · · · · · · · · · · · · · · · · ·
14H Q-subcode Minute · · · · · · · · · · · · · · · · · · · · · · · ·
15H Q-subcode Second · · · · · · · · · · · · · · · · · · · · · · · ·
16H Q-subcode Frame · · · · · · · · · · · · · · · · · · · · · · · ·
17H Q-subcode Zero · · · · · · · · · · · · · · · · · · · · · · · ·
18H Q-subcode ABS Minute · · · · · · · · · · · · · · · · · · · · · · · ·
19H Q-subcode ABS Second · · · · · · · · · · · · · · · · · · · · · · · ·
1AH Q-subcode ABS Frame Q81 Q80 · · · · · · · · · · · · Q75 Q74
Figure 16. Q-subcode register map
Q
[AK4117]
MS0157-E-04 2010/08
- 17 -
Interrupt Handling
There are eight events which cause the INT1-0 pins to go “H”.
1. UNLCK: PLL unlock state detect
“1” when the PLL loses lock. The AK4117 loses lock when the distance between two preambles is
not correct or when those preambles are not correct.
2. PAR: Parity error or biphase coding error detection
“1” when parity error or biphase coding error is detected, updated every sub-frame cycle. Reading
this register resets it.
3. AUTO: Non-PCM or DTS-CD Bit Stream detection
The OR function of NPCM and DTSCD bits is output to the AUTO bit.
4. V: Validity flag detection
“1” when validity flag is detected. Updated every sub-frame cycle.
5. AUDION: Non-audio detection
“1” when the “AUDIO” bit in recovered channel status indicates “1”. Updated every block cycle.
6. STC: Sampling frequency or pre-emphasis information change detection
“1” when FS3-0 or PEM bit changes. Reading this register resets it.
7. QINT: U bit (Q-subcode) sync flag
“1” when the Q-subcode differs from old one, and stays “1” until this register is read. Updated
every sync code cycle for Q-subcode. Reading this register resets it.
8. CINT: Channel status sync flag
“1” when received C bits differ from old ones, and stays “1” until this register is read. Updated
every block cycle. Reading this register resets it.
INT1-0 pins output an OR’ed signal based on the above eight interrupt events. When masked, the interrupt event does not
affect the operation of the INT1-0 pins (the masks do not affect the resisters (UNLCK, PAR, etc.) themselves). Once
INT0 pin goes to “H”, it maintains “H” for 1024 cycles (this value can be changed by the EFH1-0 bits) after all events
not masked by mask bits are cleared. INT1 pin immediately goes to “L” when those events are cleared.
UNLCK, AUTO, V and AUDION bits indicate the interrupt status events above in real time. Once PAR, STC, QINT or
CINT bit goes to “1”, it stays “1” until the register is read. INT pin holds “H” for one sub-frame, then goes to “L” in this
case.
When the AK4117 loses lock, the channel status bits are initialized. In this initial state, INT0 outputs the OR’ed signal
between UNLCK and PAR bits. INT1 outputs the OR’ed signal to AUTO, V and AUDION. INT1-0 pins are “L” when
the PLL is OFF (Clock Operation Mode 1).
Event
UNLCK PAR Others
SDTO Pin
1 x x “L”
0 1 x Previous Data
0 0 x Output
Table 8. Interrupt handling
[AK4117]
MS0157-E-04 2010/08
- 18 -
Interrupt
(UNLCK, PAR,..)
INT1 pin
SDTO
(UNLCK)
MCKO,BICK,LRCK
(UNLCK)
Previous Data
Register (PAR,STC,
CINT,QINT)
Hold ”1”
Command
READ 05H
MCKO,BICK,LRCK
(except UNLCK)
(fs: around 20kHz)
SDTO
(PAR error)
Hold Time = 0
Reset
(Interrupt)
SDTO
(others)
Normal Operation
INT0 pin Hold Time (max: 4096/fs)
Register
(others)
Free Run
Figure 17. INT1-0 pin timing

AK4117VF

Mfr. #:
Manufacturer:
Description:
IC RCVR DGTL AUD 24VSOP
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet