AT25320B and AT...

  • 2022-09-23 10:07:24

AT25320B and AT25640B offer SPI serial EEPROM 32Kb (4096 x 8) and 64Kb (8192 x 8)

feature

Serial Peripheral Interface (SPI) compatible; supports SPI modes 0 (0,0) and 3 (1,1); datasheet describes mode 0 operation; low and standard voltage operation; 1.8 volts (VCC = 1.8 volts to 5.5 volts) : 20MHz clock frequency (5V); 32-byte page mode; block write protection; protect 1/4, 1/2 or the entire array; for hardware and software data protection; automatic timing write cycle (maximum 5ms); high reliability ; Endurance: 1,000,000 Write Cycles; Data Retention: 100 Years; Green (Pb/Halide/RoHS Compliant) Packaging Options; Die Sales: Wafer Shape, Tape & Reel, Bumped Wafer.

illustrate

The Atmel® AT25320B / 640B offers 32768- / 65536 -bit serial Electrically Erasable Programmable Read-Only Memory (EEPROM), 4096/8192 words per 8-bit. The device is optimized for use in many industrial and commercial applications where low power and low voltage operation is essential. The AT25320B/640B are available in space-saving 8-lead JEDEC SOIC, 8-lead TSSOP, 8-lead UDFN, 8-lead XDFN and 8-ball VFBGA packages.

The AT25320B/640B is enabled through the chip select pin (CS) and accessed through a 3-wire interface consisting of serial data input (SI), serial data output (SO), and serial clock (SCK). All programming cycles are fully automatically timed and no separate erase cycle is required before writing.

Block write protection is enabled by programming the Status Register with one of the four write-protected blocks. Separate program enable and program disable instructions provide additional data protection. Hardware data protection is provided via the WP pin to prevent accidental writes to the status register. The hold pin can be used to suspend any serial communication without resetting the serial sequence.

1. Pin configuration and pins

2. Absolute Maximum Ratings*

CAUTION: Stresses beyond those listed under Absolute Maximum Ratings may cause permanent damage to the device. This is a stress rating only and does not imply that the functional operation of the device under these or any other conditions is beyond that specified in the operating section of this specification. Long-term exposure to absolute maximum rating conditions may affect device reliability.

3. Block diagram

5. Serial interface description

Master: The device that generates the serial clock.

Slave: Since the serial clock pin (SCK) is always an input, the AT25320B/640B always operates as a slave.

Transmitter/Receiver: The AT25320B/640B has separate pins for data transmission (SO) and reception (SI).

Most Significant Bit: The Most Significant Bit (MSB) is the first bit sent and received.

Serial opcodes: After the device is selected, CS will go low and the first byte will be received. This byte contains the opcode that defines the operation to be performed.

Invalid opcode: If an invalid opcode is received, no data will be transferred to the AT25320B/640B and the serial output pin (SO) will remain in a high impedance state until the falling edge of CS is detected again. This will reinitialize serial communication.

Chip Select: When CS pin is low, AT25320B/640B is selected. When the device is not selected, data will not be accepted through the SI pin and the serial output pin (SO) will remain in a high impedance state.

Hold: The HOLD pin is used in conjunction with the CS pin to hold the AT25320B/640B. When a device is selected and a serial sequence is in progress, HOLD can be used to pause and not reset the master device of the serial sequence. To suspend, the hold pin must be pulled low while the SCK pin is low. To resume serial communication, hold the pin high while the SCK pin is low (SCK may still toggle during the hold). When the SO pin is in a high impedance state, the input to the SI pin will be ignored.

Write Protect: When held high, the Write Protect pin (WP) will allow normal read/write operations. When the WP pin goes low, the WPEN bit is set to 1, disabling all writes to the status register. While CS is still low, WP going low will interrupt a write to the status register. If an internal write cycle has been initiated, WP going low has no effect on any writes to the status register. When the WPEN bit in the status register is zero, the WP pin function is blocked. This will allow the user to install the AT25320B/640B in a system where the WP pin is grounded and still be able to write to the status register. When the WPEN bit is set to 1, all WP pin functions are enabled.

Figure 5-1. SPI serial interface

6. Function description

The AT25320B/640B are designed to interface directly with the Synchronous Serial Peripheral Interface (SPI) of the 6805 and 68HC11 series microcontrollers.

AT25320B/640B use 8-bit instruction register. See Table 6-1 for a list of instructions and operation codes. All instructions, addresses, and data are transferred MSB first, starting with a high-to-low CS transition.

Write Enable (WREN): When VCC is applied, the device will power up in a write disabled state. Therefore, all programming instructions must be preceded by a write-enable instruction.

Write Disable (WRDI): To prevent accidental writes to the device, the Write Disable command disables

All programming modes. The WRDI instruction has nothing to do with the state of the WP pin.

