| 数据搜索系统,热门电子元器件搜索 |
|
MCP4142T-103I/ST 数据表(PDF) 49 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
MCP4142T-103I/ST 数据表(HTML) 49 Page - Microchip Technology |
|
49 / 88 page ![]() © 2008 Microchip Technology Inc. DS22059B-page 49 MCP414X/416X/424X/426X 7.5 Write Data Normal and High Voltage The Write command is a 16-bit command. The Write Command can be issued to both the Volatile and Non-Volatile memory locations. The format of the command is shown in Figure 7-2. A Write command to a Volatile memory location changes that location after a properly formatted Write Command (16-clock) have been received. A Write command to a Non-Volatile memory location will only start a write cycle after a properly formatted Write Command (16-clock) have been received and the CS pin transitions to the inactive state (VIH). 7.5.1 SINGLE WRITE TO VOLATILE MEMORY The write operation requires that the CS pin be in the active state (VILor VIHH). Typically, the CS pin will be in the inactive state (VIH) and is driven to the active state (VIL). The 16-bit Write Command (Command Byte and Data Byte) is then clocked in on the SCK and SDI pins. Once all 16 bits have been received, the specified volatile address is updated. A write will not occur if the write command isn’t exactly 16 clocks pulses. This protects against system issues from corrupting the Non-Volatile memory locations. Figure 6-3 and Figure 6-4 show possible waveforms for a single write. 7.5.2 SINGLE WRITE TO NON-VOLATILE MEMORY The sequence to write to to a single non-volatile memory location is the same as a single write to volatile memory with the exception that after the CS pin is driven inactive (VIH), the EEPROM write cycle (tWC) is started. A write cycle will not start if the write command isn’t exactly 16 clocks pulses. This protects against system issues from corrupting the Non-Volatile memory locations. After the CS pin is driven inactive (VIH), the serial interface may immediately be re-enabled by driving the CS pin to the active state (VILor VIHH). During an EEPROM write cycle, only serial commands to Volatile memory (addresses 00h, 01h, 04h, and 05h) are accepted. All other serial commands are ignored until the EEPROM write cycle (twc) completes. This allows the Host Controller to operate on the Volatile Wiper registers and the TCON register, and to Read the Status Register. The EEWA bit in the Status register indicates the status of an EEPROM Write Cycle. Once a write command to a Non-Volatile memory location has been received, NO other SPI commands should be received before the CS pin transitions to the inactive state (VIH) or the current SPI command will have a Command Error (CMDERR) occur. FIGURE 7-2: Write Command - SDI and SDO States. Note: Writes to certain memory locations will be dependant on the state of the WiperLock Technology bits and the Write Protect bit. A D 3 A D 2 A D 1 A D 0 00 D 9 D 8 D 7 D 6 D 5 D 4 D 3 D 2 D 1 D 0 1111111111111111 Valid Address/Command combination 111111 0 0 0 0 0 0 0 0 0 0 Invalid Address/Command combination (1) COMMAND BYTE DATA BYTE SDI SDO Note 1: If an Error Condition occurs (CMDERR = L), all following SDO bits will be low until the CMDERR condition is cleared (the CS pin is forced to the inactive state). |
|
链接网址 |
| 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 |