AT25SF041B
Datasheet
4-Mbit SPI Serial Flash Memory
with Dual-I/O and Quad-I/O Support
Key Features
Serial Peripheral Interface (SPI) Compatible
Supports SPI modes 0 and 3 (1,1,1)
Supports dual input and dual output operation (1,1,2)
Supports quad input and quad output operation (1,1,4)
Supports quad XiP (continuous read mode) operation (1,4,4 and 0,4,4)
108 MHz Maximum Operating Frequency
Single Supply Voltage
2.7 V - 3.6 V
2.5 V - 3.6 V
Serial Flash Discoverable Parameters (SFDP, JESD216B) support
OTP Memory
Three Protected Programmable Security Register Pages (Page size: 256 bytes)
64-bit factory programmable UID register
Hardware Write Protection (WP pin)
Software Write protection (Programmable non-volatile control registers)
Program and Erase Suspend and Resume
Byte programming size: up to 256 bytes
Erase Size and Duration
Uniform 4-kbyte Block Erase (70 ms typical)
Uniform 32-kbyte Block Erase (150 ms typical)
Uniform 64-kbyte Block Erase (250 ms typical)
Full Chip Erase (2 seconds typical)
Low Power Dissipation
Standby Current (25 µA maximum)
Deep Power-Down Current (12 µA maximum)
Endurance: 100,000 Program and Erase Cycles
Data Retention: 20 Years
Industrial Temperature Range (-40 oC to 85 oC)
Datasheet
DS-AT25SF041B-190
Industry Standard Green (Pb/Halide-free/RoHS Compliant) Package Options
8-lead SOIC (0.150” Narrow and 0.208” Wide)
8-pad Ultra-Thin UDFN (5 x 6 x 0.6 mm and 2 x 3 x 0.6 mm)
Die Wafer Form
Other Package Options (contact Adesto)
Revision F
1
3-May-2021
© 2021 Dialog Semiconductor
AT25SF041B
Datasheet
4-Mbit SPI Serial Flash Memory
with Dual-I/O and Quad-I/O Support
Contents
1 Product Overview..................................................................................................................................................................6
2 Pin Descriptions and Package Pinouts ..............................................................................................................................7
3 Block Diagram .......................................................................................................................................................................9
4 Memory Array ......................................................................................................................................................................10
5 Device Operation.................................................................................................................................................................12
5.1 Dual Output Read (1-1-2) ........................................................................................................................................12
5.2 Dual I/O Read (1-2-2) ..............................................................................................................................................12
5.3 Quad Output Read (1-1-4) .......................................................................................................................................12
5.4 Quad I/O Read (1-4-4) .............................................................................................................................................12
6 Commands and Addressing...............................................................................................................................................13
7 Read Commands .................................................................................................................................................................15
7.1 Read Array (0Bh and 03h) .......................................................................................................................................15
7.2 Dual-Output Read Array (3Bh) .................................................................................................................................16
7.3 Dual-I/O Fast Read Array (BBh) ..............................................................................................................................17
7.3.1 Dual-I/O Fast Read Array (BBh) with Continuous Read Mode ....................................................................18
7.4 Quad Output Fast Read Array (6Bh) .......................................................................................................................19
7.5 Quad-I/O Fast Read Array (EBh) .............................................................................................................................20
7.5.1 Quad-I/O Fast Read Array (EBh) with Continuous Read Mode ...................................................................21
7.5.2 Set Burst with Wrap (77h) ............................................................................................................................22
7.6 Quad-I/O Word Fast Read (E7h) .............................................................................................................................23
7.6.1 Quad I/O Word Fast Read with “Continuous Read Mode” ...........................................................................23
7.6.2 Quad I/O Word Fast Read with 8-, 16-, 32-, 64-Byte Wrap Around in Standard SPI Mode .........................24
7.7 Read Serial Flash Discoverable Parameter (5Ah) ...................................................................................................24
8 Program and Erase Commands.........................................................................................................................................25
8.1 Byte/Page Program (02h) ........................................................................................................................................25
8.2 Quad Page Program (32h) .......................................................................................................................................26
8.3 Block Erase (20h, 52h, or D8h) ................................................................................................................................27
8.4 Chip Erase (60h or C7h) ..........................................................................................................................................28
8.5 Program/Erase Suspend (75h) ................................................................................................................................29
8.6 Program/Erase Resume (7Ah) .................................................................................................................................30
9 Protection Commands and Features.................................................................................................................................31
9.1 Write Enable (06h) ...................................................................................................................................................31
9.2 Write Disable (04h) ..................................................................................................................................................31
9.3 Non-Volatile Protection ............................................................................................................................................32
9.4 Protected States and the Write Protect Pin .............................................................................................................33
9.5 Enable Reset (66h) and Reset Device (99h) ...........................................................................................................34
10 Security Register Commands ..........................................................................................................................................35
10.1 Read Unique ID Number (4Bh) ..............................................................................................................................35
10.2 Erase Security Registers (44h) ..............................................................................................................................36
10.3 Program Security Registers (42h) ..........................................................................................................................37
10.4 Read Security Registers (48h) ...............................................................................................................................38
11 Status Register Commands .............................................................................................................................................39
11.1 Read Status Register (05h and 35h) .....................................................................................................................39
11.1.1 SRP1, SRP0 Bits .......................................................................................................................................41
11.1.2 CMP, BP4, BP3, BP2, BP1, BP0 Bits ........................................................................................................41
11.1.3 WEL Bit ......................................................................................................................................................41
11.1.4 RDY/BSY Bit ..............................................................................................................................................42
11.1.5 LB3, LB2, LB1 Bits .....................................................................................................................................42
11.1.6 E_SUS Bit ..................................................................................................................................................42
11.1.7 P_SUS Bit ..................................................................................................................................................42
11.1.8 QE Bit .........................................................................................................................................................42
11.2 Write Status Register (01h and 31h) ......................................................................................................................43
11.3 Write Enable for Volatile Status Register (50h) ......................................................................................................44
Datasheet
DS-AT25SF041B-190
Revision F
2
3-May-2021
© 2021 Dialog Semiconductor
AT25SF041B
Datasheet
4-Mbit SPI Serial Flash Memory
with Dual-I/O and Quad-I/O Support
12 Other Commands and Functions.....................................................................................................................................45
12.1 Read Manufacturer and Device ID (9Fh) ...............................................................................................................45
12.2 Read ID (Legacy Command) (90h) ........................................................................................................................46
12.3 Dual I/O Read Manufacture ID/ Device ID (92h) ....................................................................................................47
12.4 Quad I/O Read Manufacture ID / Device ID (94h) .................................................................................................48
12.5 Deep Power-Down (B9h) .......................................................................................................................................49
12.6 Resume from Deep Power-Down (ABh) ................................................................................................................50
12.6.1 Resume from Deep Power-Down and Read Device ID (ABh) ...................................................................51
12.7 Hold Function .........................................................................................................................................................51
13 Electrical Specifications ..................................................................................................................................................52
13.1 Absolute Maximum Ratings ...................................................................................................................................52
13.2 DC and AC Operating Range ................................................................................................................................52
13.3 DC Characteristics .................................................................................................................................................52
13.4 AC Characteristics - Maximum Clock Frequencies ................................................................................................53
13.5 AC Characteristics - All Other Parameters .............................................................................................................53
13.6 Program and Erase Characteristics .......................................................................................................................54
13.7 Power Up Conditions .............................................................................................................................................54
13.8 Input Test Waveforms and Measurement Levels ...................................................................................................54
13.9 Output Test Load ...................................................................................................................................................54
14 AC Waveforms...................................................................................................................................................................55
15 Ordering Information ........................................................................................................................................................57
15.1 Ordering Codes for 2.7 V to 3.6 V Device ..............................................................................................................57
15.2 Ordering Codes for 2.5 V to 3.6 V Device ..............................................................................................................57
15.3 Package Types ......................................................................................................................................................57
16 Packaging Information......................................................................................................................................................59
16.1 8S1 – 0.150” Narrow JEDEC SOIC .......................................................................................................................59
16.2 8S2 – 8-lead, 0.208” Wide EIAJ SOIC ...................................................................................................................60
16.3 8MA3 – 2 x 3 UDFN ...............................................................................................................................................61
16.4 8MA1 – 5 x 6 UDFN ...............................................................................................................................................62
17 Revision History ................................................................................................................................................................63
Datasheet
DS-AT25SF041B-190
Revision F
3
3-May-2021
© 2021 Dialog Semiconductor
AT25SF041B
Datasheet
4-Mbit SPI Serial Flash Memory
with Dual-I/O and Quad-I/O Support
Figures
Figure 1: 8-SOIC (0.150” and 0.208”) — Top View................................................................................................................... 8
Figure 2: 8-UDFN (5 x 6 mm and 2 x 3 mm) — Top View ........................................................................................................ 8
Figure 3: Block Diagram............................................................................................................................................................ 9
Figure 4: SPI Mode 0 and 3 .................................................................................................................................................... 12
Figure 5: Read Array - 03h Opcode ........................................................................................................................................ 15
Figure 6: Read Array - 0Bh Opcode........................................................................................................................................ 15
Figure 7: Dual-Output Read Array........................................................................................................................................... 16
Figure 8: Dual-I/O Fast Read Array (Initial command or previous M5, M4 ¹ 1,0) .................................................................... 17
Figure 9: Dual-I/O Fast Read Array (Previous command set M5, M4 = 1,0) .......................................................................... 18
Figure 10: Quad-Output Fast Read Array ............................................................................................................................... 19
Figure 11: Quad-I/O Read Array (Initial command or previous M5, M4 ≠ 1,0)........................................................................ 20
Figure 12: Quad I/O Read Array with Continuous Read Mode (Previous Command Set M5, M4 = 1,0)................................ 21
Figure 13: Set Burst with Wrap Timing (SPI Mode) ................................................................................................................ 22
Figure 14: Quad I/O Word Fast Read Timing (Initial Command Set M5, M4 ≠ 1,0) SPI Mode ............................................... 23
Figure 15: Quad I/O Word Fast Read Timing (Previous Command Set M5, M4 = 1,0) SPI Mode ......................................... 23
Figure 16: Read Serial Flash Discoverable Parameter Command Sequence Diagram.......................................................... 24
Figure 17: Byte Program ......................................................................................................................................................... 25
Figure 18: Page Program ........................................................................................................................................................ 26
Figure 19: Quad Page Program (32h) Timing ......................................................................................................................... 26
Figure 20: Block Erase Timing ................................................................................................................................................ 27
Figure 21: Chip Erase Timing.................................................................................................................................................. 28
Figure 22: Erase/Program Suspend Timing ............................................................................................................................ 29
Figure 23: Erase/Program Resume Command Timing ........................................................................................................... 30
Figure 24: Write Enable Timing............................................................................................................................................... 31
Figure 25: Write Disable Timing .............................................................................................................................................. 31
Figure 26: Enable Reset (66h) and Reset Device (99h) Command Timing (SPI Mode)......................................................... 34
Figure 27: Read Unique ID Timing (SPI Mode)....................................................................................................................... 35
Figure 28: Erase Security Register Page ................................................................................................................................ 36
Figure 29: Program Security Registers ................................................................................................................................... 37
Figure 30: Read Security Registers ........................................................................................................................................ 38
Figure 31: Read Status Register 1 .......................................................................................................................................... 39
Figure 32: Read Status Register 2 .......................................................................................................................................... 40
Figure 33: Write Status Register ............................................................................................................................................. 43
Figure 34: Write Enable for Volatile Status Register ............................................................................................................... 44
Figure 35: Read Manufacturer and Device ID......................................................................................................................... 46
Figure 36: Read ID (Legacy Command) ................................................................................................................................. 46
Figure 37: Dual I/O Read Manufacture ID/ Device ID Timing ................................................................................................. 47
Figure 38: Quad I/O Read Manufacture ID / Device ID Sequence Diagram ........................................................................... 48
Figure 39: Deep Power-Down ................................................................................................................................................. 49
Figure 40: Resume from Deep Power-Down .......................................................................................................................... 50
Figure 41: Resume from Deep Power-Down and Read Device ID Timing ............................................................................. 51
Figure 42: Serial Input Timing ................................................................................................................................................. 55
Figure 43: Serial Output Timing .............................................................................................................................................. 55
Figure 44: WP Timing for Write Status Register Command When BPL = 1 ........................................................................... 55
Figure 45: HOLD Timing – Serial Input ................................................................................................................................... 56
Figure 46: HOLD Timing – Serial Output ................................................................................................................................ 56
Datasheet
DS-AT25SF041B-190
Revision F
4
3-May-2021
© 2021 Dialog Semiconductor
AT25SF041B
Datasheet
4-Mbit SPI Serial Flash Memory
with Dual-I/O and Quad-I/O Support
Tables
Table 1: Pin Descriptions ...........................................................................................................................................................7
Table 2: Memory Architecture Diagram: Block Erase Detail ....................................................................................................10
Table 3: AT25SF041B Device Block Memory Map — Page Program .....................................................................................11
Table 4: AT25SF041B Command Table ..................................................................................................................................13
Table 5: Set Burst with Wrap Instruction Functions ................................................................................................................22
Table 6: Memory Array with CMP = 0 ......................................................................................................................................32
Table 7: Memory Array Protection with CMP = 1 .....................................................................................................................33
Table 8: Security Register Addresses for Erase Security Register Page Command ...............................................................36
Table 9: Security Register Addresses for Program Security Registers Command ..................................................................37
Table 10: Security Register Addresses for Read Security Registers Command .....................................................................38
Table 11: Status Register 1 Bit Assignments ...........................................................................................................................39
Table 12: Status Register 2 Bit Assignments ...........................................................................................................................40
Table 13: Status Register Protection Table..............................................................................................................................41
Table 14: Write Status Register 1 ............................................................................................................................................43
Table 15: Write Status Register 2 ............................................................................................................................................43
Table 16: Manufacturer and Device ID Information..................................................................................................................45
Table 17: Manufacturer and Device ID Information..................................................................................................................45
Table 18: Manufacturer and Device ID Details.........................................................................................................................45
Datasheet
DS-AT25SF041B-190
Revision F
5
3-May-2021
© 2021 Dialog Semiconductor
AT25SF041B
Datasheet
4-Mbit SPI Serial Flash Memory
with Dual-I/O and Quad-I/O Support
1
Product Overview
The Adesto® AT25SF041B is a serial interface Flash memory device designed for a wide variety of high-volume consumer based
applications in which program code is shadowed from Flash memory into embedded or external RAM for execution. The flexible
erase architecture of the AT25SF041B also is ideal for data storage, eliminating the need for additional data storage devices.
The AT25SF041B erase block sizes are optimized to meet the needs of today's code and data storage applications. This means
memory space can be used much more efficiently. Because certain code modules and data storage segments must reside in their
own erase regions, the wasted and unused memory space that occurs with large-block-erase Flash memory devices can be
reduced greatly. This increased memory space allows additional code routines and data storage segments to be added, while
maintaining the same overall device density.
This device also contains three Security Register pages for unique device serialization, system-level Electronic Serial Number
(ESN) storage, locked key storage, etc. These pages can be locked individually.
Datasheet
DS-AT25SF041B-190
Revision F
6
3-May-2021
© 2021 Dialog Semiconductor
AT25SF041B
Datasheet
4-Mbit SPI Serial Flash Memory
with Dual-I/O and Quad-I/O Support
2
Pin Descriptions and Package Pinouts
Table 1: Pin Descriptions
Asserted
State
Type
CS
CHIP SELECT: Asserting the CS pin selects the device. When the CS pin is deasserted, the device is deselected and normally be placed in standby mode.
A high-to-low transition on the CS pin is required to start an operation; a low-to-high
transition is required to end an operation. When ending an internally self-timed operation, such as a program or erase cycle, the device does not enter the standby mode
until the operation is complete.
Low
Input
SCK
SERIAL CLOCK: This pin provides a clock to the device. Command, address, and
input data present on the SI pin is latched in on the rising edge of SCK, while output
data on the SO pin is clocked out on the falling edge of SCK.
-
Input
SI (I/O0)
SERIAL INPUT: The SI pin is used for all data input, including command and address
sequences. Data on the SI pin is always latched in on the rising edge of SCK.
With the Dual-Output and Quad-Output Read commands, the SI pin becomes an
output pin (I/O0) in conjunction with other pins to allow two or four bits of data (on I/
O3-0) to be clocked in on every falling edge of SCK.
Data present on the SI pin is ignored whenever the device is deselected (CS is deasserted).
-
Input/Output
SO (I/O1)
SERIAL OUTPUT: Data on the SO pin is clocked out on the falling edge of SCK.
With the Dual-Output Read commands, the SO pin remains an output pin (I/O0) in
conjunction with other pins to allow two bits of data (on I/O1-0) to be clocked in on every
falling edge of SCK.
The SO pin is in a high-impedance state whenever the device is deselected (CS is
deasserted).
-
Input/Output
WP (I/O2)
WRITE PROTECT: The WP pin controls the hardware locking feature of the device.
With the Quad-Input Byte/Page Program command, the WP pin becomes an input pin
(I/O2) and, along with other pins, allows four bits (on I/O3-0) of data to be clocked in
on every rising edge of SCK. With the Quad-Output Read commands, the WP Pin
becomes an output pin (I/O2) in conjunction with other pins to allow four bits of data
(on I/O33-0) to be clocked in on every falling edge of SCK.
The WP pin is internally pulled-high and can be left floating if hardware-controlled
protection is not used; however, it is recommended that the WP pin also be externally
connected to VCC whenever possible.
-
Input/Output
HOLD: The HOLD pin temporarily pauses serial communication without deselecting
or resetting the device. While the HOLD pin is asserted, transitions on the SCK pin
and data on the SI pin are ignored, and the SO pin is in a high-impedance state.
The CS pin must be asserted, and the SCK pin must be in the low state, for a Hold
condition to start. A Hold condition pauses serial communication only and does not
have an affect on internally self-timed operations, such as a program or erase cycle.
See “Hold Function” on page 51, for additional details on this operation.
HOLD (I/O3)
With the Quad-Input Byte/Page Program command, the HOLD pin becomes an input
pin (I/O3) and, along with other pins, allows four bits (on I/O3-0) of data to be clocked
in on every rising edge of SCK. With the Quad-Output Read commands, the HOLD
pin becomes an output pin (I/O3) in conjunction with other pins to allow four bits of data
(on I/O33-0) to be clocked in on every falling edge of SCK.
The HOLD pin is internally pulled-high and can be left floating if the Hold function is
not used. It is recommended, however, that the HOLD pin is externally connected to
VCC whenever possible.
-
Input/Output
VCC
DEVICE POWER SUPPLY: The VCC pin supplies the source voltage to the device.
-
Power
GND
GROUND: The ground reference for the power supply. Connect GND to the system
ground.
-
Power
Symbol
Name and Function
Datasheet
DS-AT25SF041B-190
Revision F
7
3-May-2021
© 2021 Dialog Semiconductor
AT25SF041B
Datasheet
4-Mbit SPI Serial Flash Memory
with Dual-I/O and Quad-I/O Support
CS
SO (IO1)
WP (IO2)
GND
1
2
3
4
8
7
6
5
VCC
HOLD (IO3
SCK
SI (IO0)
CS
SO (IO1)
WP (IO2)
GND
Figure 1: 8-SOIC (0.150” and 0.208”) — Top View
Datasheet
DS-AT25SF041B-190
1
2
3
4
8
7
6
5
VCC
HOLD (IO3)
SCK
SI (IO0)
Figure 2: 8-UDFN (5 x 6 mm and 2 x 3 mm) — Top View
Revision F
8
3-May-2021
© 2021 Dialog Semiconductor
AT25SF041B
Datasheet
4-Mbit SPI Serial Flash Memory
with Dual-I/O and Quad-I/O Support
3
Block Diagram
Control and
Protection Logic
CS
I/O Buffers
and Latches
SRAM
Data Buffer
SI (I/O0)
SO (I/O1)
WP (I/O2)
Interface
Control
And
Logic
Address Latch
SCK
Y-Decoder
Y-Gating
X-Decoder
Flash
Memory
Array
HOLD (I/O3)
Note: I/O3-0 pin naming convention is used for Dual-I/O and Quad-I/O commands.
Figure 3: Block Diagram
Datasheet
DS-AT25SF041B-190
Revision F
9
3-May-2021
© 2021 Dialog Semiconductor
AT25SF041B
Datasheet
4-Mbit SPI Serial Flash Memory
with Dual-I/O and Quad-I/O Support
4
Memory Array
To provide the greatest flexibility, the memory array of the AT25SF041B can be erased in four levels of granularity, including a
full-chip erase. The size of the erase blocks is optimized for both code and data storage applications, allowing both code and data
segments to reside in their own erase regions. The Memory Architecture Diagram illustrates each erase level.
Table 2: Memory Architecture Diagram: Block Erase Detail
64-kbyte Block Erase (D8h) 32-kbyte Block Erase (52h)
4-kbyte Block Erase (20h)
Block Address Range
4 kbytes (Block 127)
07F000h - 07FFFFh
4 kbytes (B126)
07E000h - 07EFFFh
4 kbytes (B125)
07D000h - 07DFFFh
32 kbytes
4 kbytes (B124)
07C000h - 07CFFFh
(block 15)
4 kbytes (B123)
07B000h - 07BFFFh
4 kbytes (B122)
07A000h - 07AFFFh
4 kbytes (B1210)
079000h - 079FFFh
64 kbytes
4 kbytes (B120)
078000h - 078FFFh
(block 7)
4 kbytes (B119)
077000h - 077FFFh
4 kbytes (B118)
076000h - 076FFFh
4 kbytes (B117)
075000h - 075FFFh
32 kbytes
4 kbytes (B116)
074000h - 074FFFh
(block 14)
4 kbytes (B115)
073000h - 073FFFh
4 kbytes (B114)
072000h - 072FFFh
4 kbytes (B113)
071000h - 071FFFh
4 kbytes (B112)
070000h - 070FFFh
4 kbytes (B111)
to
4 kbytes (B16)
06F000h - 06FFFFh
to
010000h - 010FFFh
4 kbytes (B15)
00F000h - 00FFFFh
4 kbytes (B14)
00E000h - 00EFFFh
4 kbytes (B13)
00D000h - 00DFFFh
32 kbytes
4 kbytes (B12)
00C000h - 00CFFFh
(block 1)
4 kbytes (B11)
00B000h - 00BFFFh
4 kbytes (B10)
00A000h - 00AFFFh
4 kbytes (B9)
009000h - 009FFFh
64 kbytes
4 kbytes (B8)
008000h - 008FFFh
(block 0)
4 kbytes (B7)
007000h - 007FFFh
4 kbytes (B6)
006000h - 006FFFh
4 kbytes (B5)
005000h - 005FFFh
32 kbytes
4 kbytes (B4)
004000h - 004FFFh
(block 0)
4 kbytes (B3)
003000h - 003FFFh
4 kbytes (B2)
002000h - 002FFFh
4 kbytes (B1)
001000h - 001FFFh
4 kbytes (B0)
000000h - 000FFFh
64 kbytes (block 6)
to
64 kbytes (block 1)
Datasheet
DS-AT25SF041B-190
32 kbytes (block 13)
to
32 kbytes (block 2)
Revision F
10
3-May-2021
© 2021 Dialog Semiconductor
AT25SF041B
Datasheet
4-Mbit SPI Serial Flash Memory
with Dual-I/O and Quad-I/O Support
Table 3: AT25SF041B Device Block Memory Map — Page Program
4-kbyte Blocks
256 Byte Page
1 - 256 Byte Page Program
4 kbytes (Block 127)
256 Bytes
07FF00h - 07FFFFh
4 kbytes (B126)
256 Bytes
07FE00h - 07FEFFh
4 kbytes (B125)
256 Bytes
07FD00h - 07FDFFh
4 kbytes (B124)
256 Bytes
07FC00h - 07FCFFh
4 kbytes (B123)
256 Bytes
07FB00h - 07FBFFh
4 kbytes (B122)
256 Bytes
07FA00h - 07FAFFh
4 kbytes (B121)
256 Bytes
07F900h - 07F9FFh
4 kbytes (B120)
256 Bytes
07F800h - 07F8FFh
4 kbytes (B119)
256 Bytes
07F700h - 07F7FFh
4 kbytes (B118)
256 Bytes
07F600h - 07F6FFh
4 kbytes (B117)
256 Bytes
07F500h - 07F5FFh
4 kbytes (B116)
256 Bytes
07F400h - 07F4FFh
4 kbytes (B115)
256 Bytes
07F300h - 07F3FFh
4 kbytes (B114)
256 Bytes
07F200h - 07F2FFh
4 kbytes (B113)
256 Bytes
07F100h - 07F1FFh
4 kbytes (B112)
256 Bytes
07F000h - 07F0FFh
...
...
4 kbytes (B111)
to
4 kbytes (B16)
...
4 kbytes (B15)
256 Bytes
000F00h - 000FFFh
4 kbytes (B14)
256 Bytes
000E00h - 000EFFh
4 kbytes (B13)
256 Bytes
000D00h - 000DFFh
4 kbytes (B12)
256 Bytes
000C00h - 000CFFh
4 kbytes (B11)
256 Bytes
000B00h - 000BFFh
4 kbytes (B10)
256 Bytes
000A00h - 000AFFh
4 kbytes (B9)
256 Bytes
000900h - 0009FFh
4 kbytes (B8)
256 Bytes
000800h - 0008FFh
4 kbytes (B7)
256 Bytes
000700h - 0007FFh
4 kbytes (B6)
256 Bytes
000600h - 0006FFh
4 kbytes (B5)
256 Bytes
000500h - 0005FFh
4 kbytes (B4)
256 Bytes
000400h - 0004FFh
4 kbytes (B3)
256 Bytes
000300h - 0003FFh
4 kbytes (B2)
256 Bytes
000200h - 0002FFh
4 kbytes (B1)
256 Bytes
000100h - 0001FFh
4 kbytes (B0)
256 Bytes
000000h - 0000FFh
Datasheet
DS-AT25SF041B-190
Revision F
11
3-May-2021
© 2021 Dialog Semiconductor
AT25SF041B
Datasheet
4-Mbit SPI Serial Flash Memory
with Dual-I/O and Quad-I/O Support
5
Device Operation
The AT25SF041B is controlled by a set of instructions sent from a host controller, SPI Master. The SPI Master communicates
with the AT25SF041B through the SPI bus, which consists of four pins: Chip Select (CS), Serial Clock (SCK), Serial Input (SI),
and Serial Output (SO).
The SPI protocol defines a total of four modes of operation (mode 0, 1, 2, or 3). The AT25SF041B supports the two most common
modes, SPI modes 0 and 3. For these modes, data is latched in on the rising edge of SCK and output on the falling edge of SCK.
CS
SCK
SI
MSB
LSB
SO
MSB
LSB
Figure 4: SPI Mode 0 and 3
5.1 DUAL OUTPUT READ (1-1-2)
The AT25SF041B features a Dual-Output Read mode that allows two bits of data to be clocked out of the device every clock cycle
to improve throughput. To do this, both the SI and SO pins are used as outputs for the transfer of data bytes. With the Dual-Output
Read Array command, the SI pin becomes an output along with the SO pin.
5.2 DUAL I/O READ (1-2-2)
The AT25QF128A supports Dual I/O (1-2-2) transfers, which enhance throughput over the standard SPI mode. This mode
transfers the command on the SI pin, but the address and data are transferred on the SI and SO pins. This means that only half
the number of clocks are required to transfer the address and data.
5.3 QUAD OUTPUT READ (1-1-4)
The AT25SF041B features a Quad-Output Read mode that allows four bits of data to be clocked out of the device every clock
cycle to improve throughput. To do this, the SI, SO, WP, and HOLD pins are used as outputs for the transfer of data bytes. With
the Quad-Output Read Array command, the SI, WP, and HOLD pins become outputs along with the SO pin.
5.4 QUAD I/O READ (1-4-4)
The AT25QF128A supports Quad I/O (1-4-4) transfers, which enhance throughput over the standard SPI mode. This mode
transfers the command on the SI pin, but the address and data are transferred on the SI, SO, WP, and HOLD pins. This means
that only a quarter of the number of clocks are required to transfer the address and data. With the Quad I/O Read Array command,
the SI, WP, and HOLD and SO pins become inputs during the address transfer, and switch to outputs during the data transfer.
Datasheet
DS-AT25SF041B-190
Revision F
12
3-May-2021
© 2021 Dialog Semiconductor
AT25SF041B
Datasheet
4-Mbit SPI Serial Flash Memory
with Dual-I/O and Quad-I/O Support
6
Commands and Addressing
A valid instruction or operation must be started by asserting the CS pin. After that, the host controller must clock out a valid 8-bit
opcode on the SPI bus. Following the opcode, instruction-dependent information, such as address and data bytes, can be clocked
out by the host controller. All opcode, address, and data bytes are transferred with the most-significant bit (MSB) first. An operation
is ended by deasserting the CS pin.
Opcodes not supported by the AT25SF041B are ignored, and no operation is started. The device continues to ignore any data
presented on the SI pin until the start of the next operation (CS pin deasserted, then reasserted). If the CS pin is deasserted
before complete opcode and address information is sent to the device, the device simply returns to the idle state and waits for
the next operation.
Device addressing requires three bytes, representing address bits A23-A0, to be sent. Since the upper address limit of the
AT25SF041B memory array is 07FFFFh, address bits A23-A19 are always ignored by the device.
Table 4: AT25SF041B Command Table
Command Name
Command Bus Transfer Type Mode Bit Mode Bit Wait Cycle Dum- # of Data
Opcode
(OP-AD-DA)(1)
Present
Clocks
my Clocks
Bytes
System Commands
Enable Reset
66h
1-0-0
N
0
0
0
Reset Device
99h
1-0-0
N
0
0
0
Deep Power-down
B9h
1-0-0
N
0
0
0
Release Power-down
ABh
1-0-0
N
0
0
0
Normal Read Data
03h
1-1-1
N
0
0
1+
Fast Read
0Bh
1-1-1
N
0
8
1+
Dual Output Fast read
3Bh
1-1-2
N
0
8
1+
Dual I/O Fast read
BBh
1-2-2
Y
4
0
1+
Dual I/O Fast read (Continuous Mode)
BBh
0-2-2
Y
4
0
1+
Quad Output Fast read
6Bh
1-1-4
N
0
8
1+
Quad I/O Fast read
EBh
1-4-4
Y
2
4
1+
Quad I/O Fast read (Continuous
Mode)
EBh
0-4-4
Y
2
4
1+
Word Read Quad I/O
E7h
1-4-4
Y
2
2
1+
Word Read Quad I/O (Continuous
E7h
0-4-4
Y
2
2
1+
Set Burst With Wrap
77h
1-0-4
N
0
6
1, D[6:4]
Write Enable
06h
1-0-0
N
0
0
0
Volatile SR Write Enable
50h
1-0-0
N
0
0
0
Write Disable
04h
1-0-0
N
0
0
0
Page Program
02h
1-1-1
N
0
0
1+
Quad Page Program
32h
1-1-4
N
0
0
1+
Read Commands
Write Commands
Program Commands
Datasheet
DS-AT25SF041B-190
Revision F
13
3-May-2021
© 2021 Dialog Semiconductor
AT25SF041B
Datasheet
4-Mbit SPI Serial Flash Memory
with Dual-I/O and Quad-I/O Support
Table 4: AT25SF041B Command Table (continued)
Command Name
Command Bus Transfer Type Mode Bit Mode Bit Wait Cycle Dum- # of Data
Opcode
(OP-AD-DA)(1)
Present
Clocks
my Clocks
Bytes
Erase Commands
Block Erase (4 kbytes)
20h
1-1-0
N
0
0
0
Block Erase (32 kbytes)
52h
1-1-0
N
0
0
0
Block Erase (64 kbytes)
D8h
1-1-0
N
0
0
0
C7h/60h
1-0-0
N
0
0
0
Program/Erase Suspend
75h
1-0-0
N
0
0
0
Program/Erase Resume
7Ah
1-0-0
N
0
0
0
Read Status Register 1
05h
1-0-1
N
0
0
1
Read Status Register 2
35h
1-0-1
N
0
0
1
Write Status Register 1
01h
1-0-1
N
0
0
1
Write Status Register 2
31h
1-0-1
N
0
0
1
Manufacturer/Device ID
90h
1-1-1
N
0
0
2
Mfgr./Device ID Dual I/O
92h
1-2-2
N
0
4
2
Mfgr./Device ID Quad I/O
94h
1-4-4
N
0
4
2
Read JEDEC ID
9Fh
1-0-1
N
0
0
3
Read Serial Flash Discoverable Parameter
5Ah
1-1-1
N
0
8
1+
Erase Security Registers
44h
1-1-0
N
0
0
0
Program Security Registers
42h
1-1-1
N
0
0
1+
Read Security Registers
48h
1-1-1
N
0
8
1+
Read Unique ID Number
4Bh
1-0-1
N
0
32
1+
Chip Erase
Suspend/Resume Commands
Status Register Commands
Device Information Commands
OTP Commands
1.
OP = Opcode (command number), AD = Address. DA = Data. 0 indicates the corresponding transfer does not occur in that command. 1 indicates the
transfer does occur. For example, 1-0-0 indicates a command transfer occurs, but no address or data transfers occur.
Op: Opcode or Commands (8-bits): 0 => No Opcode [continuous Read], 1 => 8 clocks for Opcode, 2 => 4 clocks for Opcode, 4 => 2 clocks for opcode.
AD: Address (24-bits) Only: 0 => No address, Opcode only operation, 1 => 24 clocks for Address, 2 => 12 clocks for address, 4 => 6 clocks for address.
AD: Address (24-bits) + Mode (8-bits): 2 => 12 clocks for address, 4 clocks for mode [BBh only], 4 => 6 clocks for address, 2 clocks for mode [EBh and E7h].
DA: Data(8-bits): 1 => 8 clocks for byte, 2 => 4 clocks for byte, 4 => 2 clocks for byte.
Datasheet
DS-AT25SF041B-190
Revision F
14
3-May-2021
© 2021 Dialog Semiconductor
AT25SF041B
Datasheet
4-Mbit SPI Serial Flash Memory
with Dual-I/O and Quad-I/O Support
7
Read Commands
7.1 READ ARRAY (0BH AND 03H)
The Read Array command can be used to sequentially read a continuous stream of data from the device by providing the clock
pin once the initial starting address is specified. The device incorporates an internal address counter that automatically increments
every clock cycle.
To perform the Read Array operation, the CS pin first must be asserted, and the appropriate opcode (0Bh or 03h) must be clocked
into the device. After the opcode has been clocked in, the three address bytes must be clocked in to specify the starting address
location of the first byte to read within the memory array. If the 0Bh opcode is used for the Read Array operation, an additional
dummy byte must be clocked into the device after the three address bytes.
After the three address bytes (and the dummy byte, if using opcode 0Bh) have been clocked in, additional clock cycles result in
data being output on the SO pin. The data is always output with the MSB of a byte first. When the last byte (07FFFFh) of the
memory array has been read, the device continues reading back at the beginning of the array (000000h). No delays are incurred
when wrapping around from the end of the array to the beginning of the array.
Deasserting the CS pin terminates the read operation and puts the SO pin into high-impedance state. The CS pin can be
deasserted at any time and does not require a full byte of data be read.
&6
6&.
23&2'(
6,
$''5(66%,76$$
$
06%
$
$
$
$
$
$
$
$
06%
DATA BYTE 1
+,*+,03('$1&(
62
'
'
'
'
'
'
'
'
06%
'
'
06%
Figure 5: Read Array - 03h Opcode
CS
0
1
2
3
4
5
6
7
8
9
10 11 12
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
SCK
OPCODE
SI
0
0
0
0
1
ADDRESS BITS A23-A0
0
MSB
1
1
A
A
A
A
A
A
A
DON'T CARE
A
MSB
A
X
X
X
X
X
X
X
X
MSB
DATA BYTE 1
SO
HIGH-IMPEDANCE
D
MSB
D
D
D
D
D
D
D
D
D
MSB
Figure 6: Read Array - 0Bh Opcode
Datasheet
DS-AT25SF041B-190
Revision F
15
3-May-2021
© 2021 Dialog Semiconductor
AT25SF041B
Datasheet
4-Mbit SPI Serial Flash Memory
with Dual-I/O and Quad-I/O Support
7.2 DUAL-OUTPUT READ ARRAY (3BH)
The Dual-Output Read Array command is similar to the standard Read Array command and can be used to sequentially read a
continuous stream of data from the device by providing the clock pin once the initial starting address has been specified. Unlike
the standard Read Array command, the Dual-Output Read Array command allows two bits of data to be clocked out of the device
on every clock cycle, rather than just one.
To perform the Dual-Output Read Array operation, the CS pin must first be asserted; then, the opcode 3Bh must be clocked into
the device. After the opcode has been clocked in, the three address bytes must be clocked in to specify the location of the first
byte to read within the memory array. Following the three address bytes, a single dummy byte also must be clocked into the device.
After the three address bytes and the dummy byte have been clocked in, additional clock cycles output data on both the SO and
SI pins. The data is output with the MSB of a byte first, and the MSB is output on the SO pin. During the first clock cycle, bit seven
of the first data byte is output on the SO pin, while bit six of the same data byte is output on the SI pin. During the next clock cycle,
bits five and four of the first data byte are output on the SO and SI pins, respectively. The sequence continues with each byte of
data being output after every four clock cycles. When the last byte (07FFFFh) of the memory array has been read, the device
continues reading from the beginning of the array (000000h). There are no delays when wrapping around from the end of the
array to the beginning of the array. Deasserting the CS pin terminates the read operation and puts the SO and SI pins into a highimpedance state. The CS pin can be deasserted at any time and does not require that a full byte of data be read.
CS
0
1
2
3
4
5
6
7
8
9
10 11 12
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
SCK
23&2'(
SI (SIO)
0
0
1
1
1
0
06%
SO
$''5(66%,76$$
1
1
A
A
A
A
A
A
A
287387
'$7$%