Allows the user to protect against inadvertent write operations. Device select and address bytes are Acknowledged Data Bytes are not Acknowledged



Similar documents
M25P05-A. 512-Kbit, serial flash memory, 50 MHz SPI bus interface. Features

CAT28C64B F R E E. 64K-Bit CMOS PARALLEL EEPROM L E A D FEATURES DESCRIPTION BLOCK DIAGRAM

M25P40 3V 4Mb Serial Flash Embedded Memory

Single 2.5V - 3.6V or 2.7V - 3.6V supply Atmel RapidS serial interface: 66MHz maximum clock frequency. SPI compatible modes 0 and 3

DS1621 Digital Thermometer and Thermostat

DS1621 Digital Thermometer and Thermostat

EN25P64 EN25P Megabit Uniform Sector, Serial Flash Memory FEATURES GENERAL DESCRIPTION

8-Bit Flash Microcontroller for Smart Cards. AT89SCXXXXA Summary. Features. Description. Complete datasheet available under NDA

MR25H10. RoHS FEATURES INTRODUCTION

256K (32K x 8) Battery-Voltage Parallel EEPROMs AT28BV256

DS1821 Programmable Digital Thermostat and Thermometer

W25Q80, W25Q16, W25Q32 8M-BIT, 16M-BIT AND 32M-BIT SERIAL FLASH MEMORY WITH DUAL AND QUAD SPI

DS18B20 Programmable Resolution 1-Wire Digital Thermometer

DS1307ZN. 64 x 8 Serial Real-Time Clock

PACKAGE OUTLINE DALLAS DS2434 DS2434 GND. PR 35 PACKAGE See Mech. Drawings Section

Features INSTRUCTION DECODER CONTROL LOGIC AND CLOCK GENERATORS COMPARATOR AND WRITE ENABLE EEPROM ARRAY READ/WRITE AMPS 16

DS1220Y 16k Nonvolatile SRAM

1 Gbit, 2 Gbit, 4 Gbit, 3 V SLC NAND Flash For Embedded

DS1220Y 16k Nonvolatile SRAM

Features. Instruction. Decoder Control Logic, And Clock Generators. Address Compare amd Write Enable. Protect Register V PP.

DS Wire Digital Thermometer and Thermostat

DS1225Y 64k Nonvolatile SRAM

The Programming Interface

M25P32 32Mb 3V NOR Serial Flash Embedded Memory

ANV31A81W. Anvo-Systems Dresden

1-Mbit (128K 8) Quad SPI nvsram with Real Time Clock

64K (8K x 8) Parallel EEPROM with Page Write and Software Data Protection AT28C64B

AVR151: Setup and Use of the SPI. Introduction. Features. Atmel AVR 8-bit Microcontroller APPLICATION NOTE

DS1386/DS1386P RAMified Watchdog Timekeeper

1 Mbit (128K x8) Page-Write EEPROM GLS29EE010


The I2C Bus. NXP Semiconductors: UM10204 I2C-bus specification and user manual HAW - Arduino 1

Elettronica dei Sistemi Digitali Costantino Giaconia SERIAL I/O COMMON PROTOCOLS

AN141 SMBUS COMMUNICATION FOR SMALL FORM FACTOR DEVICE FAMILIES. 1. Introduction. 2. Overview of the SMBus Specification. 2.1.

MicroMag3 3-Axis Magnetic Sensor Module

9. Configuration, Design Security, and Remote System Upgrades in the Cyclone III Device Family

Supply voltage Supervisor TL77xx Series. Author: Eilhard Haseloff

Implementing SPI Communication Between MSP430 G2452 and LTC ADC

S25FL128S and S25FL256S

ABRIDGED DATA SHEET EVALUATION KIT AVAILABLE

SPI I2C LIN Ethernet. u Today: Wired embedded networks. u Next lecture: CAN bus u Then: wireless embedded network

Introduction the Serial Communications Huang Sections 9.2, 10.2 SCI Block User Guide SPI Block User Guide

DIP Top View VCC A16 A15 A12 A7 A6 A5 A4 A3 A2 A1 A0 I/O0 I/O1 I/O2 GND A17 A14 A13 A8 A9 A11 A10 I/O7 I/O6 I/O5 I/O4 I/O3. PLCC Top View VCC A17

7 OUT1 8 OUT2 9 OUT3 10 OUT4 11 OUT5 12 OUT6 13 OUT7 14 OUT8 15 OUT9 16 OUT10 17 OUT11 18 OUT12 19 OUT13 20 OUT14 21 OUT15 22 OUT16 OUT17 23 OUT18

NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter

Develop a Dallas 1-Wire Master Using the Z8F1680 Series of MCUs

How To Prevent Power Supply Corruption On An 8Bit Microcontroller From Overheating

Pmod peripheral modules are powered by the host via the interface s power and ground pins.

Parallel NOR Flash Automotive Memory

NB3H5150 I2C Programming Guide. I2C/SMBus Custom Configuration Application Note

TURBO PROGRAMMER USB, MMC, SIM DEVELOPMENT KIT

NM93CS06 CS46 CS56 CS Bit Serial EEPROM with Data Protect and Sequential Read

Microprocessor Supervisory Circuits

Technical Note. Micron NAND Flash Controller via Xilinx Spartan -3 FPGA. Overview. TN-29-06: NAND Flash Controller on Spartan-3 Overview

Implementing SPI Master and Slave Functionality Using the Z8 Encore! F083A

DS2401 Silicon Serial Number

8741A UNIVERSAL PERIPHERAL INTERFACE 8-BIT MICROCOMPUTER

2-wire Serial EEPROM AT24C512

SafeSPI - Serial Peripheral Interface for Automotive Safety

TDA General description. 2. Features and benefits. Multiple smart card slot interface IC

MICROPROCESSOR. Exclusive for IACE Students iacehyd.blogspot.in Ph: /422 Page 1

Fairchild Solutions for 133MHz Buffered Memory Modules

DP8570A DP8570A Timer Clock Peripheral (TCP)

DS1990A-F5. Serial Number ibutton TM

Real Time Clock Module with I2C Bus

RETRIEVING DATA FROM THE DDC112

FM75 Low-Voltage Two-Wire Digital Temperature Sensor with Thermal Alarm

USB2.0 <=> I2C V4.4. Konverter Kabel und Box mit Galvanischetrennung

A N. O N Output/Input-output connection

SPI. Overview and Use of the PICmicro Serial Peripheral Interface. Getting Started: SPI

MODULE BOUSSOLE ÉLECTRONIQUE CMPS03 Référence :

Memory Module Specifications KVR667D2D4F5/4G. 4GB 512M x 72-Bit PC CL5 ECC 240-Pin FBDIMM DESCRIPTION SPECIFICATIONS

W25Q128FV 3V 128M-BIT SERIAL FLASH MEMORY WITH DUAL/QUAD SPI & QPI. Publication Release Date: August 24, 2015 Revision L

ARM Thumb Microcontrollers. Application Note. Software ISO 7816 I/O Line Implementation. Features. Introduction

LM75 Digital Temperature Sensor and Thermal Watchdog with Two-Wire Interface

Web Site: Forums: forums.parallax.com Sales: Technical:

MX25L5121E MX25L1021E MX25L5121E, MX25L1021E DATASHEET

M24512-W M24512-R M24512-HR M24256-BW M24256-BR M24256-BHR

64 x 8, Serial, I 2 C Real-Time Clock

In-System Programming Design TM. Guidelines for ispjtag Devices. Introduction. Device-specific Connections. isplsi 1000EA Family.

Data Sheet. Adaptive Design ltd. Arduino Dual L6470 Stepper Motor Shield V th November L6470 Stepper Motor Shield

LM75 Digital Temperature Sensor and Thermal Watchdog with Two-Wire Interface

Hello, and welcome to this presentation of the STM32L4 reset and clock controller.

Serial port interface for microcontroller embedded into integrated power meter

AN601 I2C 2.8 Communication Protocol. SM130 SM130 - Mini APPLICATION NOTE

GTS-4E Hardware User Manual. Version: V1.1.0 Date:

8254 PROGRAMMABLE INTERVAL TIMER

Programmable Single-/Dual-/Triple- Tone Gong SAE 800

Bi-directional level shifter for I²C-bus and other systems.

LE25U81AMC. Advance Information

HT1632C 32 8 &24 16 LED Driver

YAS532B MS-3R Magnetic Field Sensor Type 3R

Chapter 13. PIC Family Microcontroller

8-bit RISC Microcontroller. Application Note. AVR910: In-System Programming

HANDLING SUSPEND MODE ON A USB MOUSE

MX25L1605A. 16M-BIT [x 1] CMOS SERIAL FLASH FEATURES

Low-Jitter I 2 C/SPI Programmable Dual CMOS Oscillator

1-Mbit (128K x 8) Static RAM

Interfacing 3V and 5V applications

DS Real Time Clock FEATURES PIN ASSIGNMENT PIN DESCRIPTION

Transcription:

