| поискавой системы для электроныых деталей |
|
ATXP032 датащи(PDF) 29 Page - Dialog Semiconductor |
|
|
|||||||||||||||||||||||||||||
ATXP032 датащи(HTML) 29 Page - Dialog Semiconductor |
|
29 / 113 page ![]() 27 ATXP032 DS-ATXP032–114I–4-2020 Figure 8-13. Buffer Read 9. Program and Erase Commands 9.1 Byte/Page Program (02h) The Byte/Page Program command allows anywhere from a single byte of data to 256 bytes of data to be programmed into previously erased memory locations. An erased memory location is one that has all eight bits set to the logic “1” state (a byte value of FFh). Before a Byte/Page Program command can be started, the Write Enable command must have been previously issued to the device (see “Write Enable (06h)” on page 42) to set the Write Enable Latch (WEL) bit of the Status/Control register to a logic “1” state. To perform a Byte/Page Program command, an command of 02h must be clocked into the device followed by the four address bytes denoting the first byte location of the memory array to begin programming at. After the address bytes have been clocked in, data can then be clocked into the device and is stored in an internal buffer. If the starting memory address denoted by A 31 - A0 does not fall on an even 256-byte page boundary (A7 - A0 are not all 0), then special circumstances regarding which memory locations to be programmed apply. In this situation, any data that is sent to the device that goes beyond the end of the page wraps around back to the beginning of the same page. For example, if the starting address denoted by A 31 - A0 is 0000FEh, and three bytes of data are sent to the device, then the first two bytes of data is programmed at addresses 0000FEh and 0000FFh while the last byte of data is programmed at address 000000h. The remaining bytes in the page (addresses 000001h through 0000FDh) are not programmed and remain in the erased state (FFh). In addition, if more than 256 bytes of data are sent to the device, then only the last 256 bytes sent is latched into the internal buffer. When the CS pin is deasserted, the device takes the data stored in the internal buffer and programs it into the appropriate memory array locations based on the starting address specified by A 31-A0 and the number of data bytes sent to the device. If less than 256 bytes of data were sent to the device, then the remaining bytes within the page are not programmed and remain in the erased state (FFh). The programming of the data bytes is internally self-timed and should take place in a time of t PP or tBP if only programming a single byte. The four address bytes and at least one complete byte of data must be clocked into the device before the CS pin is deasserted, and the CS pin must be deasserted on whole byte boundaries (multiples of eight bits); otherwise, the device aborts the operation and no data is programmed into the memory array. In addition, if the memory is in the protected state, then the Byte/Page Program command is not executed, and the device returns to the idle state once the CS pin has been deasserted. The WEL bit in the Status/Control register is reset back to the logic “0” state if the program cycle aborts due to an incomplete address being sent, an incomplete byte of data being sent, or because the memory location to be programmed is protected. While the device is programming, the Status/Control register can be read and indicates that the device is busy. For faster throughput, it is recommended that the Status/Control register be polled rather than waiting the t BP or tPP D D D D D D D D X X X X X X X X A A A A A A A A MSB MSB LSB MSB 1 1 0 1 0 1 0 0 Output Data Byte 1 Dummy Byte Address Bits A31-A0 Opcode DS 2 3 1 0 6 7 5 4 10 11 9 8 48 49 12 52 53 51 50 37 38 54 41 42 40 39 45 46 44 43 47 SI SCK SO CS |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |