Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

Knowledge Base Articles

How to select the SPI flash for Infineon USB controllers - KBA221833

Community-Team
Employee
100 likes received 50 likes received 25 likes received
Employee

How to select the SPI flash for Infineon USB controllers - KBA221833

Version: *A

Translation - Japanese: FX3/CX3/FX3S/FX2G2/SD3/SD2に互換性のあるSPI Flashの選択および推奨されているSPI Flash - KBA221833 - Community Translated ...

This article applies to the following products:

These Infineon USB peripheral controller devices are compatible with SPI flash devices that meet the following criteria:

  • Flash size: 1 Kbit to 128 Mbit in size
  • Supply Voltage: 1.7 V to 3.6 V
  • Command set: SPI flash should support the following commands to support EZ-USB™ FX3 boot:
    • Read data: 03h with 3 bytes addressing
    • Read Status register: 05h
    • Write Enable: 06h
    • Write data (Page Program): 02h
    • Sector Erase: D8h

SPI flash can be used for EZ-USB™ FX3 boot if the read commands match. If there are any differences in the write commands, programming of that SPI flash will fail with the default programmer utility (USB Control Center Utility) provided by Infineon.

For successful programming of SPI flash, the firmware binary file used by the utility must be rebuilt with the modified write commands. Therefore, Infineon recommends using a SPI flash compatible with the above read/write command set.

The following Infineon SPI flash devices are compatible with the products listed in this article:

No.

Part number

Voltage (V)

Density (Mbit)

Datasheet

1

S25FS064S

1.8

64

S25FS064S 64 Mb (8 MB) 1.8-V FS-S Flash

2

S25FS128S

1.8

128

S25FS128S, S25FS256S 1.8 V, Serial Peripheral Interface with Multi-I/O, MIRRORBIT™ Non-Volatile Flas...

3

S25LFL064L

3.0

64

S25FL064L, 64-Mbit (8-Mbyte) 3.0 V FL-L SPI Flash Memory


Using SPI flash with hybrid sectors:

Certain SPI flash devices may support hybrid sectors. For example, in S25FS128S, the first sector of 64 KB may be divided into 9 sectors (8 sectors of 4-KB and one 32-KB sector). All remaining sectors are uniform (64 KB each). When USB Control Center application from EZ-USB™ FX3 SDK is used for programming the SPI flash, the internal programming utility (CyBootProgrammer.img) assumes uniform sector size for the flash device; this leads to corrupted data in the first sector, which is a hybrid sector. To prevent this, configure the flash device to use uniform sectors of 64 KB each by modifying the appropriate configuration register.

See KBA231163 to learn more about using hybrid SPI flash devices with EZ-USB™ FX3 family of devices.

Version history
Revision #:
2 of 2
Last update:
‎Nov 28, 2021 08:37 PM
Updated by: