| 数据搜索系统,热门电子元器件搜索 |
|
MAS6502 数据表(PDF) 3 Page - Micro Analog systems |
|
|
|||||||||||||||||||||||||||||
MAS6502 数据表(HTML) 3 Page - Micro Analog systems |
|
3 / 3 page ![]() DAE6502.002 8 November 2011 3 (3) EEPROM WRITE PROCEDURE See figure 1 on previous page showing the EEPROM write procedure. Make sure in the beginning of the EEPROM write procedure that the MAS6502 initial conditions are met. Connecting VDD triggers power-on-reset (POR) but to make sure the device is reset an additional reset can be given using the XCLR pin or writing any data on the reset register 30HEX via I 2C serial bus. EEPROM write is enabled by writing value 55HEX to EEPROM write enable register 3BHEX. Any other value in this register disables the EEPROM write. 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). After all data bytes are written the EEPROM memory can be protected from write and erasing by writing 00HEX to the EEPROM write enable register 3BHEX. Table 1 below shows the MAS6502 register and EEPROM data addresses. See also the MAS6502 datasheet for further details of registers, EEPROM and serial bus communication. REGISTER AND EEPROM DATA ADDRESSES Table 1. Register and EEPROM data addresses A7 A6 A5 A4 A3 A2 A1 A0 HEX (X=0) Description Note X 0 0 0 0 0 0 0 00 EEPROM; erase internal clock oscillator trimming, reserved! E X 0 0 A4 A3 A2 A1 A0 01…1F EEPROM; erase data at address [A4:A0] E X 1 0 0 0 0 0 0 40 EEPROM; read or write internal clock oscillator trimming, reserved! E X 1 0 A4 A3 A2 A1 A0 41…5F EEPROM; read or write data at address [A4:A0] E X X 1 1 0 0 0 0 30 Reset register; contains no data, write any data for reset R X X 1 1 0 1 1 1 37 Test and trim control register R X X 1 1 1 0 0 0 38 Oscillator frequency control register R X X 1 1 1 0 0 1 39 Data input register for EEPROM R X X 1 1 1 0 1 0 3A Control register for EEPROM R X X 1 1 1 0 1 1 3B Write and erase enable for EEPROM R X X 1 1 1 1 0 0 3C Status register for EEPROM R X X 1 1 1 1 0 1 3D MSB conversion result R X X 1 1 1 1 1 0 3E LSB conversion result R X X 1 1 1 1 1 1 3F ADC control register R X = Don’t care, E = EEPROM, R= Register MICRO ANALOG SYSTEMS OY CONTACTS Micro Analog Systems Oy Kutomotie 16 FI-00380 Helsinki, FINLAND Tel. +358 10 835 1100 Fax +358 10 835 1109 http://www.mas-oy.com NOTICE Micro Analog Systems Oy reserves the right to make changes to the products contained in this data sheet in order to improve the design or performance and to supply the best possible products. Micro Analog Systems Oy assumes no responsibility for the use of any circuits shown in this data sheet, conveys no license under any patent or other rights unless otherwise specified in this data sheet, and makes no claim that the circuits are free from patent infringement. Applications for any devices shown in this data sheet are for illustration only and Micro Analog Systems Oy makes no claim or warranty that such applications will be suitable for the use specified without further testing or modification. |
|
|
链接网址 |
| 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 |