
OPTICAL CD MP3 SYSTEM
S5L9276 (PRELIMINARY SPEC)
45
Get Decoding Time for Display
Wait interrupt continuously during decoding process for time display.
H_INT_READ
(8'h51)
*8'bxxx111xx that indicates S5L9276 send Current_Decoding_Sec
S5L9276 send this interrupt about twice or three times per second. The exact period is determined by sampling
frequency. but Micom doesn't need to know the period becase send Current_Decoding_Sec (in second) when
interrupt. Micom only have to Current_Decoding_Sec. After receiving interrupt, Micom should get
Current_Decoding_Sec (hexa value) by reading the registers shown below :
H_OUT1_LOW
H_OUT1_HIGH
(8'h01)
(8'h02)
*
*
Micom would better display Current_Decoding_Sec in the format of minute: second than second.
Set Current Decoding Time with Current Sector Number
During Fast Forward or Fast Backward, S5L9276 cannot send correct decoding time of skipped frames. But Micom
can update decoding time correctly by sending number currently being decoded.
1.
Micom writes lower byte of "sector number currently decoded" to H_IN_LOW and higher byte of "sector number
currently decoded" to H_IN_HIGH.
2.
Micom send a command "Set Current Decoding Time with Sector Number".
H_SSPINT
(8'h80 )
* 8'h11 is "Set Current Decoding Time with Sector Number".
Form that time, S5L9276 send new Current_Decoding_Sec converted from "the sector currently decoded" set by
Micom.
Compute Total Time
Total_Sector_Number was set in the way, Micom can call "Compute Time" to get total play time.
1.
Micom send command "Compute Total Time".
H_SSPINT
Micom wait interrupt.
(8'h80 )
* 8'h10 (Compute Total Time)
2.
H_INT_READ
(8'h51)
*8'bxxx110xx that indicates S5L9276 send total time in second
After receiving interrupt, Micom should get Total_Sec (hexa value) by reading the shown below :
H_OUT1_LOW
H_OUT1_HIGH
(8'h01)
(8'h02)
*
*
Micom would better display Total_Sec in the format of minute: second than second.