| 数据搜索系统,热门电子元器件搜索 |
|
MAS6512 数据表(PDF) 17 Page - Micro Analog systems |
|
|
|||||||||||||||||||||||||||||
MAS6512 数据表(HTML) 17 Page - Micro Analog systems |
|
17 / 32 page ![]() DA6512.003 2 December, 2016 17 (32) EEPROM WRITE PROCEDURE This chapter gives instructions for writing data to the EEPROM memory. The MAS6512 16 bit Capacitance-to-Digital Converter (CDC) has a 256 bit (32 bytes) EEPROM memory. 8 bits (1 byte) has been reserved for storing internal clock oscillator trimming data and other 8 bits (1 byte) for the programmable I2C device address. There are also 24 bits (3 bytes) for trimming the capacitive sensor front-end. The remaining 216 bits (27 bytes) are free for storing sensor calibration data and other use. See figure 3 on previous page showing the EEPROM write procedure. Make sure in the beginning of the EEPROM write procedure that the MAS6512 initial conditions are met. Connecting VDD triggers power-on-reset (POR) but to make sure the device is reset an additional reset should be given using the XCLR pin or writing any data on the reset register E0/60HEX via the serial bus. The device reset will guarantee that SOSC=0 is selected in the test register (E1/61HEX). This selects 200 kHz clock which is required in the EEPROM programming. EEPROM write is enabled by writing value 04HEX to the EEPROM write enable register (E9/69HEX). The default register value after power on is 00HEX. Next the data can be written to the EEPROM memory one byte (8-bit) at a time. It is necessary to have a delay of minimum 16ms after programming each byte (8-bit). The success of each write can be verified by reading back the data (8-bit) and comparing it to the original byte (8-bit). Additionally it is also possible to check the EEPROM status register (EC/6CHEX) value after each read back. The EEPROM status register value should be 00HEX when the read EEPROM data byte is free of errors. After all data bytes are written the EEPROM memory can be protected from write by writing 00HEX to the EEPROM write enable register (E9/69HEX). See table 1 showing the MAS6512 register and EEPROM data addresses. |
|
链接网址 |
| 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 |