![](http://datasheet.mmic.net.cn/260000/S5L9276_datasheet_15972208/S5L9276_43.png)
OPTICAL CD MP3 SYSTEM
S5L9276 (PRELIMINARY SPEC)
43
4.
Send Command DECODE_MP3.
H_SSPINT
(8'h80 )
* 8'h03 is DECODE_MP3
5.
Micom reads CDFS Table and select a music to be play.
6.
Micom set Total_Sector_Number as follows. Total_Sector_Number is a value with 20bit range.
H_IN_XTRA
(8'h83)
: XYZW XXXX
Y : if FF(Fast Forward) state when going to next song, set Y=1
Z : if FB(Fast Backrward) state when going to next song, set Z=1
W: if CD-ROM format is Form2, W=1
XXXX: Total_Sector_Number[19:16]
: Total_Sector_Number[15:8]
: Total_Sector_Number[7:0]
H_IN_HIGH
H_IN_LOW
(8'h82)
(8'h81)
7.
Transfer CD-ROM sectors to S5L9276 in the way described in Section transferring input bitstream.
8.
S5L9276 starts decoding of input bitstream. When audio sampling frequency information the bitstream header
S5L9276 writes it to the register H_OUT1_LOW and interrupt . And then S5L9276 stops it's decoding. S5L9276
will resume it's decoding after configures audio clock frequency. When interrupted from S5L9276 for audio
frequency information transfer, Micom reads the sampling frequency information in H_OUT1_LOW (8'h01) and
set audio clock in S5L9276.
H_INT_READ
(8'h51)
* 8'bxxx011xx that indicates sending audio sampling
frequency code
* frequency code
H_OUT1_LOW
(8'h01)
Sampling Frequency Information
000 : 44.1 kHz
001 : 48 kHz
010 : 32 kHz
011 : Not Used
100 : 22.05 kHz
101 : 24 kHz
110 : 16 kHz
After setting audio clock frequency Micom send a command (0x23) to S5L9276 to indicate clock frequency setting
completed successfully.
H_SSPINT
(8'h80)
* 8'h23 is completion of frequency setting
9.
When both of input buffer and output buffer are empty it means that end-of-song S5L9276 is in IDLE state.
Micom can see when input buffer becomes empty S5L9276 interrupts Micom when input buffer state has been
changed. Micom can a certain time until output buffer becomes empty when Micom can conclude that -of-song
reached. Therefore Micom should keep in mind the last sector has been sent S5L9276 and from that time it
checks input buffer state at each interrupts.