ENGLISH 简体中文 日本語 한국어  

    Login | Register 


   
 
请输入关键词或器件型号    




应用笔记3759

Timing Considerations When Using NVSRAM

Abstract: This article assists in preparing the system memory timing for use with Maxim's nonvolatile SRAM (NVSRAM). Refer to the product data sheets for the referenced timing diagrams and minimum allowable delay values for each relevant parameter.

Maxim's NVSRAM modules are constructed using a Maxim nonvolatile controller, a low-power CMOS static RAM memory component, and a lithium coin-cell battery. Under normal operating conditions, read or write operations are functionally identical to a stand-alone SRAM. Using the parallel I/O structure, a user can easily store data to, or fetch data from any memory location defined by the address bus width. Subsequent memory cycles can occur at this, or any other location in any order desired with no duty cycle or write cycle-count restrictions.

Figure 1. Typical NVSRAM circuit.
Figure 1. Typical NVSRAM circuit.

If the system power is above the specified write-protect voltage (VTP), the three control input pins (active-low CE, active-low WE, and active-low OE) define the memory operation to be performed, as depicted in Table 1. Write commands have priority over read commands. Maximum current consumption (ICC) for each state is specified in the DC Electrical Characteristics table in the product's data sheet.

Table 1. Operational Truth Table
VCC Active-Low CE Active-Low WE Active-Low OE Address Bus DQ Bus Function ICC
< VTP x x x x High impedance Write-protect n/a
> VTP 1 x x x High impedance Standby ICCS1 or ICCS2
0 1 1 Stable High impedance Read ICCO1
0 1 0 Stable Output data Read ICCO1
0 0 x Stable Input data Write ICCO1
x = Do not care
ICCS1 or ICCS2 is dependent upon the input voltage levels (VIH/VIL) used.

Suggested Rules for Robust Functional Operation

Three primary rules must always apply to any valid memory operation:
  1. VCC must be greater than the specified write-protect voltage (VTP) throughout the active memory cycle.
  2. The address bus must be stable throughout the active memory cycle.
  3. Cycle time of the active memory cycle (tRC or tWC) should meet or exceed the minimum specified times listed in the data sheet.

Understand the Timing Diagrams

It is important to remember that data-sheet timing diagrams generally show only one data line or address line in the depiction. In reality, you are providing at least eight data lines and over a dozen address lines probably with different signal-path lengths on the system board, and potentially with different loading characteristics on each signal. With a purely static memory, the last address and/or data signal to arrive at the device's input pins are the only ones that really count. The first address and/or data signal to change at the end of this memory operation are, again, the only ones that really count. Consequently, to avoid a classic timing race, take a few simple precautions in the timing definitions.

When defining system memory timing, it is also important to remember that an SRAM acts similar to a 'latch with depth.' You have to present your inputs (address and data) before you enable the controlling clock signal. This is defined as "setup time." You must also maintain that input condition (address and data) until the 'latch' operation completes. This is defined as "hold time." Hold times can vary according to which clock input is selected as the controlling signal.

Write Cycles

As illustrated in Table 1, a valid write exists when ((active-low CE = 0) AND (active-low WE = 0)).

For a successful write operation to occur, the following conditions must be met:
  1. The device must be enabled at the selected address for a minimum time (Write Cycle).
  2. The write function must be enabled for a minimum time (Write Pulse Width).
  3. The I/O pins (DQ0 through DQ71) must be driven to a valid condition prior to (Data Setup), and held stable for some time after (Data Hold) the end point.

    A write cycle starts when valid write becomes TRUE. It is performed at the address presented on the address pins. The start point is defined as the later occurring falling edge of either active-low CE2 or active-low WE3.

    A write cycle ends when valid write becomes FALSE. The end point is defined as the earlier occurring rising edge of either active-low CE2 or active-low WE3.
Remembering Condition #2, no address changes are allowed during a valid write. Address timing must meet the Address Setup time requirements relative to the start point, the later falling edge of either active-low CE or active-low WE. All address lines must remain stable minimally until the end point.

With NVSRAM, there is an internal propagation delay exclusively through the active-low CE path. If using active-low WE to define the start and/or end points, follow the minimum timing requirements in the data sheet for the Write Cycle 1 illustration. If using active-low CE to define the start and/or end points, follow the minimum timing requirements in the data sheet for the Write Cycle 2 illustration.

