| 数据搜索系统,热门电子元器件搜索 |
|
STA014 数据表(PDF) 41 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STA014 数据表(HTML) 41 Page - STMicroelectronics |
|
41 / 45 page ![]() 5.6. STA014 CONFIGURATION FILE FORMAT The STA014 Configuration File is an ASCII format. An example of the file format is the following: 58 1 42 4 128 15 ............ It is a sequence of rows and each one can be interpreted as an I 2C command. The first part of the row is the I 2C address (register) and the second one is the I2C data (value). To download the STA014 configuration file into the device, a sequence of write operation to STA014 I 2C interface must be performed. The following program describes the I 2C routine to be implemented for the configuration driver: STA014 Configuration Code (pseudo code) download cfg - file { fopen (cfg_file); fp:=1; /*set file pointer to first row */ do { I 2C_start_cond; /* generate I 2C start condition for STA014 device address */ I 2C_write_dev_addr; /* write STA014 device address */ I 2C_write_subaddress (fp); /* write subaddress */ I 2C_write_data (fp); /* write data */ I 2C_stop_cond; /* generate I 2C stop condition */ fp++; /* update pointer to new file row */ } while (!EDF) /* repeat until End of File */ } /* End routine */ 42 4 I 2C REGISTER VALUE I 2C SUB-ADDRESS D98AU976 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 STA014-STA014B-STA014T 41/45 |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |