|
7.15. Quad Page Program (32H) The Quad Page Program command is forprogramming the memory using four pins: IO0, IO1, IO2, and IO3. To use QuadPage Program the Quad enable in status register Bit9 must be set (QE=1). AWrite Enable (WREN) command must previously have been executed to set the WriteEnable Latch (WEL) bit before sending the Page Program command. The quad PageProgram command is entered by driving CS# Low, followed by the command code(32H), three address bytes and at least one data byte on IO pins. The command sequence is shown in Figure19.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 Quad Page Program (PP)command is not executed. As soon as CS# is driven high, theself-timed Quad Page Program cycle (whose duration is tPP) is initiated. While the Quad PageProgram cycle is in progress, the Status Register may be read to check thevalue of the Write In Progress (WIP) bit. The Write in Progress (WIP) bit is 1during the self-timed Quad Page Program cycle, and is 0 when it is completed.At some unspecified time before the cycle is completed, the Write Enable Latch(WEL) bit is reset. A Quad PageProgram command applied to a page which is protected by the Block Protect (BP4,BP3, BP2, BP1, and BP0) is not executed.
7.15.四页编程指令 (32H) 四页编程指令用于通过四根线IO0、IO1、IO2 和 IO3 来编程内存。要使用四页编程,状态寄存器 Bit9 中的四页使能(QE=)必须设置。在发送页面编程指令之前,必须先执行写使能(WREN)命令以设置写使能锁存器(WEL)位。页编程指令通过将 CS# 拉低,然后是命令代码(32H)、三个地址字节和至少一个数据字节进入 IO 引脚。 序列如图19所示。如果向设备发送超过256字节的数据,之前锁存的数据将被丢弃,并且保证最后256个数据字节在同一内正确编程。如果向设备发送的数据字节少于256个,它们将在请求的地址处正确编程,并且不会对同一页面中的其他字节产生任何。在最后数据字节的第八位被锁存后,必须将 CS# 拉高;否则,四页编程(PP)命令将不被执行。 一旦# 被拉高,自定时四页编程周期(其持续时间为 tPP)即启动。当四页编程周期正在进行时,可以读取状态寄存器检查写操作进行中(WIP)位的值。在自定时四页编程周期期间,写操作进行中(WIP)位为1,完成后为0在周期完成之前某个未指定的时间,写使能锁存器(WEL)位被复位。 应用于受块保护(BP4、BP3、2、BP1 和 BP0)保护的页面的四页编程命令将不被执行。
|