HT24LC02A CMOS 2K 2-Wire Serial EEPROM - Holtek · HT24LC02A CMOS 2K 2-Wire Serial EEPROM ......

10
Rev. 1.10 1 January 16, 2014 HT24LC02A CMOS 2K 2-Wire Serial EEPROM Features • Operating voltage 1.8V~5.5V for temperature -40°C to +85°C • Low power consumption Operation: 5mA max. Standby: 2μA max. • Internal organization: 256×8 • 2-wire serial interface • Write cycle time: 5ms max. • Automatic erase-before-write operation • Partial page write allowed • 8-byte Page write modes • Write operation with built-in timer • Hardware controlled write protection • 40-year data retention • 10 6 erase/write cycles per word • Package Types: 8SOP and SOT23-5 General Description The HT24LC02A is a 2K-bit serial read/write non- volatile memory device using the CMOS floating gate process. Its 2048 bits of memory are organized into 256 words and each word is 8 bits. The device is optimized for use in many industrial and commercial applications where low power and low voltage operation are essential. The HT24LC02A is guaranteed for 1M erase/write cycles and 40-year data retention. Block Diagram I / O C o n t r o l L o g i c M e m o r y C o n t r o l L o g i c S C L S D A A d d r e s s C o u n t e r V C C V S S X D E C E E P R O M A r r a y P a g e B u f Y D E C S e n s e A M P R / W C o n t r o l H V P u m p W P Pin Assignment 1 2 3 4 8 7 6 5 H T 2 4 L C 0 2 A 8 S O P - A N C N C N C V S S V C C W P S C L S D A H T 2 4 L C 0 2 A S O T 2 3 - 5 - A S D A V S S V C C S C L W P T o p V i e w 1 2 3 4 5 Selection Table Part No. Capacity VDD Clock Rate (kHz) Write Speed @2.4V(ms) Operating Current @5.0V(mA) Standby Current @5.0V(μA) Package Marking HT24LC02A 256×8 1.8V~5.5V 400 5 5 2 SOT23-5 2402A 8SOP HT24LC02A Pin Description Pin Name I/O Description SDA I/O Serial data input/output SCL I Serial clock data input WP I Write protect VSS Negative power supply, ground VCC Positive power supply

Transcript of HT24LC02A CMOS 2K 2-Wire Serial EEPROM - Holtek · HT24LC02A CMOS 2K 2-Wire Serial EEPROM ......

Page 1: HT24LC02A CMOS 2K 2-Wire Serial EEPROM - Holtek · HT24LC02A CMOS 2K 2-Wire Serial EEPROM ... volatile memory device using the CMOS floating gate process. ... , the microcontroller

Rev. 1.10 1 January 16, 2014 Rev. 1.00 PB January 16, 2014

HT24LC02ACMOS 2K 2-Wire Serial EEPROM

Features• Operatingvoltage1.8V~5.5Vfortemperature-40°Cto+85°C

• Lowpowerconsumption– Operation:5mAmax.– Standby:2μAmax.

• Internalorganization:256×8• 2-wireserialinterface• Writecycletime:5msmax.• Automaticerase-before-writeoperation• Partialpagewriteallowed• 8-bytePagewritemodes• Writeoperationwithbuilt-intimer• Hardwarecontrolledwriteprotection• 40-yeardataretention• 106erase/writecyclesperword• PackageTypes:8SOPandSOT23-5

General DescriptionTheHT24LC02Aisa2K-bitserial read/writenon-volatilememorydeviceusing theCMOSfloatinggateprocess.Its2048bitsofmemoryareorganizedinto 256 words and each word is 8 bits. Thedevice isoptimized foruse inmany industrialandcommercialapplicationswhere lowpowerand lowvoltageoperationareessential.TheHT24LC02Aisguaranteedfor1Merase/writecyclesand40-yeardataretention.

Block Diagram

� � �� � � � � � �� � � � �

� � � � � �� � � � � � �� � � � �

� � �

� �

� � � � � � � � � � �

� � �� � �

� ��

� � � � � �� � � � �

� � � � � � �� � �

� � � � � � � �� � � � � � � � � � �

� � � � � �

� �

Pin Assignment

����

����

� � � � � � � � �� � � � � � �

� �� �� �

� � �

� � �� �� � �� � �

� � � � � � � � �� � � � � � � � �

� � �� � �

� � �

� � �

� �

� �� �

� � �

��

Selection Table

Part No. Capacity VDDClock Rate

(kHz)Write [email protected](ms)

OperatingCurrent

@5.0V(mA)

