STA014B STMICROELECTRONICS [STMicroelectronics], STA014B Datasheet - Page 41

no-image

STA014B

Manufacturer Part Number
STA014B
Description
MPEG 2.5 LAYER III AUDIO DECODER WITH ADPCM AND SRS WOWO POSTPROCESSING CAPABILITY
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet
5.6. STA014 CONFIGURATION FILE FORMAT
The STA014 Configuration File is an ASCII format. An example of the file format is the following:
58
42
128 15
............
It is a sequence of rows and each one can be interpreted as an I
The first part of the row is the I
To download the STA014 configuration file into the device, a sequence of write operation to STA014 I
interface must be performed.
The following program describes the I
STA014 Configuration Code (pseudo code)
download cfg - file
Note:1
STA014 is a device based on an integrated DSP core. Some of the I2C registers default values are loaded after an internal DSP boot operation.
The bootstrap time is 60 micro second. Only after this time lenght, the data in the register can be considered stable.
Note 2:
Refer also to the application note AN1250
{
fopen (cfg_file);
fp:=1;
do {
1
4
while (!EDF)
}
I
I
I
I
I
fp++;
}
2
2
2
2
2
C_start_cond;
C_write_dev_addr;
C_write_subaddress (fp); /* write subaddress
C_write_data (fp);
C_stop_cond;
2
C address (register) and the second one is the I
42
/* generate I
/*set file pointer to first row */
/* generate I
/* write STA014 device address
/* write data
/* update pointer to new file row
/* repeat until End of File
/* End routine
2
C routine to be implemented for the configuration driver:
4
D98AU976
2
2
C stop condition
C start condition for STA014 device address */
I
I
2
2
C REGISTER VALUE
C SUB-ADDRESS
2
C command.
STA014-STA014B-STA014T
2
C data (value).
*/
*/
*/
*/
*/
*/
*/
41/45
2
C

Related parts for STA014B