ZHCSIG4B July 2018 – October 2020 DLPC3434
PRODUCTION DATA
The DLPC34xx controller requires an external SPI serial flash memory device to store the firmware. Follow the below guidelines and requirements in addition to the requirements listed in the Flash Interface Timing Requirements section.
The controller supports a maximum flash size of 128 Mb (16 MB). See the DLPC34xx Validated SPI Flash Device Options table for example compatible flash options. The minimum required flash size depends on the size of the utilized firmware. The firmware size depends upon a variety of factors including the number of sequences, lookup tables, and splash images.
The DLPC34xx controller uses a single SPI interface that complies to industry standard SPI flash protocol. The device will begin accessing the flash at a nominal 1.42-MHz frequency before running at a nominal 30-MHz rate. The flash device must support these rates.
The controller has two independent SPI chip select (CS) control lines. Ensure that the chip select pin of the flash device is connects to SPI0_CSZ0 as the controller boot routine is executes from the device connected to chip select zero. The boot routine uploads program code from flash memory to program memory then transfers control to an auto-initialization routine within program memory.
The DLPC34xx is designed to support any flash device that is compatible with the modes of operation, features, and performance as defined in the Additional DLPC34xx SPI Flash Requirements table below Table 7-2, Table 7-3, and Table 7-4.
FEATURE | DLPC34xx REQUIREMENT |
---|---|
SPI interface width | Single |
SPI polarity and phase settings | SPI mode 0 |
Fast READ addressing | Auto-incrementing |
Programming mode | Page mode |
Page size | 256 B |
Sector size | 4-KB sector |
Block size | Any |
Block protection bits | 0 = Disabled |
Status register bit(0) | Write in progress (WIP), also called flash busy |
Status register bit(1) | Write enable latch (WEN) |
Status register bits(6:2) | A value of 0 disables programming protection |
Status register bit(7) | Status register write protect (SRWP) |
Status register bits(15:8) (that is expansion status byte) | Because the DLPC34xx controller supports only single-byte status register R/W command execution, it may not be compatible with flash devices that contain an expansion status byte. However, as long as the expansion status byte is considered optional in the byte 3 position and any write protection control in this expansion status byte defaults to unprotected, then the flash device is likely compatible with the DLPC34xx. |
The DLPC34xx controller is intended to support flash devices with program protection defaults of either enabled or disabled. The controller assumes the default is enabled and proceeds to disable any program protection as part of the boot process.
The DLPC34xx issues these commands during the boot process:
Prior to each program or erase instruction, the DLPC34xx controller issues similar commands:
Note that the flash device automatically clears the write enable status after each program and erase instruction.
Table 7-3 and Table 7-4 below list the specific instruction OpCode and timing compatibility requirements. The DLPC34xx controller does not adapt protocol or clock rate based on the flash type connected.
SPI FLASH COMMAND | BYTE 1 (OPCODE) | BYTE 2 | BYTE 3 | BYTE 4 | BYTE 5 | BYTE 6 |
---|---|---|---|---|---|---|
Fast READ (1 output) | 0x0B | ADDRS(0) | ADDRS(1) | ADDRS(2) | dummy | DATA(0)(1) |
Read status | 0x05 | N/A | N/A | STATUS(0) | ||
Write status | 0x01 | STATUS(0) | See (2) | |||
Write enable | 0x06 | |||||
Page program | 0x02 | ADDRS(0) | ADDRS(1) | ADDRS(2) | DATA(0)(1) | |
Sector erase (4 KB) | 0x20 | ADDRS(0) | ADDRS(1) | ADDRS(2) | ||
Chip erase | 0xC7 |
Table 7-4 below and the Flash Interface Timing Requirements section list the specific timing compatibility requirements for a DLPC34xx compatible flash device.
SPI FLASH TIMING PARAMETER(1)(2) | SYMBOL | ALTERNATE SYMBOL | MIN | MAX | UNIT |
---|---|---|---|---|---|
Access frequency (all commands) | FR | fC | ≤ 1.4 | ≥ 30.1 | MHz |
Chip select high time (also called chip select deselect time) | tSHSL | tCSH | ≤ 200 | ns | |
Output hold time | tCLQX | tHO | ≥ 0 | ns | |
Clock low to output valid time | tCLQV | tV | ≤ 11 | ns | |
Data in set-up time | tDVCH | tDSU | ≤ 5 | ns | |
Data in hold time | tCHDX | tDH | ≤ 5 | ns |
In order for the DLPC34xx controller to support 1.8-V, 2.5-V, or 3.3-V serial flash devices, the VCC_FLSH pin must be supplied with the corresponding voltage. The DLPC34xx Validated SPI Flash Device Options table contains a list of validated 1.8-V, 2.5-V, or 3.3-V compatible SPI serial flash devices supported by the DLPC34xx controller.
DVT(2) | DENSITY (Mb) | VENDOR | PART NUMBER | PACKAGE SIZE |
---|---|---|---|---|
Yes | 32 Mb | Winbond | W25Q32FVSSIG | 5.2 mm × 7.9 mm, 8-pin SOIC |
Yes | 64 Mb | Winbond | W25Q64FVSSIG | 5.2 mm × 7.9 mm, 8-pin SOIC |