Read Status Register (RDSR): The Read Status Register instruction provides access to the Status Register. The ready/busy and write-enabled status of the device can be determined by the RDSR instruction. Similarly, the block write protection bits indicate the extent of the protection employed. These bits are set using the WRSR instruction.

Write Status Register (WRSR): The WRSR instruction allows the user to select one of four protection levels. The AT25320B/640B is divided into four array segments. A quarter, half or all memory segments can be protected. Therefore, any data within any selected segment will be read-only. The block write protection levels and corresponding status register control bits are shown in Table 6-4.

The three bits BP0, BP1 and WPEN are non-volatile cells with the same properties and functions as conventional memory cells (eg WREN, tWC, RDSR).

The WRSR instruction also allows the user to enable or disable the Write Protect (WP) pin by using the Write Protect enable (WPEN) bit. When the WP pin is low and the WPEN bit is one. Hardware write protection is disabled when the WP pin is high or the WPEN bit is zero. When the device is hardware write protected, writes to the status register (including the block protection bit and the WPEN bit) and the block protection portion of the memory array are disabled. Only memory segments that are not block protected are allowed to be written.

Note: When the WPEN bit is hardware write protected, it cannot be changed back to zero as long as the WP pin is held low.

Read Sequence (Read): The following content sequence is required to read the AT25320B/640B via the Serial Out (SO) pin. After the CS line is pulled low to select a device, the read opcode is transmitted over the SI line, followed by the byte address to be read (A15–A0, see Table 6-6). When done, any data on the SI line is ignored. The data at the specified address (D7–D0) is then shifted onto the SO line. If only one byte is to be read, the CS line should be driven high after the data is out. Since the byte address is auto-incremented, data will continue to be shifted out, so the read sequence can continue. When the highest address is reached, the address counter will roll over to the lowest address, allowing the entire memory to be read in one continuous read cycle.

Write Sequence (Write): In order to program the AT25320B/640B, two separate instructions must be executed. First, the device must enable writes via the WREN instruction. The write command can then be executed. Additionally, the address of the memory location to be programmed must be outside the protected address field location selected by the block write protection level. During an internal write cycle, all commands except the RDSR instruction are ignored.

Write commands require the following sequence. After the CS line is pulled low to select the device, the write opcode is transmitted over the SI line, followed by the byte address (A15–A0) and the data to be programmed (D7–D0) (see Table 6-6). The program will start after the CS pin is brought high. The low-to-high transition must appear on the CS pin within the SCK low time immediately after the D0 (LSB) data bit is clocked.

The ready/busy status of the device can be determined by initiating the Read Status Register (RDSR) instruction. If bit 0=1, the write cycle is still in progress. If bit 0=0, the write cycle has ended. During a write programming cycle, only the RDSR instruction is enabled.

The AT25320B/640B is capable of performing 32-byte page write operations. After each byte of data is received, the 5 low-order address bits are internally incremented by 1; the high-order bits of the address remain unchanged. If more than 32 bytes of data are transferred, the address counter will roll over and the previously written data will be overwritten. The AT25320B/640B automatically returns to the write disable state at the end of the write cycle.

NOTE: If the device is not write enabled (WREN), the device will ignore the write command and return to the standby state when CS is raised. A new CS falling edge is required to reinitialize serial communication.

7. Timing diagram

8. Order code details

9. Packaging information

9.1 8S1-8-lead JEDEC SOIC

9.2 8X — 8-lead TSSOP

Note: 1. This picture is for reference only. Refer to JEDEC Drawing MO-153, Change AA, for correct dimensions, tolerances, datums, etc.

2. Dimension D does not include mold flash, protrusions or gate burrs. Mold flash, protrusions and gate burrs must not exceed 0.15mm (0.006in) per side.

3. Dimension E1 does not include flash or protrusion between leads. Flashes and protrusions shall not exceed 0.25 mm (0.010 in) between wires on each side.

4. Dimension b does not include Dambar protrusions. Under the maximum material condition, the allowable protrusion of the dam bar should exceed 0.08mm of the b dimension. Dambar cannot be located in the lower radius of the foot. The minimum spacing between protrusions and adjacent wires is 0.07mm.

5. Dimensions D and E1 are determined at the reference plane H.

9.3 8MA2 — 8-pad UDFN

Note: 1. This picture is for reference only. Refer to drawing MO-229 for correct dimensions, tolerances, datums, etc.

2. Pin 1 ID is a laser marked feature on top view.

3. Dimension b applies to metallized terminals and is measured between 0.15 mm and 0.30 mm from the tip of the terminal. If the other end of the terminal has an optional radius, the dimension should not be measured within that radius.

4. The pin 1 ID on the bottom view is an orientation feature on the thermal pad.

9.4 8ME1 — 8-pad XDFN

9.5 8U2-1 — 8-ball VFBGA

Notes: 1. This picture is a general picture.

2. Dimension "b" is measured at the maximum solder ball diameter.

3. The composition of solder balls should be 95.5Sn-4.0Ag-.5Cu.