StandbyCurrent

@5.0V(μA)Package Marking

HT24LC02A 256×8 1.8V~5.5V 400 5 5 2SOT23-5 2402A

8SOP HT24LC02A

Pin DescriptionPin Name I/O Description

SDA I/O Serial data input/outputSCL I Serial clock data inputWP I Write protectVSS — Negative power supply, groundVCC — Positive power supply

Page 2: HT24LC02A CMOS 2K 2-Wire Serial EEPROM - Holtek · HT24LC02A CMOS 2K 2-Wire Serial EEPROM ... volatile memory device using the CMOS floating gate process. ... , the microcontroller

Rev. 1.10 2 January 16, 2014

HT24LC02A

Absolute Maximum RatingsSupplyVoltage.........................VSS−0.3VtoVSS+6.0VInputVoltage............................ VSS−0.3VtoVCC+0.3V

StorageTemperature...........................−50°Cto125°COperatingTemperature.........................−40°Cto85°C

Note:Thesearestressratingsonly.Stressesexceedingtherangespecifiedunder″AbsoluteMaximumRatings″maycausesubstantialdamagetothedevice.Functionaloperationofthisdeviceatotherconditionsbeyondthoselistedin thespecificationisnot impliedandprolongedexposuretoextremeconditionsmayaffectdevicereliability.

D.C. CharacteristicsTa=-40°C~+85°C

Symbol ParameterTest Conditions

Min. Typ. Max. UnitVCC Conditions

VCC Operating Voltage — -40°C to +85°C 1.8 — 5.5 VICC1 Operating Current 5V Read at 400kHz — — 2 mAICC2 Operating Current 5V Write at 400kHz — — 5 mAVIL Input Low Voltage — — -0.45 — 0.3VCC VVIH Input High Voltage — — 0.7VCC — VCC+0.5 V

VOL Output Low Voltage2.4V IOL=2.1mA — — 0.4 V1.8V IOL=0.7mA — — 0.2 V

ILI Input Leakage Current 5V VIN=0 or VCC — — 1 μAILO Output Leakage Current 5V VOUT=0 or VCC — — 1 μA

ISTB Standby Current

5VVIN=0 or VCC — — 2 μASDA, SCL=VCCWP=VSS — — 1 μA

1.8VVIN=0 or VCC — — 2 μASDA, SCL=VCCWP=VSS — — 1 μA

CIN Input Capacitance (See Note) — f=1MHz, 25°C — — 6 pFCOUT Output Capacitance (See Note) — f=1MHz, 25°C — — 8 pF

Note:Theseparametersareperiodicallysampledbutnot100%tested.

Page 3: HT24LC02A CMOS 2K 2-Wire Serial EEPROM - Holtek · HT24LC02A CMOS 2K 2-Wire Serial EEPROM ... volatile memory device using the CMOS floating gate process. ... , the microcontroller

Rev. 1.10 3 January 16, 2014

HT24LC02A

A.C. CharacteristicsTa=-40°C~+85°C

Symbol Parameter RemarkVCC=1.8V~5.0V VCC=2.5V~5.0V

UnitMin. Max. Min. Max.

fSK Clock Frequency — — 400 — 1000 kHztHIGH Clock High Time — 600 — 400 — nstLOW Clock Low Time — 1200 — 600 — nstr SDA and SCL Rise Time Note — 300 — 300 nstf SDA and SCL Fall Time Note — 300 — 300 ns

tHD:STASTART Condition Hold Time

After this period the first clock pulse is generated 600 — 250 — ns

tSU:STASTART Condition Setup Time

Only relevant for repeated START condition 600 — 250 — ns

tHD:DAT Data Input Hold Time — 0 — 0 — nstSU:DAT Data Input Setup Time — 150 — 100 — ns

tSU:STOSTOP Condition Setup Time — 600 — 250 — ns

tAA Output Valid from Clock — — 900 — 600 ns

tBUF Bus Free Time Time in which the bus must be free before a new transmission can start 1200 — 500 — ns

tSP

Input Filter Time Constant(SDA and SCL Pins)

Noise suppression time — 50 — 50 ns

tWR Write Cycle Time — — 5 — 5 ms

Endurance 25°C, Page Mode 5.0V 1,000,000 Write Cycles

Note:Theseparametersareperiodicallysampledbutnot100%tested.Forrelativetiming,refertotimingdiagrams.

Page 4: HT24LC02A CMOS 2K 2-Wire Serial EEPROM - Holtek · HT24LC02A CMOS 2K 2-Wire Serial EEPROM ... volatile memory device using the CMOS floating gate process. ... , the microcontroller