Write Protect CAT24WCxxx I 2 C Serial EEPROMs. Allows the user to protect against inadvertent write operations. WP = V CC : Write Protected Device select and address bytes are Acknowledged Data Bytes are not Acknowledged WP = V SS or allowed to Float: Unprotected WP is sampled at the end of the acknowledge pulse after the last address byte. The WP signal should be in the desired state after sending the last bit of the address and should remain unchanged until after sending first bit of data. 1

For CAT24WCxxx Devices, What Should the Pull-up Resistor Values be on the SDA and SCL Lines? The value of pull-up resistor, R P, depends on: supply voltage, bus capacitance (C b ), output driver sink current and input current of connected devices. SDA line: R P = 1.5-2.0kΩ - for fast operation / high C b SDA line: R P = 2.0-16kΩ - for low power consumption / low C b The SCL line requires a pull-up resistor only if it is driven by an open-collector output. 2

Minimize System Delays by Acknowledge Polling CAT24WCxxx Devices. During an internal write cycle, CAT24WCxxx devices do not respond to the slave address. The write cycle time is the time from a valid stop after a write sequence to the end of the internal program/erase cycle. Typical write time << t WR max (Given in AC specifications) For minimum system delay, an ACK polling sequence should be issued by the Master (See figure). 3

Initializing CAT24WCxxx I 2 C Serial EEPROMs after an Interruption in the Transmission Protocol. The START condition will initiate the CAT24WCxxx and prepare it for the a new command. The following sequence is recommended: 1) Send a clock pulse on SCL (keep SDA HIGH from the master side) 2) Test if SDA is HIGH (during SCL HIGH) 3) If SDA is not HIGH, repeat from point 1) for up to 9 clock cycles 4) If SDA is HIGH, generate a START condition 4

Preventing Accidental Writing of CAT93Cxx Microwire Serial EEPROMs. CAT93CXX devices power-up in the Erase/Write Disable State. Programming instructions must be preceded by an Erase/Write Enable (EWEN) instruction. Protect against accidental writes by sending Erase/Write Disable (EWDS) instruction after any write to the device. Avoid uncontrolled inputs during power up/down and microcontroller start-up time by using a pull-down resistor on the CAT93Cxx inputs. 5

For Microwire Devices is it Necessary to Toggle CS to Initiate a Memory Write? For CAT93Cxx devices, CS toggling is necessary to initiate a me mory write. After receiving a Write Command, Address and Data, the CS pin must be immediately deselected for t CSMIN after the last bit, D0. The failing edge of CS starts the internal write cycle, measured by t EW delay. 6

Selecting CAT93Cxx Serial EEPROM Memory Organization. Internal memory organization of the CAT93Cxx can be selected using the ORG input: ORG = V CC or NC: x 16 Memory Organization ORG = GND: x 8 Memory Organization Write and Read operations must be performed with the same memory organization selected. 7

Reducing CAT93Cxx Power Consumption. Current consumption is increased by several microamps (10µA max) when the ORG pin is connected to GND (x 8 organization). To save power in the x 8 mode, the ORG input can be switch to V CC when the EEPROM is not accessed. The ORG signal can be changed at the beginning of an instruction. For Read instructions, ORG must be kept in the same state after the last clock of the instruction. For Write instructions, ORG must be in the same state until the Ready status on the DO line is detected (or t EW max after CS goes LOW at the end of the write instruction). Note: ORG should be in the same state for write and read operations. 8

What Timing Should be Used for the CAT93C86 Program Enable, PE, Signal? Write, Erase, Write All and Erase All instructions require PE= 1. PE must be kept at a 1 during an internal write cycle for a mi nimum of t EW after CS toggles LOW. 9

CAT93Cxx Serial EEPROM Power Up / Down Sequence Recommendations. Power-up sequence: All the input signals to the CAT93Cxx should be at 0V. Power-on V CC with a ramp faster than 1V/10ms. Wait at least 1 ms after V CC has reached the nominal value before initiating the desired operation. Power-down sequence: All the inputs should be inactive in 0 state. Power down with a ramp faster than 1V/10ms. 10

For CAT25Cxxx SPI EEPROMs, Should CS be Toggled to Send New Commands? A HIGH to LOW transition on CS is required prior to any sequence being initiated. After a valid write sequence, a LOW to HIGH transition on CS is necessary to initiate the internal write cycle. 11

