0
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
会员中心
创作中心
发布
  • 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
AT24HC04B-TH-T

AT24HC04B-TH-T

  • 厂商:

    ACTEL(微芯科技)

  • 封装:

    TSSOP-8_3X4.4MM

  • 描述:

    IC EEPROM 4KBIT I2C 1MHZ 8TSSOP

  • 数据手册
  • 价格&库存
AT24HC04B-TH-T 数据手册
AT24HC04B I²C-Compatible (Two-Wire) Serial EEPROM 4-Kbit (512 x 8) Features • Low-Voltage Operation: – VCC = 1.8V to 5.5V • Internally Organized as 512 x 8 (4K) • Industrial Temperature Range: -40°C to +85°C • I2C-Compatible (Two-Wire) Serial Interface: – 100 kHz Standard mode, 1.8V to 5.5V – 400 kHz Fast mode, 1.8V to 5.5V – 1 MHz Fast Mode Plus (FM+), 4.5V to 5.5V • Schmitt Triggers, Filtered Inputs for Noise Suppression • Bidirectional Data Transfer Protocol • Write-Protect Pin for Half Array Hardware Data Protection • Ultra Low Active Current (3 mA maximum) and Standby Current (18 μA maximum) • 16-Byte Page Write Mode: – Partial page writes allowed • Random and Sequential Read Modes • Self-Timed Write Cycle within 5 ms Maximum • High Reliability: – Endurance: 1,000,000 write cycles – Data retention: 100 years • Green Package Options (Lead-free/Halide-free/RoHS compliant) • Die Sale Options: Wafer Form, Tape and Reel and Bumped Wafer Packages • 8-Lead PDIP, 8-Lead SOIC and 8-Lead TSSOP © 2019 Microchip Technology Inc. Datasheet DS20006150A-page 1 AT24HC04B Table of Contents Features.......................................................................................................................... 1 Packages.........................................................................................................................1 1. Package Types (not to scale).................................................................................... 4 2. Pin Descriptions.........................................................................................................5 2.1. 2.2. 2.3. 2.4. 2.5. 2.6. Device Address Inputs (A1, A2)................................................................................................... 5 Ground......................................................................................................................................... 5 Serial Data (SDA).........................................................................................................................5 Serial Clock (SCL)........................................................................................................................6 Write-Protect (WP)....................................................................................................................... 6 Device Power Supply................................................................................................................... 6 3. Description.................................................................................................................7 3.1. 3.2. System Configuration Using Two-Wire Serial EEPROMs ........................................................... 7 Block Diagram.............................................................................................................................. 8 4. Electrical Characteristics........................................................................................... 9 4.1. 4.2. 4.3. 4.4. 4.5. Absolute Maximum Ratings..........................................................................................................9 DC and AC Operating Range.......................................................................................................9 DC Characteristics....................................................................................................................... 9 AC Characteristics......................................................................................................................10 Electrical Specifications..............................................................................................................12 5. Device Operation and Communication....................................................................14 5.1. 5.2. 5.3. 5.4. 5.5. Clock and Data Transition Requirements...................................................................................14 Start and Stop Conditions.......................................................................................................... 14 Acknowledge and No-Acknowledge...........................................................................................15 Standby Mode............................................................................................................................ 15 Software Reset...........................................................................................................................16 6. Memory Organization.............................................................................................. 17 6.1. Device Addressing..................................................................................................................... 17 7. Write Operations......................................................................................................19 7.1. 7.2. 7.3. 7.4. 7.5. Byte Write...................................................................................................................................19 Page Write..................................................................................................................................19 Acknowledge Polling.................................................................................................................. 20 Write Cycle Timing..................................................................................................................... 21 Write Protection..........................................................................................................................21 8. Read Operations..................................................................................................... 22 8.1. 8.2. Current Address Read................................................................................................................22 Random Read............................................................................................................................ 22 © 2019 Microchip Technology Inc. Datasheet DS20006150A-page 2 AT24HC04B 8.3. Sequential Read.........................................................................................................................23 9. Device Default Condition from Microchip................................................................ 24 10. Packaging Information.............................................................................................25 10.1. Package Marking Information.....................................................................................................25 11. Revision History.......................................................................................................33 The Microchip Web Site................................................................................................ 34 Customer Change Notification Service..........................................................................34 Customer Support......................................................................................................... 34 Product Identification System........................................................................................ 35 Microchip Devices Code Protection Feature................................................................. 35 Legal Notice...................................................................................................................36 Trademarks................................................................................................................... 36 Quality Management System Certified by DNV.............................................................37 Worldwide Sales and Service........................................................................................38 © 2019 Microchip Technology Inc. Datasheet DS20006150A-page 3 AT24HC04B Package Types (not to scale) 1. Package Types (not to scale) 8-Lead PDIP/SOIC/TSSOP (Top View) © 2019 Microchip Technology Inc. NC 1 8 Vcc A1 2 7 WP A2 3 6 SCL GND 4 5 SDA Datasheet DS20006150A-page 4 AT24HC04B Pin Descriptions 2. Pin Descriptions The descriptions of the pins are listed in Table 2-1. Table 2-1. Pin Function Table Name 8-Lead PDIP 8-Lead SOIC 8-Lead TSSOP Function NC 1 1 1 No Connect A1(1) 2 2 2 Device Address Input A2(1) 3 3 3 Device Address Input GND 4 4 4 Ground SDA 5 5 5 Serial Data SCL 6 6 6 Serial Clock WP(1) 7 7 7 Write-Protect VCC 8 8 8 Device Power Supply Note:  1. If the A1, A2 or WP pins are not driven, they are internally pulled down to GND. In order to operate in a wide variety of application environments, the pull-down mechanism is intentionally designed to be somewhat strong. Once these pins are biased above the CMOS input buffer’s trip point (~0.5 x VCC), the pull‑down mechanism disengages. Microchip recommends connecting these pins to a known state whenever possible. 2.1 Device Address Inputs (A1, A2) The A1 and A2 pins are device address inputs that are hardwired (directly to GND or to VCC) for compatibility with other two-wire Serial EEPROM devices. When the pins are hardwired, as many as four devices may be addressed on a single bus system. A device is selected when a corresponding hardware and software match is true. If these pins are left floating, the A1 and A2 pins will be internally pulled down to GND. However, due to capacitive coupling that may appear in customer applications, Microchip recommends always connecting the address pins to a known state. When using a pull-up resistor, Microchip recommends using 10 kΩ or less. 2.2 Ground The ground reference for the power supply. GND should be connected to the system ground. 2.3 Serial Data (SDA) The SDA pin is an open-drain bidirectional input/output pin used to serially transfer data to and from the device. The SDA pin must be pulled high using an external pull-up resistor (not to exceed 10 kΩ in value) and may be wire-ORed with any number of other open-drain or open-collector pins from other devices on the same bus. © 2019 Microchip Technology Inc. Datasheet DS20006150A-page 5 AT24HC04B Pin Descriptions 2.4 Serial Clock (SCL) The SCL pin is used to provide a clock to the device and to control the flow of data to and from the device. Command and input data present on the SDA pin is always latched in on the rising edge of SCL, while output data on the SDA pin is clocked out on the falling edge of SCL. The SCL pin must either be forced high when the serial bus is idle or pulled high using an external pull-up resistor. 2.5 Write-Protect (WP) The write-protect input, when connected to GND, allows normal write operations. When the WP pin is connected directly to VCC, all write operations to the upper half of the memory array are inhibited. If the pin is left floating, the WP pin will be internally pulled down to GND. However, due to capacitive coupling that may appear in customer applications, Microchip recommends always connecting the WP pin to a known state. When using a pull‑up resistor, Microchip recommends using 10 kΩ or less. Table 2-2. Write-Protect 2.6 WP Pin Status Part of the Array Protected At VCC Upper Half (2K) Array At GND Normal Write Operations Device Power Supply The VCC pin is used to supply the source voltage to the device. Operations at invalid VCC voltages may produce spurious results and should not be attempted. © 2019 Microchip Technology Inc. Datasheet DS20006150A-page 6 AT24HC04B Description 3. Description The AT24HC04B provides 4,096 bits of Serial Electrically Erasable and Programmable Read-Only Memory (EEPROM) organized as 512 words of 8 bits each. The device's cascading feature allows up to four devices to share a common two‑wire bus. This device is optimized for use in many industrial and commercial applications where low-power and low-voltage operations are essential. The device is available in space‑saving 8‑lead PDIP, 8‑lead SOIC and 8‑lead TSSOP packages. All packages operate from 1.8V to 5.5V. 3.1 System Configuration Using Two-Wire Serial EEPROMs VCC RPUP(max) = tR(max) 0.8473 x CL V - VOL(max) RPUP(min) = CC IOL VCC SCL SDA WP I2C Bus Master: Microcontroller NC VCC NC A1 Slave 0 WP AT24HCXXX A1 A2 GND © 2019 Microchip Technology Inc. GND VCC NC Slave 1 WP AT24HCXXX A1 SDA A2 SCL GND Datasheet VCC Slave 3 WP AT24HCXXX SDA A2 SCL GND SDA SCL DS20006150A-page 7 AT24HC04B Description Block Diagram Hardware Address Comparator Memory System Control Module Power-on Reset Generator VCC High-Voltage Generation Circuit A1 Row Decoder 3.2 EEPROM Array 1 page A2 © 2019 Microchip Technology Inc. WP Address Register and Counter Column Decoder SCL Data Register DOUT GND Write Protection Control Data and ACK Input/Output Control DIN Start Stop Detector SDA Datasheet DS20006150A-page 8 AT24HC04B Electrical Characteristics 4. Electrical Characteristics 4.1 Absolute Maximum Ratings Temperature under bias -40°C to +125°C Storage temperature -65°C to +150°C VCC 6.25V Voltage on any pin with respect to ground -1.0V to +7.0V DC output current 5.0 mA ESD protection >3 kV Note:  Stresses above those listed under “Absolute Maximum Ratings” may cause permanent damage to the device. This is a stress rating only and functional operation of the device at these or any other conditions above those indicated in the operation listings of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. 4.2 DC and AC Operating Range Table 4-1. DC and AC Operating Range AT24HC04B 4.3 Operating Temperature (Case) Industrial Temperature Range -40°C to +85°C VCC Power Supply Low-Voltage Grade 1.8V to 5.5V DC Characteristics Table 4-2. DC Characteristics Symbol Minimum Typical(1) Maximum Units Supply Voltage VCC 1.8 — 5.5 V Supply Current ICC1 — 0.40 1.0 mA VCC = 5.0V, Read at 100 kHz Supply Current ICC2 — 2.0 3.0 mA VCC = 5.0V, Write at 100 kHz Parameter © 2019 Microchip Technology Inc. Datasheet Test Conditions — DS20006150A-page 9 AT24HC04B Electrical Characteristics ...........continued Parameter Symbol Minimum Typical(1) Maximum Units Test Conditions ISB — 0.60 3.0 μA VCC = 1.8V, VIN = VCC or GND — 1.40 4.0 μA VCC = 2.5V, VIN = VCC or GND — 1.60 4.0 μA VCC = 2.7V, VIN = VCC or GND — 8.0 18.0 μA VCC = 5.0V, VIN = VCC or GND Standby Current Input Leakage Current ILI — 0.10 3.0 μA VIN = VCC or GND Output Leakage Current ILO — 0.05 3.0 μA VOUT = VCC or GND Input Low Level VIL -0.6 — VCC x 0.3 V Note 2 Input High Level VIH VCC x 0.7 — VCC + 0.5 V Note 2 Output Low Level VOL1 — — 0.2 V VCC = 1.8V, IOL = 0.15 mA Output Low Level VOL2 — — 0.4 V VCC = 3.0V, IOL = 2.1 mA Note:  1. 2. 4.4 Typical values characterized at TA = +25°C unless otherwise noted. This parameter is characterized but is not 100% tested in production. AC Characteristics Table 4-3. AC Characteristics(1) Parameter Symbol Fast Mode Fast Mode Plus VCC = 1.7V to 2.5V VCC = 2.5V to 5.5V Min. Max. Min. Max. Units Clock Frequency, SCL fSCL — 400 — 1000 kHz Clock Pulse Width Low tLOW 1,200 — 500 — ns Clock Pulse Width High tHIGH 600 — 400 — ns © 2019 Microchip Technology Inc. Datasheet DS20006150A-page 10 AT24HC04B Electrical Characteristics ...........continued Parameter Symbol Fast Mode Fast Mode Plus VCC = 1.7V to 2.5V VCC = 2.5V to 5.5V Min. Max. Min. Max. Units Input Filter Spike Suppression (SCL, SDA) tI — 50 — 40 ns Clock Low to Data Out Valid tAA 100 900 50 450 ns Bus Free Time between Stop and Start tBUF 1,200 — 500 — ns Start Hold Time tHD.STA 600 — 250 — ns Start Set-Up Time tSU.STA 600 — 250 — ns Data In Hold Time tHD.DAT 0 — 0 — ns Data In Set-up Time tSU.DAT 100 — 100 — ns tR — 300 — 300 ns tF — 300 — 100 ns Inputs Rise Time(2) Inputs Fall Time(2) tSU.STO 600 — 250 — ns Data Out Hold Time Stop Set-Up Time tDH 50 — 50 — ns Write Cycle Time tWR — 5 — 5 ms Note:  1. AC measurement conditions: – CL: 100 pF – RPUP (SDA bus line pull-up resistor to VCC): 1.3 kΩ (1000 kHz), 4 kΩ (400 kHz), 10 kΩ (100 kHz) – Input pulse voltages: 0.3 x VCC to 0.7 x VCC – Input rise and fall times: ≤50 ns – Input and output timing reference voltages: 0.5 x VCC 2. These parameters are determined through product characterization and are not 100% tested in production. © 2019 Microchip Technology Inc. Datasheet DS20006150A-page 11 AT24HC04B Electrical Characteristics Figure 4-1.  Bus Timing tF tHIGH tR tLOW SCL tSU.STA tHD.STA tHD.DAT tSU.DAT tSU.STO SDA In tBUF tAA tDH SDA Out 4.5 Electrical Specifications 4.5.1 Power-Up Requirements and Reset Behavior During a power-up sequence, the VCC supplied to the AT24HC04B should monotonically rise from GND to the minimum VCC level, as specified in Table 4-1, with a slew rate no faster than 0.1 V/µs. 4.5.1.1 Device Reset To prevent inadvertent write operations or any other spurious events from occurring during a power-up sequence, the AT24HC04B includes a Power-on Reset (POR) circuit. Upon power-up, the device will not respond to any commands until the VCC level crosses the internal voltage threshold (VPOR) that brings the device out of Reset and into Standby mode. The system designer must ensure the instructions are not sent to the device until the VCC supply has reached a stable value greater than or equal to the minimum VCC level. Additionally, once the VCC is greater than or equal to the minimum VCC level, the bus master must wait at least tPUP before sending the first command to the device. See Table 4-4 for the values associated with these power-up parameters. Table 4-4. Power-Up Conditions(1) Symbol Parameter tPUP Time required after VCC is stable before the device can accept commands VPOR Power-on Reset Threshold Voltage tPOFF Minimum time at VCC = 0V between power cycles Min. Max. Units 100 - µs - 1.5 V 500 - ms Note:  1. These parameters are characterized but they are not 100% tested in production. If an event occurs in the system where the VCC level supplied to the AT24HC04B drops below the maximum VPOR level specified, it is recommended that a full-power cycle sequence be performed by first driving the VCC pin to GND, waiting at least the minimum tPOFF time and then performing a new power-up sequence in compliance with the requirements defined in this section. © 2019 Microchip Technology Inc. Datasheet DS20006150A-page 12 AT24HC04B Electrical Characteristics 4.5.2 Pin Capacitance Table 4-5. Pin Capacitance(1) Symbol Test Condition Max. Units Conditions CI/O Input/Output Capacitance (SDA) 8 pF VI/O = 0V CIN Input Capacitance (A1, A2 and SCL) 6 pF VIN = 0V Note:  1. This parameter is characterized but is not 100% tested in production. 4.5.3 EEPROM Cell Performance Characteristics Table 4-6. EEPROM Cell Performance Characteristics Operation Test Condition Write Endurance(1) TA = 25°C, VCC = 5.0V, Byte mode Data Retention(1) TA = 55°C Min. Max. Units 1,000,000 — Write Cycles 100 — Years Note:  1. Performance is determined through characterization and the qualification process. © 2019 Microchip Technology Inc. Datasheet DS20006150A-page 13 AT24HC04B Device Operation and Communication 5. Device Operation and Communication The AT24HC04B operates as a slave device and utilizes a simple I2C-compatible two-wire digital serial interface to communicate with a host controller, commonly referred to as the bus master. The master initiates and controls all read and write operations to the slave devices on the serial bus, and both the master and the slave devices can transmit and receive data on the bus. The serial interface is comprised of just two signal lines: Serial Clock (SCL) and Serial Data (SDA). The SCL pin is used to receive the clock signal from the master, while the bidirectional SDA pin is used to receive command and data information from the master as well as to send data back to the master. Data is always latched into the AT24HC04B on the rising edge of SCL and always output from the device on the falling edge of SCL. Both the SCL and SDA pins incorporate integrated spike suppression filters and Schmitt Triggers to minimize the effects of input spikes and bus noise. All command and data information is transferred with the Most Significant bit (MSb) first. During bus communication, one data bit is transmitted every clock cycle, and after eight bits (one byte) of data have been transferred, the receiving device must respond with either an Acknowledge (ACK) or a No-Acknowledge (NACK) response bit during a ninth clock cycle (ACK/NACK clock cycle) generated by the master. Therefore, nine clock cycles are required for every one byte of data transferred. There are no unused clock cycles during any read or write operation, so there must not be any interruptions or breaks in the data stream during each data byte transfer and ACK or NACK clock cycle. During data transfers, data on the SDA pin must only change while SCL is low, and the data must remain stable while SCL is high. If data on the SDA pin changes while SCL is high, then either a Start or a Stop condition will occur. Start and Stop conditions are used to initiate and end all serial bus communication between the master and the slave devices. The number of data bytes transferred between a Start and a Stop condition is not limited and is determined by the master. In order for the serial bus to be idle, both the SCL and SDA pins must be in the logic-high state at the same time. 5.1 Clock and Data Transition Requirements The SDA pin is an open-drain terminal and therefore must be pulled high with an external pull‑up resistor. SCL is an input pin that can either be driven high or pulled high using an external pull‑up resistor. Data on the SDA pin may change only during SCL low time periods. Data changes during SCL high periods will indicate a Start or Stop condition as defined below. The relationship of the AC timing parameters with respect to SCL and SDA for the AT24HC04B is shown in the timing waveform in Figure 4-1. The AC timing characteristics and specifications are outlined in AC Characteristics. 5.2 Start and Stop Conditions 5.2.1 Start Condition A Start condition occurs when there is a high-to-low transition on the SDA pin while the SCL pin is at a stable logic ‘1’ state and will bring the device out of Standby mode. The master uses a Start condition to initiate any data transfer sequence; therefore, every command must begin with a Start condition. The device will continuously monitor the SDA and SCL pins for a Start condition but will not respond unless one is detected. Refer to Figure 5-1 for more details. 5.2.2 Stop Condition A Stop condition occurs when there is a low-to-high transition on the SDA pin while the SCL pin is stable in the logic ‘1’ state. © 2019 Microchip Technology Inc. Datasheet DS20006150A-page 14 AT24HC04B Device Operation and Communication The master can use the Stop condition to end a data transfer sequence with the AT24HC04B, which will subsequently return to Standby mode. The master can also utilize a repeated Start condition instead of a Stop condition to end the current data transfer if the master will perform another operation. Refer to Figure 5-1 for more details. 5.3 Acknowledge and No-Acknowledge After every byte of data is received, the receiving device must confirm to the transmitting device that it has successfully received the data byte by responding with what is known as an Acknowledge (ACK). An ACK is accomplished by the transmitting device first releasing the SDA line at the falling edge of the eighth clock cycle followed by the receiving device responding with a logic ‘0’ during the entire high period of the ninth clock cycle. When the AT24HC04B is transmitting data to the master, the master can indicate that it is done receiving data and wants to end the operation by sending a logic ‘1’ response to the AT24HC04B instead of an ACK response during the ninth clock cycle. This is known as a No-Acknowledge (NACK) and is accomplished by the master sending a logic ‘1’ during the ninth clock cycle, at which point the AT24HC04B will release the SDA line so the master can then generate a Stop condition. The transmitting device, which can be the bus master or the Serial EEPROM, must release the SDA line at the falling edge of the eighth clock cycle to allow the receiving device to drive the SDA line to a logic ‘0’ to ACK the previous 8-bit word. The receiving device must release the SDA line at the end of the ninth clock cycle to allow the transmitter to continue sending new data. A timing diagram has been provided in Figure 5-1 to better illustrate these requirements. Figure 5-1. Start Condition, Data Transitions, Stop Condition and Acknowledge SCL SDA Must Be Stable SDA Must Be Stable 1 2 Acknowledge Window 8 9 SDA Start Condition 5.4 Acknowledge Valid SDA Change Allowed SDA Change Allowed The transmitting device (Master or Slave) must release the SDA line at this point to allow the receiving device (Master or Slave) to drive the SDA line low to ACK the previous 8-bit word. Stop Condition The receiver (Master or Slave) must release the SDA line at this point to allow the transmitter to continue sending new data. Standby Mode The AT24HC04B features a low-power Standby mode that is enabled when any one of the following occurs: • A valid power-up sequence is performed (see Power-Up Requirements and Reset Behavior). • A Stop condition is received by the device unless it initiates an internal write cycle (see Write Operations). • At the completion of an internal write cycle (see Write Operations). © 2019 Microchip Technology Inc. Datasheet DS20006150A-page 15 AT24HC04B Device Operation and Communication 5.5 Software Reset After an interruption in protocol, power loss or system Reset, any two‑wire device can be protocol reset by clocking SCL until SDA is released by the EEPROM and goes high. The number of clock cycles until SDA is released by the EEPROM will vary. The software Reset sequence should not take more than nine dummy clock cycles. Once the software Reset sequence is complete, new protocol can be sent to the device by sending a Start condition followed by the protocol. Refer to Figure 5-2 for an illustration. Figure 5-2. Software Reset Dummy Clock Cycles SCL 1 2 3 8 SDA Released by EEPROM 9 Device is Software Reset SDA In the event that the device is still non-responsive or remains active on the SDA bus, a power cycle must be used to reset the device (see Power-Up Requirements and Reset Behavior). © 2019 Microchip Technology Inc. Datasheet DS20006150A-page 16 AT24HC04B Memory Organization 6. Memory Organization The AT24HC04B is internally organized as 32 pages of 16 bytes each. 6.1 Device Addressing Accessing the device requires an 8-bit device address byte following a Start condition to enable the device for a read or write operation. Since multiple slave devices can reside on the serial bus, each slave device must have its own unique address so the master can access each device independently. The Most Significant four bits of the device address byte is referred to as the device type identifier. The device type identifier ‘1010’ (Ah) is required in bits 7 through 4 of the device address byte (see Table 6-1). Following the 4-bit device type identifier are the hardware slave address bits, A2 and A1. These bits can be used to expand the address space by allowing up to four Serial EEPROM devices on the same bus. These hardware slave address bits must correlate with the voltage level on the corresponding hardwired device address input pins A1 and A2. The A1 and A2 pins use an internal proprietary circuit that automatically biases it to a logic ‘0’ state if the pin is allowed to float. In order to operate in a wide variety of application environments, the pull‑down mechanism is intentionally designed to be somewhat strong. Once these pins are biased above the CMOS input buffert's trip point (~0.5 x VCC), the pull‑down mechanism disengages. Microchip recommends connecting the A1 and A2 pins to a known state whenever possible. Following the A2 and A1 hardware slave address bits is bit A8 (bit 1 of the device address byte), which is the Most Significant bit of the memory array word address. Refer to Table 6-1 to review the bit position. The eighth bit (bit 0) of the device address byte is the Read/Write Select bit. A read operation is initiated if this bit is high and a write operation is initiated if this bit is low. Upon the successful comparison of the device address byte, the AT24HC04B will return an ACK. If a valid comparison is not made, the device will NACK. Table 6-1. Device Address Byte Package PDIP, SOIC, TSSOP Device Type Identifier Hardware Slave Address Bits Most Significant Bit of the Word Address R/W Select Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 1 0 1 0 A2 A1 A8 R/W For all operations except the current address read, a word address byte must be transmitted to the device immediately following the device address byte. The word address byte consists of the remaining eight bits of the 9‑bit memory array word address, and is used to specify which byte location in the EEPROM to start reading or writing. Refer to Table 6-2 to review these bit positions. © 2019 Microchip Technology Inc. Datasheet DS20006150A-page 17 AT24HC04B Memory Organization Table 6-2. Word Address Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 A7 A6 A5 A4 A3 A2 A1 A0 © 2019 Microchip Technology Inc. Datasheet DS20006150A-page 18 AT24HC04B Write Operations 7. Write Operations All write operations for the AT24HC04B begin with the master sending a Start condition, followed by a device address byte with the R/W bit set to logic ‘0’, and then by the word address byte. The data value(s) to be written to the device immediately follow the word address byte. 7.1 Byte Write The AT24HC04B supports the writing of a single 8-bit byte. Selecting a data word in the AT24HC04B requires a 9-bit word address. Upon receipt of the proper device address and the word address bytes, the EEPROM will send an Acknowledge. The device will then be ready to receive the 8-bit data word. Following receipt of the 8‑bit data word, the EEPROM will respond with an ACK. The addressing device, such as a bus master, must then terminate the write operation with a Stop condition. At that time, the EEPROM will enter an internally self-timed write cycle, which will be completed within tWR, while the data word is being programmed into the nonvolatile EEPROM. All inputs are disabled during this write cycle, and the EEPROM will not respond until the write is complete. Figure 7-1. Byte Write 1 SCL 2 3 4 5 6 7 8 9 1 2 Device Address Byte SDA 1 0 1 0 A2 4 5 6 7 8 9 1 2 3 A8 0 0 A7 A6 A5 A4 A3 A2 4 5 6 7 8 9 D2 D1 D0 0 Data Word Word Address Byte MSB Start by Master 7.2 A1 3 A1 A0 0 D7 D6 D5 D4 D3 MSB MSB ACK from Slave ACK from Slave ACK from Slave Stop by Master Page Write A page write operation allows up to 16 bytes to be written in the same write cycle, provided all bytes are in the same row of the memory array (where address bits A8 through A4 are the same). Partial page writes of less than 16 bytes are also allowed. A page write is initiated the same way as a byte write, but the bus master does not send a Stop condition after the first data word is clocked in. Instead, after the EEPROM acknowledges receipt of the first data word, the bus master can transmit up to fifteen additional data words. The EEPROM will respond with an ACK after each data word is received. Once all data to be written has been sent to the device, the bus master must issue a Stop condition (see Figure 7-2) at which time the internally self-timed write cycle will begin. The lower four bits of the word address are internally incremented following the receipt of each data word. The higher order address bits are not incremented and retain the memory page row location. Page write operations are limited to writing bytes within a single physical page, regardless of the number of bytes actually being written. When the incremented word address reaches the page boundary, the address counter will roll-over to the beginning of the same page. Nevertheless, creating a roll‑over event should be avoided as previously loaded data in the page could become unintentionally altered. © 2019 Microchip Technology Inc. Datasheet DS20006150A-page 19 AT24HC04B Write Operations Figure 7-2.  Page Write 1 SCL 2 3 4 5 6 7 8 9 1 2 3 Device Address Byte SDA 1 0 1 0 A2 A1 4 5 6 7 8 9 A1 A0 0 Word Address Byte A8 0 A7 0 MSB A6 A5 A4 A3 A2 MSB Start by Master ACK from Slave 1 2 ACK from Slave 3 4 5 6 7 8 9 Data Word (n) D7 D6 D5 D4 D3 1 2 3 4 5 7 8 9 Data Word (n+x), max of 16 without rollover D2 D1 D0 0 MSB D7 D6 D5 D4 D3 D2 D1 D0 0 MSB ACK from Slave 7.3 6 ACK from Slave Stop by Master Acknowledge Polling An Acknowledge Polling routine can be implemented to optimize time-sensitive applications that would prefer not to wait the fixed maximum write cycle time (tWR). This method allows the application to know immediately when the Serial EEPROM write cycle has completed, so a subsequent operation can be started. Once the internally self-timed write cycle has started, an Acknowledge Polling routine can be initiated. This involves repeatedly sending a Start condition followed by a valid device address byte with the R/W bit set at logic ‘0’. The device will not respond with an ACK while the write cycle is ongoing. Once the internal write cycle has completed, the EEPROM will respond with an ACK, allowing a new read or write operation to be immediately initiated. A flowchart has been included below in Figure 7-3 to better illustrate this technique. Figure 7-3. Acknowledge Polling Flowchart Send any Write protocol. Send Stop condition to initiate the Write cycle. Send Start condition followed by a valid Device Address byte with R/W = 0. Did the device ACK? YES Proceed to next Read or Write operation. NO © 2019 Microchip Technology Inc. Datasheet DS20006150A-page 20 AT24HC04B Write Operations 7.4 Write Cycle Timing The length of the self-timed write cycle (tWR) is defined as the amount of time from the Stop condition that begins the internal write cycle to the Start condition of the first device address byte sent to the AT24HC04B that it subsequently responds to with an ACK. Figure 7-4 has been included to show this measurement. During the internally self-timed write cycle, any attempts to read from or write to the memory array will not be processed. Figure 7-4. Write Cycle Timing SCL 8 9 9 ACK ACK Data Word n SDA D0 tWR Stop Condition 7.5 Start Condition First Acknowledge from the device to a valid device address sequence after write cycle is initiated. The minimum tWR can only be determined through the use of an ACK Polling routine. Stop Condition Write Protection The AT24HC04B utilizes a hardware data protection scheme that allows the user to write-protect the upper half (2K) memory array contents when the WP pin is at VCC (or a valid VIH). No write protection will be set if the WP pin is at GND or left floating. Table 7-1. AT24HC04B Write-Protect Behavior WP Pin Voltage Part of the Array Protected VCC Upper Half (2K) Array GND None - Write Protection Not Enabled The status of the WP pin is sampled at the Stop condition for every byte write or page write operation prior to the start of an internally self-timed write cycle. Changing the WP pin state after the Stop condition has been sent will not alter or interrupt the execution of the write cycle. If an attempt is made to write to the upper half of the memory array while the WP pin has been asserted, the device will acknowledge the device address, word address and data bytes, but no write cycle will occur when the Stop condition is issued. The device will immediately be ready to accept a new read or write command. © 2019 Microchip Technology Inc. Datasheet DS20006150A-page 21 AT24HC04B Read Operations 8. Read Operations Read operations are initiated the same way as write operations with the exception that the Read/Write Select bit in the device address byte must be a logic ‘1’. There are three read operations: • Current Address Read • Random Address Read • Sequential Read 8.1 Current Address Read The internal data word address counter maintains the last address accessed during the last read or write operation, incremented by one. This address stays valid between operations as long as the VCC is maintained to the part. The address roll-over during a read is from the last byte of the last page to the first byte of the first page of the memory. A current address read operation will output data according to the location of the internal data word address counter. This is initiated with a Start condition, followed by a valid device address byte with the R/W bit set to logic ‘1’. The device will ACK this sequence and the current address data word is serially clocked out on the SDA line. All types of read operations will be terminated if the bus master does not respond with an ACK (it NACKs) during the ninth clock cycle. After the NACK response, the master may send a Stop condition to complete the protocol, or it can send a Start condition to begin the next sequence. Figure 8-1. Current Address Read 1 SCL 2 3 4 5 6 7 8 9 1 2 Device Address Byte SDA 1 1 0 A2 A1 4 5 6 7 8 9 D2 D1 D0 1 Data Word (n) A8 1 0 MSB Start by Master 8.2 0 3 D7 D6 D5 D4 D3 MSB ACK from Slave NACK from Master Stop by Master Random Read A random read begins in the same way as a byte write operation does to load in a new data word address. This is known as a “dummy write” sequence; however, the data byte and the Stop condition of the byte write must be omitted to prevent the part from entering an internal write cycle. Once the device address and word address are clocked in and acknowledged by the EEPROM, the bus master must generate another Start condition. The bus master now initiates a current address read by sending a Start condition, followed by a valid device address byte with the R/W bit set to logic ‘1’. In this second device address byte, the bit position usually reserved for the Most Significant bit of the word address (bit 1) is a "don’t care" bit since the address that will be read from is determined only by what was sent in the dummy write portion of the sequence. The EEPROM will ACK the device address and serially clock out the data word on the SDA line. All types of read operations will be terminated if the bus master does not respond with an ACK (it NACKs) during the ninth clock cycle. After the NACK response, the master may send a Stop condition to complete the protocol, or it can send a Start condition to begin the next sequence. © 2019 Microchip Technology Inc. Datasheet DS20006150A-page 22 AT24HC04B Read Operations Figure 8-2. Random Read 1 SCL 2 3 4 5 6 7 8 9 1 2 3 Device Address Byte SDA 1 0 1 0 A2 A1 4 5 6 7 8 9 A1 A0 0 Word Address Byte A8 0 A7 0 MSB A6 A5 A4 A3 A2 MSB Start by Master ACK from Slave ACK from Slave Dummy Write 1 2 3 4 5 6 7 8 9 1 2 3 0 1 0 A2 A1 X 1 0 D7 MSB 6 7 8 9 D6 D5 D4 D3 D2 D1 D0 1 MSB Start by Master 8.3 5 Data Word (n) Device Address Byte 1 4 ACK from Slave NACK from Master Stop by Master Sequential Read Sequential reads are initiated by either a current address read or a random read. After the bus master receives a data word, it responds with an Acknowledge. As long as the EEPROM receives an ACK, it will continue to increment the word address and serially clock out sequential data words. When the maximum memory address is reached, the data word address will roll-over and the sequential read will continue from the beginning of the memory array. All types of read operations will be terminated if the bus master does not respond with an ACK (it NACKs) during the ninth clock cycle. After the NACK response, the master may send a Stop condition to complete the protocol, or it can send a Start condition to begin the next sequence. Figure 8-3. Sequential Read 1 SCL 2 3 4 5 6 7 8 9 1 2 3 Device Address Byte SDA 1 0 1 0 A2 A1 A8 1 6 7 8 9 0 D7 D6 D5 D4 D3 D2 D1 D0 0 MSB Start by Master ACK from Slave 2 3 4 5 6 7 8 9 1 2 Data Word (n+1) D7 5 Data Word (n) MSB 1 4 D6 D5 D4 D3 D2 ACK from Master 3 4 5 6 7 8 1 2 Data Word (n+2) D1 D0 0 MSB D7 D6 D5 D4 D3 D2 3 4 5 6 7 8 9 D1 D0 1 Data Word (n+x) D1 D0 0 MSB D7 D6 D5 D4 D3 D2 MSB ACK from Master © 2019 Microchip Technology Inc. 9 ACK from Master Datasheet NACK from Master Stop by Master DS20006150A-page 23 AT24HC04B Device Default Condition from Microchip 9. Device Default Condition from Microchip The AT24HC04B is delivered with the EEPROM array set to logic ‘1’, resulting in FFh data in all locations. © 2019 Microchip Technology Inc. Datasheet DS20006150A-page 24 AT24HC04B Packaging Information 10. Packaging Information 10.1 Package Marking Information AT24HC04B: Package Marking Information 8-Lead TSSOP 8-Lead SOIC ATHYWW ###%CO YYWWNNN ATMLHYWW ###% CO YYWWNNN Note 1: 8-Lead PDIP ATMLUYWW ###% CO YYWWNNN designates pin 1 Note 2: Package drawings are not to scale Catalog Number Truncation AT24HC04B Truncation Code ###: H4B Date Codes YY = Year 16: 2016 17: 2017 18: 2018 19: 2019 Voltages 20: 2020 21: 2021 22: 2022 23: 2023 Y = Year 6: 2016 7: 2017 8: 2018 9: 2019 0: 2020 1: 2021 2: 2022 3: 2023 WW = Work Week of Assembly 02: Week 2 04: Week 4 ... 52: Week 52 Country of Origin Device Grade CO = Country of Origin H or U: Industrial Grade % = Minimum Voltage L: 1.8V min Atmel Truncation AT: Atmel ATM: Atmel ATML: Atmel Trace Code NNN = Alphanumeric Trace Code (2 Characters for Small Packages) Diagram Order: EIAJ, PDIP, SOIC, TSSOP, UDFN, SOT23,VFBGA,XDFN © 2019 Microchip Technology Inc. Datasheet DS20006150A-page 25 AT24HC04B Packaging Information 8-Lead Plastic Dual In-Line (P) - 300 mil Body [PDIP] Note: For the most current package drawings, please see the Microchip Packaging Specification located at http://www.microchip.com/packaging D A N B E1 NOTE 1 1 2 TOP VIEW E C A2 A PLANE L c A1 e eB 8X b1 8X b .010 C SIDE VIEW END VIEW Microchip Technology Drawing No. C04-018D Sheet 1 of 2 © 2017 Microchip Technology Incorporated © 2019 Microchip Technology Inc. Datasheet DS20006150A-page 26 AT24HC04B Packaging Information 8-Lead Plastic Dual In-Line (P) - 300 mil Body [PDIP] Note: For the most current package drawings, please see the Microchip Packaging Specification located at http://www.microchip.com/packaging ALTERNATE LEAD DESIGN (VENDOR DEPENDENT) DATUM A DATUM A b b e 2 e 2 e e Units Dimension Limits Number of Pins N e Pitch Top to Seating Plane A Molded Package Thickness A2 Base to Seating Plane A1 Shoulder to Shoulder Width E Molded Package Width E1 Overall Length D Tip to Seating Plane L c Lead Thickness Upper Lead Width b1 b Lower Lead Width Overall Row Spacing eB § MIN .115 .015 .290 .240 .348 .115 .008 .040 .014 - INCHES NOM 8 .100 BSC .130 .310 .250 .365 .130 .010 .060 .018 - MAX .210 .195 .325 .280 .400 .150 .015 .070 .022 .430 Notes: 1. Pin 1 visual index feature may vary, but must be located within the hatched area. 2. § Significant Characteristic 3. Dimensions D and E1 do not include mold flash or protrusions. Mold flash or protrusions shall not exceed .010" per side. 4. Dimensioning and tolerancing per ASME Y14.5M BSC: Basic Dimension. Theoretically exact value shown without tolerances. Microchip Technology Drawing No. C04-018D Sheet 2 of 2 © 2017 Microchip Technology Incorporated © 2019 Microchip Technology Inc. Datasheet DS20006150A-page 27 AT24HC04B Packaging Information 8-Lead Plastic Small Outline (SN) - Narrow, 3.90 mm (.150 In.) Body [SOIC] Note: For the most current package drawings, please see the Microchip Packaging Specification located at http://www.microchip.com/packaging 2X 0.10 C A–B D A D NOTE 5 N E 2 E1 2 E1 E NOTE 1 2 1 e B NX b 0.25 C A–B D NOTE 5 TOP VIEW 0.10 C C A A2 SEATING PLANE 8X A1 SIDE VIEW 0.10 C h R0.13 h R0.13 H 0.23 L SEE VIEW C (L1) VIEW A–A VIEW C Microchip Technology Drawing No. C04-057-SN Rev D Sheet 1 of 2 © 2017 Microchip Technology Incorporated © 2019 Microchip Technology Inc. Datasheet DS20006150A-page 28 AT24HC04B Packaging Information 8-Lead Plastic Small Outline (SN) - Narrow, 3.90 mm (.150 In.) Body [SOIC] Note: For the most current package drawings, please see the Microchip Packaging Specification located at http://www.microchip.com/packaging Units Dimension Limits Number of Pins N e Pitch Overall Height A Molded Package Thickness A2 § Standoff A1 Overall Width E Molded Package Width E1 Overall Length D Chamfer (Optional) h Foot Length L L1 Footprint Foot Angle c Lead Thickness b Lead Width Mold Draft Angle Top Mold Draft Angle Bottom MIN 1.25 0.10 0.25 0.40 0° 0.17 0.31 5° 5° MILLIMETERS NOM 8 1.27 BSC 6.00 BSC 3.90 BSC 4.90 BSC 1.04 REF - MAX 1.75 0.25 0.50 1.27 8° 0.25 0.51 15° 15° Notes: 1. Pin 1 visual index feature may vary, but must be located within the hatched area. 2. § Significant Characteristic 3. Dimensions D and E1 do not include mold flash or protrusions. Mold flash or protrusions shall not exceed 0.15mm per side. 4. Dimensioning and tolerancing per ASME Y14.5M BSC: Basic Dimension. Theoretically exact value shown without tolerances. REF: Reference Dimension, usually without tolerance, for information purposes only. 5. Datums A & B to be determined at Datum H. Microchip Technology Drawing No. C04-057-SN Rev D Sheet 2 of 2 © 2017 Microchip Technology Incorporated © 2019 Microchip Technology Inc. Datasheet DS20006150A-page 29 AT24HC04B Packaging Information 8-Lead Plastic Small Outline (SN) - Narrow, 3.90 mm Body [SOIC] Note: For the most current package drawings, please see the Microchip Packaging Specification located at http://www.microchip.com/packaging SILK SCREEN C Y1 X1 E RECOMMENDED LAND PATTERN Units Dimension Limits E Contact Pitch Contact Pad Spacing C Contact Pad Width (X8) X1 Contact Pad Length (X8) Y1 MIN MILLIMETERS NOM 1.27 BSC 5.40 MAX 0.60 1.55 Notes: 1. Dimensioning and tolerancing per ASME Y14.5M BSC: Basic Dimension. Theoretically exact value shown without tolerances. Microchip Technology Drawing C04-2057-SN Rev B © 2017 Microchip Technology Incorporated © 2019 Microchip Technology Inc. Datasheet DS20006150A-page 30 AT24HC04B Packaging Information /HDG3ODVWLF7KLQ6KULQN6PDOO2XWOLQH 67 ±PP%RG\>76623@ 1RWH )RUWKHPRVWFXUUHQWSDFNDJHGUDZLQJVSOHDVHVHHWKH0LFURFKLS3DFNDJLQJ6SHFLILFDWLRQORFDWHGDW KWWSZZZPLFURFKLSFRPSDFNDJLQJ D N E E1 NOTE 1 1 2 b e c A φ A2 A1 L L1 8QLWV 'LPHQVLRQ/LPLWV 1XPEHURI3LQV 0,//,0(7(56 0,1 1 120 0$;  3LWFK H 2YHUDOO+HLJKW $ ± %6& ± 0ROGHG3DFNDJH7KLFNQHVV $    6WDQGRII $  ±   2YHUDOO:LGWK ( 0ROGHG3DFNDJH:LGWK (  %6&  0ROGHG3DFNDJH/HQJWK '    )RRW/HQJWK /    )RRWSULQW /  5() )RRW$QJOH  ƒ ± ƒ /HDG7KLFNQHVV F  ±  /HDG:LGWK E  ±  1RWHV  3LQYLVXDOLQGH[IHDWXUHPD\YDU\EXWPXVWEHORFDWHGZLWKLQWKHKDWFKHGDUHD  'LPHQVLRQV'DQG(GRQRWLQFOXGHPROGIODVKRUSURWUXVLRQV0ROGIODVKRUSURWUXVLRQVVKDOOQRWH[FHHGPPSHUVLGH  'LPHQVLRQLQJDQGWROHUDQFLQJSHU$60(
AT24HC04B-TH-T 价格&库存

很抱歉,暂时无法提供与“AT24HC04B-TH-T”相匹配的价格&库存,您可以联系我们找货

免费人工找货
AT24HC04B-TH-T
  •  国内价格 香港价格
  • 5000+2.531155000+0.30516

库存:9749

AT24HC04B-TH-T
  •  国内价格 香港价格
  • 1+2.775571+0.33463
  • 25+2.6702025+0.32193
  • 100+2.53066100+0.30510

库存:9749

AT24HC04B-TH-T
    •  国内价格
    • 663+2.62900

    库存:663