Rev. 1.10 4 January 16, 2014

HT24LC02A

Functional DescriptionPin Function• Serialclock–SCLTheSCL input isused forpositive edgeclockdataintoeachEEPROMdeviceandnegativeedgeclockdataoutofeachdevice.

• Serialdata–SDAThe SDA pin is bidirectional for serial datatransfer.Thepinisopen-draindrivenandmaybewired-ORwithanynumberofotheropen-drainoropencollectordevices.

• Writeprotect–WPTheHT24LC02Ahas awrite protect pin thatprovides hardware data protection.Thewriteprotectpinallowsnormal read/writeoperationswhenconnectedtoVSSorleftfloating.Whenthewriteprotectpin isconnected toVCC, thewriteprotectionfeatureisenabledandoperatesasshowninthefollowingtable.

WP Pin Status Protect ArrayVCC Full Array (2K)VSS or floating Normal Read/Write Operations

Memory Organization• HT24LC02A,2KSerialEEPROMInternallyorganizedwith2568-bitwords,the2Krequiresan8-bitdatawordaddress for randomwordaddressing.

Device Operations• ClockanddatatransitionDatatransfermaybeinitiatedonlywhenthebusisnotbusy.Duringdatatransfer, thedatalinemustremain stablewhenever theclock line ishigh.Changes indata linewhile theclockline ishighwillbeinterpretedasaSTARTorSTOPcondition.

• StartconditionAhigh-to-lowtransitionofSDAwithSCLhighisastartconditionwhichmustprecedeanyothercommand (refer to Start andStopDefinitionTimingdiagram).

• StopconditionAlow-to-hightransitionofSDAwithSCLhighisastopcondition.Afterareadsequence, thestopcommandwillplace theEEPROMinastandbypowermode (refer toStartandStopDefinitionTimingDiagram).

• AcknowledgeAll addresses and data words are seriallytransmitted to and from theEEPROM in8-bitwords.TheEEPROMsendsazerotoacknowledgethatithasreceivedeachword.Thishappensduringtheninthclockcycle.

� � �

� � �

� � � � � � � � � � � �� � � � � � � � �

� � � � � � � �� � � � � � � � � � �� � � �

� � � � � � � � � �

� � � � � �� � � � � � �

� � � � � � � � � �

Device AddressingThe2KEEPROMdevicesallrequirean8-bitdeviceaddresswordfollowingastartconditiontoenablethechipforareadorwriteoperation.Thedeviceaddresswordconsistofamandatoryone,zerosequenceforthefirstfourmostsignificantbits(refertothediagramshowingtheDeviceAddress).ThisiscommontoalltheEEPROMdevice.

The 8th bit of device address is the read/writeoperationselectbit.Areadoperationisinitiatedifthisbitishighandawriteoperationisinitiatedifthisbitislow.

If thecomparisonof thedeviceaddresssucceedtheEEPROMwilloutputazeroatACKbit. Ifnot, thechipwillreturntoastandbystate.

� � �� � � � �

� � � � � � � � � � � � � �

� �

Write Operations• BytewriteAwrite operation requires an8-bit datawordaddress following thedeviceaddresswordandacknowledgment.Upon receiptof thisaddress,theEEPROMwill again respondwith a zeroand thenclock in thefirst8-bitdataword.Afterreceivingthe8-bitdataword, theEEPROMwilloutputazeroandtheaddressingdevice,suchasamicrocontroller,mustterminatethewritesequencewithastopcondition.At this timetheEEPROMentersaninternally-timedwritecycle tothenon-volatilememory.AllinputsaredisabledduringthiswritecycleandEEPROMwillnot responduntilthewriteiscompleted(refertoBytewritetiming).

Page 5: HT24LC02A CMOS 2K 2-Wire Serial EEPROM - Holtek · HT24LC02A CMOS 2K 2-Wire Serial EEPROM ... volatile memory device using the CMOS floating gate process. ... , the microcontroller

Rev. 1.10 5 January 16, 2014

HT24LC02A

• PagewriteThe2KEEPROMiscapableofan8-bytepagewrite.Apagewrite is initiated thesameasbytewrite, but themicrocontroller doesnot send astopconditionafterthefirstdatawordisclockedin.Instead,after theEEPROMacknowledgesthereceiptof thefirstdataword, themicrocontrollercan transmitup to sevenmoredatawords.TheEEPROMwillrespondwithazeroaftereachdatawordreceived.Themicrocontrollermustterminatethepagewritesequencewithastopcondition.Thedatawordaddress lower three(2K)bitsareinternally incremented following the receiptofeachdataword.Thehigherdatawordaddressbitsarenot incremented, retaining thememorypagerowlocation(refertoPagewritetiming).

