|
7.14. Page Program (PP) (02H) The Page Program (PP) command is forprogramming the memory. A Write Enable (WREN) command must previously have beenexecuted to set the Write Enable Latch (WEL) bit before sending the PageProgram command. The Page Program(PP) command is entered by driving CS# Low, followed by the command code, threeaddress bytes and at least one data byte on SI. If the 8 least significantaddress bits (A7-A0) are not all zero, all transmitted data that goes beyondthe end of the current page are programmed from the start address of the samepage (from the address whose 8 least significant bits (A7-A0) are all zero).CS# must be driven low for the entire duration of the sequence. The PageProgram command sequence: CS# goes low à sending Page Program command à 3-byte address on SI à at least 1 byte data on SI à CS# goes high. The command sequence is shown in Figure18.If more than 256 bytes are sent to the device, previously latched data arediscarded and the last 256 data bytes are guaranteed to be programmed correctlywithin the same page. If less than 256 data bytes are sent to device, they arecorrectly programmed at the requested addresses without having any effects onthe other bytes of the same page. CS# must be driven high after the eighth bitof the last data byte has been latched in; otherwise the Page Program (PP)command is not executed. As soon as CS# is driven high, theself-timed Page Program cycle (whose duration is tPP) is initiated. While the Page Programcycle is in progress, the Status Register may be read to check the value of theWrite in Progress (WIP) bit. The Write in Progress (WIP) bit is 1 during theself-timed Page Program cycle, and is 0 when it is completed. At someunspecified time before the cycle is completed, the Write Enable Latch (WEL)bit is reset. A Page Program (PP) command applied to a page which isprotected by the Block Protect (BP4, BP3, BP2, BP1, and BP0) is not executed.
7.14. 页面编程(PP)(02H) 页面编程(PP)命令用于编程内存。发送页面编程命令之前,必须先执行写使能(WREN)命令以设置写使能寄存器(WEL)位。 通过将CS#低,然后发送命令代码、三个地址字节和至少1个数据字节到SI,可以输入页面编程(PP)命令。如果8个最低有效位地址位A7-A0)不全为零,则所有传输的数据超过当前页面末尾的部分从同一页面的起始地址开始编程(从8个最低有效位地址(A7-A0)全为零的地址开始)。CS#在整个序列期间必须保持低电平。页面编程命令序列:CS#拉低 发送页面编程命令 SI上3字节地址 SI上至少1字节数据 CS#拉高。命令序列如图18所示。如果向发送的数据超过256字节,则之前锁存的数据将被丢弃,并且保证最后256个数据字节在同一页面内正确编程。如果向设备的数据少于256个数据字节,它们将在所请求的地址正确编程,并且不会对同一页面中的其他字节产生任何影响。在最后1个数据节的第8位被锁存之后,必须将CS#拉高;否则,页面编程(PP)命令将不会执行 一旦CS#被驱动为高电平,自定时序的页面编程周期(其持续时间为tPP)将被启动。当页面编程正在进行时,可以读取状态寄存器以检查写操作进行中(WIP)位的值。在自定时序的页面编程周期中,写操作进行中WIP)位为1,当编程周期完成后为0。在编程周期完成之前某个未指定的时间点,写使能锁存器(WEL)位复位。 对受块保护(BP4、BP3、BP2、BP1和BP0)保护的页面应用页面编程(PP)命令将不被执行。
|