




已阅读5页,还剩28页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
简单翻译简单翻译 W25Q64BV 数据手册数据手册(Winbond 串行闪存串行闪存 SPI 总线总线) wxleasyland 2016.6 W25Q64BV 64M-BIT SERIAL FLASH MEMORY WITH DUAL AND QUAD SPI 8MB 字节大小 1. GENERAL DESCRIPTION The W25Q64BV (64M-bit) Serial Flash memory provides a storage solution for systems with limited space, pins and power. The 25Q series offers flexibility and performance well beyond ordinary Serial Flash devices. They are ideal for code shadowing to RAM, executing code directly from Dual/Quad SPI (XIP) and storing voice, text and data. 芯片适用于RAM的影子代码,直接从SPI总线执行代码,并保存数据。 The devices operate on a single 2.7V to 3.6V power supply with current consumption as low as 4mA active and 1A for power-down. All devices are offered in space- saving packages. The W25Q64BV array is organized into 32,768 programmable pages of 256-bytes each. 按 32768个页组织,每页256字节。 Up to 256 bytes can be programmed at a time. 一次可编程1256个字节 Pages can be erased in groups of 16 (sector erase), groups of 128 (32KB block erase), groups of 256 (64KB block erase) or the entire chip (chip erase). 页可按组擦除: 一组16页 (即一个4KB扇区) 、 一组128页(即32KB块)、一组256页(即64KB块),或整个芯片。 The W25Q64BV has 2,048 erasable sectors and 128 erasable blocks respectively. 相应地有2048 个扇区和128个可擦除块。 The small 4KB sectors allow for greater flexibility in applications that require data and parameter storage. (See figure 2.) 4KB的小扇区有很大的灵活性。 The W25Q64BV supports the standard Serial Peripheral Interface (SPI), and a high performance Dual/Quad output as well as Dual/Quad I/O SPI: Serial Clock, Chip Select, Serial Data I/O0 (DI), I/O1 (DO), I/O2 (/WP), and I/O3 (/HOLD). SPI clock frequencies of up to 80MHz are supported allowing equivalent clock rates of 160MHz for Dual Output and 320MHz for Quad Output when using the Fast Read Dual/Quad Output instructions. These transfer rates can outperform standard Asynchronous 8 and 16-bit Parallel Flash memories. The Continuous Read Mode allows for efficient memory access with as few as 8-clocks of instruction-overhead to read a 24-bit address, allowing true XIP (execute in place) operation. A Hold pin, Write Protect pin and programmable write protection, with top or bottom array control, provide further control flexibility. Additionally, the device supports JEDEC standard manufacturer and device identification with a 64-bit Unique Serial Number. 2. FEATURES ? Family of SpiFlash Memories W25Q64BV: 64M-bit / 8M-byte (8,388,608) 256-bytes per programmable page 每个编程页256字节 ? Standard, Dual or Quad SPI Standard SPI: CLK, /CS, DI, DO, /WP, /Hold Dual SPI: CLK, /CS, IO0, IO1, /WP, /Hold 针脚定义不同了 Quad SPI: CLK, /CS, IO0, IO1, IO2, IO3 针脚定义不同了 ? Highest Performance Serial Flash Up to 6X that of ordinary Serial Flash 80MHz clock operation 160MHz equivalent Dual SPI 320MHz equivalent Quad SPI 40MB/S continuous data transfer rate ? Efficient “Continuous Read Mode” Low Instruction overhead As few as 8 clocks to address memory Allows true XIP (execute in place) operation Outperforms X16 Parallel Flash ? Low Power, Wide Temperature Range Single 2.7 to 3.6V supply 4mA active current, 1A Power-down (typ.) -40C to +85C operating range ? Flexible Architecture with 4KB sectors 灵活的灵活的4KB扇区扇区 Uniform Sector Erase (4K-bytes) Block Erase (32K and 64K-bytes) Program one to 256 bytes 编程1256个字节 More than 100,000 erase/write cycles 10万次擦写周期 More than 20-year data retention 20年数据保存期 ? Advanced Security Features 安全特性安全特性 Software and Hardware Write-Protect 软件、硬件写保护 Top or Bottom, Sector or Block selection 顶或底,扇区或块 的选择 Lock-Down and OTP protection(1) 64-Bit Unique ID for each device(1) Note 1: Contact Winbond for details 5. PAD CONFIGURATION PDIP 300-MIL 6. PIN DESCRIPTION SOIC 208-MIL, PDIP 300-MIL AND WSON 8X6-MM PIN NO. PIN NAME I/O FUNCTION 1 /CS I Chip Select Input 2 DO (IO1) I/O Data Output (Data Input Output 1)*1 3 /WP (IO2) I/O Write Protect Input ( Data Input Output 2)*2 4 GND Ground 5 DI (IO0) I/O Data Input (Data Input Output 0)*1 6 CLK I Serial Clock Input 7 /HOLD (IO3) I/O Hold Input (Data Input Output 3)*2 8 VCC Power Supply *1 IO0 and IO1 are used for Standard and Dual SPI instructions *2 IO0 IO3 are used for Quad SPI instructions 8.1 Package Types 略略 8.2 Chip Select (/CS) 芯片选择芯片选择 The SPI Chip Select (/CS) pin enables and disables device operation. When /CS is high, the device is deselected and the Serial Data Output (DO, or IO0, IO1, IO2, IO3) pins are at high impedance. CS高电平时,各脚是高阻态。 When deselected, the devices power consumption will be at standby levels unless an internal erase, program or status register cycle is in progress. 这时处于低耗电状态。 When /CS is brought low the device will be selected, power consumption will increase to active levels and instructions can be written to and data read from the device. After power-up, /CS must transition from high to low before a new instruction will be accepted. 上电后,在它接收新的指令前,CS必须有从高变低的转换。 The /CS input must track the VCC supply level at power-up (see “Write Protection” and figure 31). If needed, a pull-up resister on /CS can be used to accomplish this. 在上电时在上电时,CS脚脚需追随到需追随到VCC 电压电压,如果需要的话如果需要的话,可用上拉电阻来实现可用上拉电阻来实现。 8.3 Serial Data Input, Output and IOs (DI, DO and IO0, IO1, IO2, IO3) The W25Q64BV supports standard SPI, Dual SPI and Quad SPI operation. Standard SPI instructions use the unidirectional DI (input) pin to serially write instructions, addresses or data to the device on the rising edge of the Serial Clock (CLK) input pin. 标准SPI方式, 使用单向的DI脚,来写入指令、地址或数据到芯片中,在CLK时钟上升沿。 Standard SPI also uses the unidirectional DO (output) to read data or status from the device on the falling edge CLK. 标准SPI方式,也使用单向的DO脚,来读出芯片中的数据或状态,在CLK时钟下 升沿(注:意思是芯片是在下降沿移出数据)。 Dual and Quad SPI instruction use the bidirectional IO pins to serially write instructions, addresses or data to the device on the rising edge of CLK and read data or status from the device on the falling edge of CLK. Quad SPI instructions require the non-volatile Quad Enable bit (QE) in Status Register-2 to be set. When QE=1 the /WP pin becomes IO2 and /HOLD pin becomes IO3. 8.4 Write Protect (/WP) The Write Protect (/WP) pin can be used to prevent the Status Register from being written. WP 脚可用于保护“状态寄存器”不被写入。 Used in conjunction with the Status Registers Block Protect (SEC, TB, BP2, BP1 and BP0) bits and Status Register Protect (SRP) bits, a portion or the entire memory array can be hardware protected. 与状态寄存器的 Block Protect比特位、 SRP比特位 相结合,一个区域或整个芯片可以 被硬件写保护。 The /WP pin is active low. WP脚是低电平有效。 When the QE bit of Status Register-2 is set for Quad I/O, the /WP pin (Hardware Write Protect) function is not available since this pin is used for IO2. See figure 1a, 1b, 1c and 1d for the pin configuration of Quad I/O operation. 8.5 HOLD (/HOLD) The /HOLD pin allows the device to be paused while it is actively selected. 用于允许芯片被暂停,当 它处于选中时(低电平)。 When /HOLD is brought low, while /CS is low, the DO pin will be at high impedance and signals on the DI and CLK pins will be ignored (dont care). HOLD和CS为低电平时,DO脚为高阻态,并忽略DI和 CLK脚的信号。 When /HOLD is brought high, device operation can resume. The /HOLD function can be useful when multiple devices are sharing the same SPI signals. The /HOLD pin is active low. HOLD脚是低电平有效。 When the QE bit of Status Register-2 is set for Quad I/O, the /HOLD pin function is not available since this pin is used for IO3. See figure 1a-d for the pin configuration of Quad I/O operation. 8.6 Serial Clock (CLK) The SPI Serial Clock Input (CLK) pin provides the timing for serial input and output operations. (“See SPI Operations“) 9. BLOCK DIAGRAM 10. FUNCTIONAL DESCRIPTION 10.1 SPI OPERATIONS 10.1.1 Standard SPI Instructions 标准标准SPI The W25Q64BV is accessed through an SPI compatible bus consisting of four signals: Serial Clock (CLK), Chip Select (/CS), Serial Data Input (DI) and Serial Data Output (DO). 标准SPI是4个信号CLK, CS,DI,DO。 Standard SPI instructions use the DI input pin to serially write instructions, addresses or data to the device on the rising edge of CLK. 使用单向的DI脚,来写入指令、地址或数据到芯片中,在CLK时钟上升 沿。 The DO output pin is used to read data or status from the device on the falling edge CLK. 使用单向 的DO脚,来读出芯片中的数据或状态,在CLK时钟下升沿(注:意思是芯片是在下降沿移出数据)。 SPI bus operation Modes 0 (0,0) and 3 (1,1) are supported. 支持mode0 和mode3。 The primary difference between Mode 0 and Mode 3 concerns the normal state of the CLK signal when the SPI bus master is in standby and data is not being transferred to the Serial Flash. 这2 个mode的区别主要在于CLK的电平,当SPI总线上的主机处于待机并且数据没有传输时。 For Mode 0, the CLK signal is normally low on the falling and rising edges of /CS. MODE0时, CLK是低电平,在CS的下降或上升沿。 For Mode 3, the CLK signal is normally high on the falling and rising edges of /CS. MODE3时, CLK是高电平,在CS的下降或上升沿。 10.1.2 Dual SPI Instructions 略略 10.1.3 Quad SPI Instructions 略略 10.1.4 Hold Function HOLD脚脚 (略略) The /HOLD signal allows the W25Q64BV operation to be paused while it is actively selected (when /CS is low). 在CS拉低后,HOLD脚可用于暂停。 The /HOLD function may be useful in cases where the SPI data and clock signals are shared with other devices. 在多芯片时,HOLD脚可能有用。 For example, consider if the page buffer was only partially written when a priority interrupt requires use of the SPI bus. In this case the /HOLD function can save the state of the instruction and the data in the buffer so programming can resume where it left off once the bus is available again. The /HOLD function is only available for standard SPI and Dual SPI operation, not during Quad SPI. To initiate a /HOLD condition, the device must be selected with /CS low. A /HOLD condition will activate on the falling edge of the /HOLD signal if the CLK signal is already low. If the CLK is not already low the /HOLD condition will activate after the next falling edge of CLK. The /HOLD condition will terminate on the rising edge of the /HOLD signal if the CLK signal is already low. If the CLK is not already low the /HOLD condition will terminate after the next falling edge of CLK. During a /HOLD condition, the Serial Data Output (DO) is high impedance, and Serial Data Input (DI) and Serial Clock (CLK) are ignored. The Chip Select (/CS) signal should be kept active (low) for the full duration of the /HOLD operation to avoid resetting the internal logic state of the device. 10.2 WRITE PROTECTION 写保护写保护 Applications that use non-volatile memory must take into consideration the possibility of noise and other adverse system conditions that may compromise data integrity. To address this concern, the W25Q64BV provides several means to protect data from inadvertent writes. 10.2.1 Write Protect Features ? Device resets when VCC is below threshold ? Time delay write disable after Power-up ? Write enable/disable instructions and automatic write disable after program and erase ? Software and Hardware (/WP pin) write protection using Status Register ? Write Protection using Power-down instruction ? Lock Down write protection until next power-up(1) ? One Time Program (OTP) write protection(1) Note 1: These features are available upon special order. Please contact Winbond for details. Upon power-up or at power-down, the W25Q64BV will maintain a reset condition while VCC is below the threshold value of VWI, (See Power-up Timing and Voltage Levels and Figure 31). 上电 或失电时,如果VCC电压低于门限值,芯片将进行复位。 While reset, all operations are disabled and no instructions are recognized. During power-up and after the VCC voltage exceeds VWI, all program and erase related instructions are further disabled for a time delay of tPUW. This includes the Write Enable, Page Program, Sector Erase, Block Erase, Chip Erase and the Write Status Register instructions. Note that the chip select pin (/CS) must track the VCC supply level at power-up until the VCC-min level and tVSL time delay is reached. If needed a pull-up resister on /CS can be used to accomplish this. 上电后有一段时间是不能编程或擦除的。 注意:上电时CS脚电压必须追随VCC电压。 After power-up the device is automatically placed in a write-disabled state with the Status Register Write Enable Latch (WEL) set to a 0. 上电后,WEL比特位自动清0,所以芯片不能写入。 A Write Enable instruction must be issued before a Page Program, Sector Erase, Chip Erase or Write Status Register instruction will be accepted. 在页面编程、扇区擦除、芯片擦除或者写入状态 寄存器之前,必须先进行Write Enable指令。 After completing a program, erase or write instruction, the Write Enable Latch (WEL) is automatically cleared to a write-disabled state of 0. 擦除或写入完成后,WEL又会自动清0. Software controlled write protection is facilitated using the Write Status Register instruction and setting the Status Register Protect (SRP0, SRP1) and Block Protect (SEC,TB, BP2, BP1 and BP0) bits. 可设置芯片写保护。 These settings allow a portion or all of the memory to be configured as read only. 这些设定可以 允许一个区域或整个芯片变成只读状态。 Used in conjunction with the Write Protect (/WP) pin, changes to the Status Register can be enabled or disabled under hardware control. 联合WP脚一起用,可以实现状态寄存器的硬件写保 护。 See Status Register for further information. Additionally, the Power-down instruction offers an extra level of write protection as all instructions are ignored except for the Release Power-down instruction. 关机指令也会使得芯片写保护。 11. CONTROL AND STATUS REGISTERS 状态寄存器状态寄存器 The Read Status Register-1 and Status Register-2 instructions can be used to provide status on the availability of the Flash memory array, if the device is write enabled or disabled, the state of write protection and the Quad SPI setting. The Write Status Register instruction can be used to configure the devices write protection features and Quad SPI setting. Write access to the Status Register is controlled by the state of the non-volatile Status Register Protect bits (SRP0, SRP1), the Write Enable instruction, and in some cases the /WP pin. 写入 “状态寄存器”的权限,由SRP0、SRP1比特位、写能指令、WP脚 来控制。 11.1 STATUS REGISTER 状态状态寄存器寄存器(有有寄存器寄存器1和和寄存器寄存器2,比特位比特位S0S15) 11.1.1 BUSY 忙忙(只读只读) BUSY is a read only bit in the status register (S0) that is set to a 1 state when the device is executing a Page Program, Sector Erase, Block Erase, Chip Erase or Write Status Register instruction. BUSY是“只读”比特位S0,当芯片忙时,会设置成1。 During this time the device will ignore further instructions except for the Read Status Register and Erase Suspend instruction (see tW, tPP, tSE, tBE, and tCE in AC Characteristics). When the program, erase or write status register instruction has completed, the BUSY bit will be cleared to a 0 state indicating the device is ready for further instructions. 11.1.2 Write Enable Latch (WEL) 写能写能(只读只读) Write Enable Latch (WEL) is a read only bit in the status register (S1) that is set to a 1 after executing a Write Enable Instruction. WEL是“只读”比特位S1,当执行了写能指令后,就会被 设置成1。 The WEL status bit is cleared to a 0 when the device is write disabled. 当芯片为禁止写入时, WEL是设置成0。 A write disable state occurs upon power-up or after any of the following instructions: Write Disable, Page Program, Sector Erase, Block Erase, Chip Erase and Write Status Register. 当上电、或在以下 指令操作之后,芯片会变成禁止写入状态(WEL=0):写入禁止指令、页面编程、扇区擦除、块擦除、 芯片擦除、写状态寄存器指令。 11.1.3 Block Protect Bits (BP2, BP1, BP0) 保护范围设定保护范围设定(可读写可读写) The Block Protect Bits (BP2, BP1, BP0) are non-volatile read/write bits in the status register (S4, S3, and S2) that provide Write Protection control and status. BP2, BP1, BP0 是非易失、可读写比 特位 Block Protect bits can be set using the Write Status Register Instruction (see tW in AC characteristics). 用写状态寄存器指令来写这些比特。 All, none or a portion of the memory array can be protected from Program and Erase instructions (see Status Register Memory Protection table). The factory default setting for the Block Protection Bits is 0, none of the array protected. 出厂默 认值是0。 11.1.4 Top/Bottom Block Protect (TB) 从顶从顶/底开始底开始保护保护(可读写可读写) The non-volatile Top/Bottom bit (TB) controls if the Block Protect Bits (BP2, BP1, BP0) protect from the Top (TB=0) or the Bottom (TB=1) of the array as shown in the Status Register Memory Protection table. 0是从顶开始,1是从底开始 The factory default setting is TB=0. 出厂默认值是0。 The TB bit can be set with the Write Status Register Instruction depending on the state of the SRP0, SRP1 and WEL bits. 11.1.5 Sector/Block Protect (SEC) 扇区扇区/块块 保护保护(可读写可读写) The non-volatile Sector protect bit (SEC) controls if the Block Protect Bits (BP2, BP1, BP0) protect 4KB Sectors (SEC=1) or 64KB Blocks (SEC=0) in the Top (TB=0) or the Bottom (TB=1) of the array as shown in the Status Register Memory Protection table. SEC用于控制是去保护4KB扇区(SEC=1) 还是64KB块(SEC=0)。 The default setting is SEC=0. 出厂默认值是0。 11.1.6 Status Register Protect (SRP1, SRP0) 状态寄存器状态寄存器保护保护(可读写可读写) The Status Register Protect bits (SRP1 and SRP0) are non-volatile read/write bits in the status register (S8 and S7). The SRP bits control the method of write protection: software protection, hardware protection, power supply lock-down or one time programmable (OTP) protection. 这些比特位控制“状态寄存器” 被写保护的方法:软件保护、硬件保护、电源锁定、一次性编程。 SRP1 SRP0 /WP StatusRegister Description 0 0 X Software Protection 软件保护 /WP pin has no control. 不使用WP脚。 The Status register can be written to after a Write Enable instruction, WEL=1. Factory Default 当WEL=1时可写入状态 寄存器。 出厂默认值。 0 1 0 Hardware Protected 硬件保护 When /WP pin is low, the Status Register locked and can not be written to. 使用WP脚,当WP脚拉低时,状态寄存器被保护。 0 1 1 Hardware Unprotected 硬件不保护 When /WP pin is high, the Status register is unlocked and can be written to after a Write Enable instruction, WEL=1. 当WP脚 拉高时, 状态寄存器不被保护,当WEL=1时可写入状态寄存器。 1 0 X Power Supply Lock-Down(1) 电源锁定(需特殊定 制) Status Register is protected and can not be written to again until the next power-down, power-up cycle.(2) 1 1 X One Time Program(1) 一次性编程(需特殊 定制) Status Register is permanently protected and can not be written to. 状态寄存器被永久保护,无法再写入 Note: 1. These features are available upon special order. 功能需特殊定制 Please contact Winbond for details. 2. When SRP1, SRP0 = (1, 0), a power-down, power-up cycle will change SRP1, SRP0 to (0, 0) state. 11.1.7 Quad Ena
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 磷石膏无害化处理综合利用项目可行性研究报告
- 房屋建筑石材施工技术方案
- 城建档案馆中的人工智能应用研究
- 离婚协议样本图片素材60张版权授权合同
- 澳大利亚农场雇佣劳务合同法律要点及注意事项
- 离职员工离职前知识产权评估与交接协议
- 离婚财产分割协议书(含房产、车辆等)
- 离婚协议签署后反悔权争议调解及法律适用合同
- 篮球场地塑胶地面施工与运动功能优化合同
- 心理咨询方案多久
- 航海英语会话(一)
- 道路工程安全技术交底
- 高三数学备课组高考数学经验总结
- 鼎捷T100-V1.0-票据资金用户手册-简体
- 城乡规划管理与法规系列讲座城乡规划的监督检查
- 惠东渔歌的历史流变
- 第一单元知识盘点(含字词、佳句、感知、考点) 四年级语文上册 (部编版有答案)
- 钻井工程钻柱课件
- 小学硬笔书法课教案(1-30节)
- 周口市医疗保障门诊特定药品保险申请表
- 校园物业考评表
评论
0/150
提交评论