Also remember that digital signals do not jump instantaneously from a logic 0 to a logic 1, as sometimes depicted in timing diagrams. Input-signal transition times can be difficult to predict at the system design stage, as that load characteristic is heavily dependant upon PC-board component placement, routing, and materials. To enhance the operational noise immunity in the final application, it is suggested that system setup and hold time delays exceed the data sheet minimums.

Read Cycles

As illustrated in Table 1, a valid read exists when ((active-low CE = 0) AND (active-low WE = 1)), but no data out will appear unless active-low OE = 0.

For a successful read operation to occur, these conditions must be met:
  1. The device must be enabled at the selected address for a minimum time (Read Cycle).
  2. The write function must be disabled.
  3. The I/O pins (DQ0 through DQ71) must be gated on for a minimum time (active-low OE to Output Valid) at or after the expected read access time (active-low CE to Output Valid).

    A read cycle starts when valid read becomes TRUE. It is performed at the address presented on the address pins. The I/O pins become low impedance if active-low OE is also low4.

    A read cycle ends when valid read becomes FALSE. The I/O pins become high impedance if active-low OE is also low4.
During a valid read, any address change that occurs after the expected read access time (active-low CE to Output Valid) terminates this memory cycle (Condition #2). When the address lines are again stable, the new address presented will trigger the beginning of a 'new' read cycle. The data from the first address is held valid at the I/O pins for some time after the address changed (Output Hold). The data from the 'new' address will be presented at the I/O pins by the address-activated access time (Access Time) from the point at which the last address input became stable.

During a valid read, any address change that occurs prior to the expected read access time (active-low CE to Output Valid) prematurely terminates this memory cycle. When the address lines are again stable, the new address presented will trigger a 'new' read cycle. The data from the first address are not guaranteed to be presented at the I/O pins. The data from the 'new' address will be presented at the I/O pins by the address-activated access time (Access Time), from the point at which the last address input became stable.

The I/O pins will drive data only when ((valid read) AND (active-low OE = 0)). This may be important for power consumption, as reduced device duty cycles and delayed output gating can reduce the component's current consumption.

If you have questions/comments/suggestions about this application note, please send them to: .

Notes:
  1. For the DS1258, this applies to DQ0 through DQ15. For the DS2227 this applies to DQ0 through DQ31.
  2. For the DS1258, this applies to active-low CEL or active-low CEU. For the DS2227, this applies to 1- active-low CE through 4- active-low CE.
  3. For the DS2227, this applies to 1- active-low WE through 4- active-low WE.
  4. For the DS2227, this applies to 1- active-low OE through 4- active-low OE.


相关型号  APP 3759: Mar 20, 2006
DS1220AB 16k非易失SRAM 完整的数据资料
(PDF, 172kB)
免费样品
DS1220AD 16k非易失SRAM 完整的数据资料
(PDF, 172kB)
免费样品
DS1225AB 64k非易失SRAM 完整的数据资料
(PDF, 184kB)
免费样品
DS1225AD 64k非易失SRAM 完整的数据资料
(PDF, 184kB)
免费样品
DS1230AB 256k非易失SRAM 完整的数据资料
(PDF, 288kB)
免费样品
DS1230W 3.3V、256k非易失SRAM 完整的数据资料
(PDF, 272kB)
免费样品
DS1230Y 256k非易失SRAM 完整的数据资料
(PDF, 288kB)
免费样品
DS1245AB 1024k非易失SRAM 完整的数据资料
(PDF, 284kB)
DS1245W 3.3V、1024k非易失SRAM 完整的数据资料
(PDF, 272kB)
DS1245Y 1024k非易失SRAM 完整的数据资料
(PDF, 284kB)
DS1249AB 2048k非易失SRAM 完整的数据资料
(PDF, 196kB)
DS1249W 3.3V、2048kb非易失SRAM 完整的数据资料
(PDF, 196kB)
DS1249Y 2048k非易失SRAM 完整的数据资料
(PDF, 196kB)
DS1250AB 4096k非易失SRAM 完整的数据资料
(PDF, 300kB)
DS1250W 3.3V、4096k非易失SRAM 完整的数据资料
(PDF, 268kB)
DS1250Y 4096k非易失SRAM 完整的数据资料
(PDF, 300kB)
DS1258AB 128k x 16非易失SRAM 完整的数据资料
(PDF, 208kB)
DS1258W 3.3V、128k x 16非易失SRAM 完整的数据资料
(PDF, 208kB)
DS1258Y 128k x 16非易失SRAM 完整的数据资料
(PDF, 208kB)
DS1265AB 8M非易失SRAM 完整的数据资料
(PDF, 196kB)
DS1265W 3.3V、8Mb非易失SRAM 完整的数据资料
(PDF, 196kB)
DS1265Y 8M非易失SRAM 完整的数据资料
(PDF, 196kB)
DS1270AB 16M非易失SRAM 完整的数据资料
(PDF, 200kB)
DS1270W 3.3V、16Mb非易失SRAM 完整的数据资料
(PDF, 196kB)
DS1270Y 16M非易失SRAM 完整的数据资料
(PDF, 200kB)
DS1330AB 256k非易失SRAM,带有电池监控器 完整的数据资料
(PDF, 236kB)
免费样品
DS1330W 3.3V、256k非易失SRAM,带有电池监测器 完整的数据资料
(PDF, 236kB)
免费样品
DS1330Y 256k非易失SRAM,带有电池监控器 完整的数据资料
(PDF, 236kB)
免费样品
DS1345AB 1024k非易失SRAM,带有电池监视器 完整的数据资料
(PDF, 236kB)
DS1345W 3.3V、1024k非易失SRAM,带有电池监测器 完整的数据资料
(PDF, 244kB)
DS1345Y 1024k非易失SRAM,带有电池监视器 完整的数据资料
(PDF, 236kB)
DS1350AB 4096k非易失SRAM,带有电池监视器 完整的数据资料
(PDF, 244kB)
DS1350W 3.3V、4096K非易失SRAM,带有电池监视器 完整的数据资料
(PDF, 248kB)
DS1350Y 4096k非易失SRAM,带有电池监视器 完整的数据资料
(PDF, 244kB)
DS2030AB 单芯片、256k位非易失SRAM 完整的数据资料
(PDF, 224kB)
DS2030L 3.3V、单芯片、256kb非易失SRAM 完整的数据资料
(PDF, 180kB)
DS2030W 3.3V、单芯片、256kb非易失SRAM 完整的数据资料
(PDF, 180kB)
DS2030Y 单芯片、256k位非易失SRAM 完整的数据资料
(PDF, 224kB)
DS2045AB 单芯片、1M非易失SRAM 完整的数据资料
(PDF, 224kB)
DS2045L 3.3V、单芯片、1Mb非易失SRAM 完整的数据资料
(PDF, 180kB)
DS2045W 3.3V、单芯片、1Mb非易失SRAM 完整的数据资料
(PDF, 180kB)
DS2045Y 单芯片、1M非易失SRAM 完整的数据资料
(PDF, 224kB)
DS2050W 3.3V、单芯片、4Mb非易失SRAM 完整的数据资料
(PDF, 228kB)
DS2065W 3.3V、单芯片、8Mb非易失SRAM 完整的数据资料
(PDF, 224kB)
DS2070W 3.3V、单芯片、16Mb非易失SRAM 完整的数据资料
(PDF, 300kB)
DS2227 灵活的NV SRAM存储条 完整的数据资料
(PDF, 200kB)
DS3030W 3.3V、单芯片、256kb非易失SRAM,带有时钟 完整的数据资料
(PDF, 284kB)
DS3045W 3.3V、单芯片、1Mb非易失SRAM,带有时钟 完整的数据资料
(PDF, 284kB)
DS3050W 3.3V、单芯片、4Mb非易失SRAM,带有时钟 完整的数据资料
(PDF, 284kB)
DS3065W 3.3V、单芯片、8Mb非易失SRAM,带有时钟 完整的数据资料
(PDF, 284kB)
DS3070W 3.3V、单芯片、16Mb非易失SRAM,带有时钟 完整的数据资料
(PDF, 284kB)

自动更新
需要自动接收最新发布的应用笔记吗?请订阅EE-Mail™ (English only)。




我们期待您的反馈!
喜欢?不喜欢?有待改善?或为我们提供建议?请与我们联系 — 我们将根据您的意见或建议改善我们的工作。 网页评价或提供建议

 

下载,PDF格式下载,PDF格式 (60kB)
 AN3759, AN 3759, APP3759, Appnote3759, Appnote 3759

        •         •         •     隐私权政策     •     法律声明

    © 2009 Maxim Integrated Products版权所有