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
x = Do not care
ICCS1 or ICCS2 is dependent upon the Input Voltage Levels (VIH/VIL) used. Suggested Rules for Robust Functional OperationThree primary rules must always apply to any valid memory operation:
- VCC must be greater than the specified Write-Protect Voltage (VTP) throughout the active memory cycle.
- The address bus must be stable throughout the active memory cycle.
- Cycle time of the active memory cycle (tRC or tWC) should meet or exceed the minimum specified times listed in the data sheet.
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 CyclesAs 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:
- The device must be enabled at the selected address for a minimum time (Write Cycle).
- The write function must be enabled for a minimum time (Write Pulse Width).
- The I/O pins (DQ0 through DQ7(1)) 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 CE(2) or active-low WE(3).
A write cycle ends when valid write becomes FALSE. The end point is defined as the earlier occurring rising edge of either active-low CE(2) or active-low WE(3).
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 CyclesAs 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:
- The device must be enabled at the selected address for a minimum time (Read Cycle).
- The write function must be disabled.
- The I/O pins (DQ0 through DQ7(1)) 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 low(4).
A read cycle ends when valid read becomes FALSE. The I/O pins become high impedance if active-low OE is also low(4).
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 t MixedSignal.Apps@dalsemi.com.
Notes:
- For the DS1258, this applies to DQ0 through DQ15. For the DS2227 this applies to DQ0 through DQ31. For the DS38464, this applies to DQ0 through DQ39.
- 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. For the DS38464, this applies to active-low CEA.
- For the DS2227, this applies to 1- active-low WE through 4- active-low WE.
- For the DS2227, this applies to 1- active-low OE through 4- active-low OE.
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)