602-00013 Parallax Inc, 602-00013 Datasheet
602-00013
Specifications of 602-00013
Related parts for 602-00013
602-00013 Summary of contents
Page 1
... Application Ideas Data storage • Data tables • Quick Start Circuit © Parallax, Inc. • 24LC128 (#602-00013) • 08/2005 v2.0 Web Site: www.parallax.com Forums: forums.parallax.com Sales: sales@parallax.com Technical: support@parallax.com C CMOS Serial EEPROM that can provide additional non-volatile data ² Office: (916) 624-8333 ...
Page 2
... GND Ground Icc (sb) Standyby Supply Current Ir Read Current Iw Write Current * Ratings from manufacturer datasheet © Parallax, Inc. • 24LC128 (#602-00013) • 08/2005 v2.0 Function Address Pin 0 Address Pin 1 Address Pin 2 Ground -> Serial Data Input/Output Synchronous Clock Input Write-Protect Pin +5 V Power Input Minimum 2 ...
Page 3
... VAR Word ' -----[ Main Routine ]---------------------------------------------------- DO DEBUG "Enter value to store from 0 to 255: " © Parallax, Inc. • 24LC128 (#602-00013) • 08/2005 v2.0 ' I2C Serial Data Line ' I2C Serial Clock Line ' Address Of 24LC128 ' Acknowledge Bit ' Variable Used For Work ' Work Byte For I2C I/O ...
Page 4
... SHIFTOUT SDA, SCL, MSBFIRST, [i2cWork\8] ' Send Byte To Device SHIFTIN SDA, SCL, MSBPRE, [i2cAck\1] ' Get Acknowledge Bit RETURN Control_Byte_Read: i2cWork = Address © Parallax, Inc. • 24LC128 (#602-00013) • 08/2005 v2.0 ' I2C Stop Bit Sequence ' SDA --> High While SCL High ' I2C Start Bit Sequence ' SDA --> Low While SCL High ...
Page 5
... I2CIN SDA, $A1,eeprom_add.HIGHBYTE\eeprom_add.LOWBYTE, [value] DEBUG CR, "Value stored at location ",DEC eeprom_add, " is ", DEC value, CR, CR, CR LOOP © Parallax, Inc. • 24LC128 (#602-00013) • 08/2005 v2.0 ' Sets Device To Read ' I2C Write Byte Sequence ' I2C Serial Data Line ' I2C Serial Clock Line ...