What is the Difference Between SPI Mode (0,0) and (1,1)? Four possible data-clock timing relationships can be chosen by the control bits CPOL (Clock Polarity) and CPHA (Clock Phase). The most common SPI modes supported by SPI Serial EEPROMs are: (CPOL, CPHA) = (0,0) (CPOL, CPHA) = (1,1). For these two modes, input data is latched by the positive clock (SCK) edge, and output data is available on negative clock transitions. The difference between SPI modes (0,0) and (1,1) is the stand-by polarity, when there is no data transfer: SCK remains at 0 for (CPOL, CPHA) = (0,0) SCK remains at 1 for (CPOL, CPHA) = (1,1) 12

Write Sequence for SPI Serial EEPROM Devices. Writing to Status Register: Send Write Enable Instruction (WREN), Toggle CS, Send Write Status Register (WRSR). Writing to the Memory: Send Write Enable Instruction (WREN), Toggle CS, Send Write Instruction. CAT25Cxxx SPI devices automatically return to the write disable state at the end of a write cycle. 13

Write Time of Block Protect Bits for CAT25Cxxx SPI Serial EEPROMs. Write time for the Status Register bits, BP0 and BP1, is the same as for a write operation into the memory, t WC. BP0, BP1 are nonvolatile bits. 14

CAT25Cxxx Programmable Hardware Write Protect Feature. Hardware write protection is enabled for: WP = 0 and Status Register bit WPEN = 1 Prevents the Status Register (BP0, BP1, WPEN) and protected memory blocks from being written. 15

Power-Up and Power-Down in CAT25xxx SPI EEPROM devices While the supply ramps up from 0 V to the final level, the CAT25xxx state machines are reset by an internal Power- On Reset (POR) pulse. The POR pulse starts when the supply reaches approx. 0.8 V and is timed out on chip. The recommended wait time for applying commands is specified (conservatively) from the moment when the supply reaches nominal level. When powering down, the supply should be taken all the way to 0 V. Powering down to brownout levels (0.2 0.8V) should be avoided, as the internal POR may not be properly generated when the supply recovers. The 1 st write operation following brownout may not execute correctly. If brownout is unavoidable, then rewriting the Status Register contents will reset the CAT25xxx. 2003, Catalyst Semiconductor, Inc. 2001, Catalyst Semiconductor, Inc. 16

What is the Byte Load Cycle Time for Parallel EEPROMs? Byte Load Cycle time, t BLC, is the interval during which the data byte will be latched in the page write mode. If the next byte is not loaded within t BLC max, the internal write cycle will start, and any additional attempts to load data will be ignored. For Catalyst Parallel EEPROMs, t BLC max = 100 µs 17

Hardware Data Protection Feature for Catalyst Parallel EEPROMs. Hardware data protection is available through the following features: 1. Voltage Level Sense Detector Write Protect when V CC < 3.5V min 2. Power On Delay Timer 5 to 10 ms delay before a write, after V CC = 3.5V min 3. Three-Line Write Control Write is enabled only for: OE=1 and WE=0 and CE=0 4. Noise Filter on WE and CE Write cycles will not be initiated if pulses on WE and CE are less than 20 ns 18

End of Write Operation Detection for Parallel EEPROM. Catalyst Parallel EEPROMs feature end of write cycle detection using: Data Polling: During the internal write cycle in progress, reading the last byte written will output the complement data on I/O7. Upon completion of the write operation, a read cycle will output the true data on I/O7. Toggle Bit: I/O6 toggles between 1 and 0 when a read data is performed during a write cycle in progress. Once the write is complete, I/O6 stops toggling. RDY/BUSY Output: This open drain output is active LOW during a write cycle and becomes inactive when the internal write operation completes (available with some products). 19

Software Data Protection of Parallel EEPROMs. Software Data Protection (SDP) prevents data from being written to memory, unless an unlock sequence precedes the loading of the data byte. To enable SDP, the user must send a specific write sequence. Three specific data bytes are sent to three specific memory locations. To disable SDP, the user must write specific data bytes into six specific locations. SDP is non-volatile and is not changed at power up / down. Catalyst EEPROM devices are shipped in the unprotected state. It is highly recommended users enable the SDP feature. This increases system reliability by giving extra protection against data corruption during the power up/down sequence and noise pulses on the CE/WE lines. 20

Possible Failures in EEPROMs. Loss of Data Bit errors Random failures during useful life of product Due to Charge gain / Charge loss Resulting from data retention degradation after program/erase cycling Read Failures Degradation of read access time Incorrect sensing of data (noise) Improper read operation related to specifications (timing, voltage levels) Write Failure Loss of memory transistor functionality to program or erase data Improper write operation related to specifications (timing, voltage levels) Data Corruption Failures Caused by Inadvertent Write During Power-Up/Down Noise spikes on control lines 21