• AcknowledgepollingTomaximisebusthroughput,onetechniqueis toallowthemastertopollforanacknowledgesignalafter thestartconditionand thecontrolbyte forawritecommandhavebeensent.If thedeviceisstillbusy implementing itswritecycle, thennoACKwillbe returned.Themastercansend thenext read/writecommandwhen theACKsignalhasfinallybeenreceived.

� � � � � � � � � � � � � � � � � �

� � � � � � � � � � � � � � � � � � �� � � � � � � � � � � � � � � � � � � � � � �

� � � � � � � � � �

� � � � � � � � � � � � � � � �� � � � � � � �

� � � � � � � �

� � � � � � � � � � � � � �

� �

� � �

Acknowledge Polling Flow

• WriteprotectTheHT24LC02Ahasawrite-protectfunctionandprogrammingwill thenbeinhibitedwhentheWPpin isconnected toVCC.Under thismode, theHT24LC02AisusedasaserialROM.

• ReadoperationsTheHT24LC02Asupports threereadoperations,namely, current address read, randomaddressreadandsequential read.Duringreadoperationexecution,theread/writeselectbitshouldbesetto"1".

• CurrentaddressreadTheinternaldatawordaddresscountermaintainsthe lastaddressaccessedduring the last readorwriteoperation,incrementedbyone.Thisaddressstaysvalidbetweenoperationsaslongasthechippowerismaintained.Theaddressrolloverduringreadfromthelastbyteofthelastmemorypagetothefirstbyteofthefirstpage.Theaddressrolloverduringwritefromthelastbyteofthecurrentpagetothefirstbyteofthesamepage.Oncethedeviceaddresswiththeread/writeselectbitsettooneisclocked inandacknowledgedby theEEPROM,thecurrentaddressdataword isseriallyclockedout.Themicrocontroller should respondaNoACK(High)signalandfollowingstopcondition(refertoCurrentreadtiming).

• RandomreadA random read requires a dummybytewritesequenceto loadin thedatawordaddresswhichis then clocked in and acknowledged by theEEPROM.Themicrocontrollermustthengenerateanother start condition.Themicrocontrollernow initiatesacurrentaddress readbysendingadeviceaddresswith the read/write selectbithigh.TheEEPROMacknowledges thedeviceaddressandseriallyclocksoutthedataword.Themicrocontrollershouldrespondwitha"noACK"signal(high)followedbyastopcondition.(refertoRandomreadtiming).

• SequentialreadSequential readsare initiatedbyeitheracurrentaddressreadorarandomaddressread.After themicrocontrollerreceivesadataword, it respondswithanacknowledgment.AslongastheEEPROMreceivesanacknowledgment, itwillcontinue toincrementthedatawordaddressandseriallyclockout sequential datawords.When thememoryaddresslimitisreached,thedatawordaddresswillrolloverand thesequential readcontinues.Thesequential readoperation is terminatedwhenthemicrocontrollerrespondswitha"noACK"signal(high)followedbyastopcondition.

Page 6: HT24LC02A CMOS 2K 2-Wire Serial EEPROM - Holtek · HT24LC02A CMOS 2K 2-Wire Serial EEPROM ... volatile memory device using the CMOS floating gate process. ... , the microcontroller

Rev. 1.10 6 January 16, 2014

HT24LC02A

� � �

� � �� �

� � � � � � � � � � � � � � � � � � � � � � � � � � � � �

� � � � � � � �

� � �

� � � � � �

� � � � � � � � � � � � � � � � �

Byte Write Timing

� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �

� � � � � �

� � � �

� �

� � � � � �

� � �

� � � � � � � � � � � � �

� � � � � � � � � � � � � � � � �

Page Write Timing

�� �

� � � � � � � � � � � � � � � � � �

� � �

� � �

� � � � �

� � �

� � � � �

� � � � � � � � � � � � � � � � � � �

� �

Current Read Timing

� � � � � � � � � � � � � � � � � � � � � � � � � �

� � �

� � �

� � � � �

� � �� � � � � � � � �

�� � �

� � � �

� � � � � � � � � � � � � �

� � � � �

� � � � � � � � � � � � � � � � � �

Random Read Timing� � � � � � � � � � � � � � � � � � � � � �

� � � � � � � � � � � � � � � � � � � �� � � �

� � � � �� � �

� ��

� �

� � � � � � � � � � � � � �

� � � � �

Sequential Read Timing

Timing Diagrams

� �� � � �

� � � � � � �

� � � � � � � � � � � � � �

� � �

� � � � � � �� � � � � � � � � � � � � �

� � � �

� � � �

� � �

� � �

� � �� � �

� � �

� � �

� � �

� � � � � � � � � � � � �

� � � � � �� � �

� � � � � � � � �� � � � �

� � � � � � � � �

Note:ThewritecycletimetWRisthetimefromavalidstopconditionofawritesequencetotheendofthevalidstartconditionofsequentialcommand.

Page 7: HT24LC02A CMOS 2K 2-Wire Serial EEPROM - Holtek · HT24LC02A CMOS 2K 2-Wire Serial EEPROM ... volatile memory device using the CMOS floating gate process. ... , the microcontroller

Rev. 1.10 7 January 16, 2014

HT24LC02A

Package InformationNotethat thepackageinformationprovidedhereisforconsultationpurposesonly.AsthisinformationmaybeupdatedatregularintervalsusersareremindedtoconsulttheHoltekwebsiteforthelatestversionofthepackageinformation.

Additionalsupplementaryinformationwithregardtopackagingislistedbelow.Clickontherelevantsectiontobetransferredtotherelevantwebsitepage.

• FurtherPackageInformation(includeOutlineDimensions,ProductTapeandReelSpecifications)

• PackingMeterialsInformation

• Cartoninformation

Page 8: HT24LC02A CMOS 2K 2-Wire Serial EEPROM - Holtek · HT24LC02A CMOS 2K 2-Wire Serial EEPROM ... volatile memory device using the CMOS floating gate process. ... , the microcontroller

Rev. 1.10 8 January 16, 2014

HT24LC02A

8-pin SOP (150mil) Outline Dimensions

� � ��

��

�� �

SymbolDimensions in inch

Min. Nom. Max.A — 0.236 BSC —B — 0.154 BSC —C 0.012 — 0.020C′ — 0.193 BSC —D — — 0.069E — 0.050 BSC —F 0.004 — 0.010G 0.016 — 0.050H 0.004 — 0.010α 0° — 8°

SymbolDimensions in mm

Min. Nom. Max.A — 6.00 BSC —B — 3.90 BSC —C 0.31 — 0.51C′ — 4.90 BSC —D — — 1.75E — 1.27 BSC —F 0.10 — 0.25G 0.40 — 1.27H 0.10 — 0.25α 0° — 8°

Page 9: HT24LC02A CMOS 2K 2-Wire Serial EEPROM - Holtek · HT24LC02A CMOS 2K 2-Wire Serial EEPROM ... volatile memory device using the CMOS floating gate process. ... , the microcontroller

Rev. 1.10 9 January 16, 2014

HT24LC02A

5-pin SOT23-5 Outline Dimensions

SymbolDimensions in inch

Min. Nom. Max.A — — 0.057

A1 — — 0.006A2 0.035 0.045 0.051b 0.012 — 0.020C 0.003 — 0.009D — 0.114 BSC —E — 0.063 BSC —e — 0.037 BSC —

e1 — 0.075 BSC —H — 0.110 BSC —L1 — 0.024 BSC —θ 0° — 8°

SymbolDimensions in mm

Min. Nom. Max.A — — 1.45

A1 — — 0.15A2 0.90 1.15 1.30b 0.30 — 0.50C 0.08 — 0.22D — 2.90 BSC —E — 1.60 BSC —e — 0.95 BSC —e1 — 1.90 BSC —H — 2.80 BSC —L1 — 0.60 BSC —θ 0° — 8°

Page 10: HT24LC02A CMOS 2K 2-Wire Serial EEPROM - Holtek · HT24LC02A CMOS 2K 2-Wire Serial EEPROM ... volatile memory device using the CMOS floating gate process. ... , the microcontroller

Rev. 1.10 10 January 16, 2014

HT24LC02A

Copyright© 2014 by HOLTEK SEMICONDUCTOR INC.

The information appearing in this Data Sheet is believed to be accurate at the time of publication. However, Holtek assumes no responsibility arising from the use of the specifications described. The applications mentioned herein are used solely for the purpose of illustration and Holtek makes no warranty or representation that such applications will be suitable without further modification, nor recommends the use of its products for application that may present a risk to human life due to malfunction or otherwise. Holtek's products are not authorized for use as critical components in life support devices or systems. Holtek reserves the right to alter its products without prior notification. For the most up-to-date information, please visit our web site at http://www.holtek.com.tw.