Cypress CY14B101K manual Device Operation, AutoStore Operation, Hardware Store HSB Operation

Page 3

Device Operation

CY14B101K

automatically disconnects the VCAP pin from VCC. A STORE operation is initiated with power provided by the VCAP capacitor.

The CY14B101K nvSRAM consists of two functional compo- nents paired in the same physical cell. The components are SRAM memory cell and a nonvolatile QuantumTrap cell. The SRAM memory cell operates as a standard fast static RAM. Data in the SRAM is transferred to the nonvolatile cell (the STORE operation), or from the nonvolatile cell to SRAM (the RECALL operation). Using this unique architecture, all cells are stored and recalled in parallel. During the STORE and RECALL operations, SRAM READ and WRITE operations are inhibited. The CY14B101K suppots infinite reads and writes similar to a typical SRAM. In addition, it provides infinite RECALL operations from the nonvolatile cells and up to 200K STORE operations.

See the “Truth Table For SRAM Operations” on page 22 for a complete description of read and write modes.

SRAM READ

Figure 2. AutoStore Mode

VCAPVCC

CAP

V

WE

 

VCC

10k Ohm

0.1UF

The CY14B101K performs a READ cycle whenever CE and OE are LOW while WE and HSB are HIGH. The address specified on pins A0-16determines which of the 131,072 data bytes are accessed. When the READ is initiated by an address transition, the outputs are valid after a delay of tAA (see Figure 8 on page 17). If the READ is initiated by CE or OE, the outputs are valid at tACE or at tDOE, whichever is later (see Figure 9 on page 17). The data outputs repeatedly respond to address changes within the tAA access time without the need for transitions on any control input pins. This remains valid until another address change or until CE or OE is brought HIGH, or WE or HSB is brought LOW.

SRAM WRITE

A WRITE cycle is performed whenever CE and WE are LOW and HSB is HIGH. The address inputs must be stable before entering the WRITE cycle and must remain stable until either CE or WE go HIGH at the end of the cycle. The data on the common IO pins DQ0–7is written into the memory if the data is valid tSD before the end of a WE controlled WRITE or before the end of an CE controlled WRITE. Keep OE HIGH during the entire WRITE cycle to avoid data bus contention on common IO lines. If OE is left LOW, internal circuitry turns off the output buffers tHZWE after WE goes LOW.

AutoStore® Operation

The CY14B101K stores data to nvSRAM using one of three storage operations:

1.Hardware Store activated by HSB

2.Software Store activated by an address sequence

3.AutoStore on device power down

AutoStore operation is a unique feature of QuantumTrap technology and is enabled by default on the CY14B101K.

During normal operations, the device draws current from VCC to charge a capacitor connected to the VCAP pin. This stored charge is used by the chip to perform a single STORE operation. If the voltage on the VCC pin drops below VSWITCH, the part

Document Number: 001-06401 Rev. *I

Figure 2 shows the proper connection of the storage capacitor (VCAP) for automatic store operation. Refer to DC Electrical Characteristics on page 15 for the size of the VCAP. The voltage on the VCAP pin is driven to 5V by a charge pump internal to the chip. A pull up should be placed on WE to hold it inactive during power up. This pull up is only effective if the WE signal is tri-state during power up. Many MPUs tri-state their controls on power up. Verify this when using the pull up. When the nvSRAM comes out of power-on-recall, the MPU must be active or the WE held inactive until the MPU comes out of reset.

To reduce unnecessary nonvolatile stores, AutoStore and Hardware Store operations are ignored unless at least one WRITE operation takes place since the most recent STORE or RECALL cycle. Software initiated STORE cycles are performed regardless of whether a WRITE operation took place. Monitor the HSB signal by the system to detect if an AutoStore cycle is in progress.

Hardware STORE (HSB) Operation

The CY14B101K provides the HSB pin for controlling and acknowledging the STORE operations. Use the HSB pin to request a hardware STORE cycle. When the HSB pin is driven LOW, the CY14B101K conditionally initiates a STORE operation after tDELAY. An actual STORE cycle only begins if a WRITE to the SRAM has taken place since the last STORE or RECALL cycle. The HSB pin also acts as an open drain driver that is inter- nally driven LOW to indicate a busy condition while the STORE (initiated by any means) is in progress. This pin is externally pulled up if it is used to drive other inputs.

Page 3 of 28

[+] Feedback

Image 3
Contents Cypress Semiconductor Corporation 198 Champion Court FeaturesLogic Block Diagram Functional DescriptionPin Definitions Pin ConfigurationsOutput Enable, Active LOW. The active low Power Supply Inputs to the DeviceDevice Operation AutoStore OperationHardware Store HSB Operation Data Protection Hardware Recall Power UpSoftware Store Software RecallCurrent versus Cycle Time Low Average Active Power Best PracticesStore Mode Selection A15 A0 PowerRead Sram Write SramReal Time Clock Operation Alarm Watchdog TimerCalibrating the Clock Flags Register Power MonitorInterrupts Interrupt RegisterRecommended Values Interrupt Block DiagramWDF Oscf RTC Register Map5 BCD Format Data Function/RangeTime Keeping Minutes 0x1FFFA Register Map Detail Time Keeping Years 0x1FFFF 10s YearsTime Keeping Months 0x1FFFE 10s Month Date Time Keeping Hours 0x1FFFBInterrupt Status/Control 0x1FFF6 Alarm Day 0x1FFF5Register Map Detail Calibration/Control 0x1FFF7Register Map Detail Alarm Hours 0x1FFF4 10s Alarm Hours To ignore the hours value Alarm Minutes 0x1FFF3When the Flags register is read or on power-up Operating Range DC Electrical CharacteristicsRange Ambient Temperature Maximum RatingsAC Test Conditions Data Retention and EnduranceCapacitance Thermal ResistanceParameter Sram Read Cycle AC Switching CharacteristicsParameter Sram Write Cycle Min MaxParameter Description CY14B101K Unit Min Max AutoStore or Power Up RecallParameter Alt Description 25 ns 35 ns 45 ns Unit Min Max Software Controlled STORE/RECALL Cycles 21Hardware Store Cycle Soft Sequence CommandsRTC Characteristics Inputs and Outputs Mode PowerTruth Table For Sram Operations Nvsram Part Numbering Nomenclature CY 14 B 101 K SP 25 X C TOrdering Information Pin Shrunk Small Outline Package Package DiagramsOrig. of Change Submission Description of Change Date Document History2663934 Updated FeaturesSales, Solutions, and Legal Information Worldwide Sales and Design Support Products PSoC SolutionsUSB