This is an old revision of the document!
Click here to return to the Master Control Port page
This module provides support to write raw data to the external flash memory using I2C/SPI. The I2C/SPI write is performed during the initialization before the audio processing in the schematic is started.
Name | ADSP-214xx | ADSP-215xx/ADSP-SC5xx | ADAU145x/1456x |
---|---|---|---|
—————————————- | —————————————— | ————————————————-- | ——————————————- |
Flash Programmer | Not Supported | Not Supported | Sample |
None
GUI Control Name | Default Value | Range | Function Description |
---|---|---|---|
Protocol | SPI | SPI/I2C | Master Control Port Protocol |
Bit Rate | 100kHZ | 100 kHZ - 100000 kHZ (for SPI)/ 400 or 800 or 1000 kHz (for I2C) | SPI/I2C Speed |
Slave Select | 0 | 0-6 | Slave Select for the SPI. Register window should be configured to match this selection.Please refer the note below. |
Sub-Address Bytes | 2 | 1-4 | Number of address bytes excluding the read/write command |
PageSize | 128KB | 0-32MB | Page Size of Flash |
SPI Mode | Mode 3 | Mode0/Mode3 | SPI operation mode |
R/W (Chip Address) Bytes | 1 | 0-255 | Command Bytes (Number of bytes required for command) |
Write Instruction (SPI) | 2 | 0-255 | Instruction value for a write operation (0x0 for ADI audio devices, typically 0x2 for eeprom/flash) |
Read Instruction (SPI) | 3 | 0-255 | Instruction value for a read operation (0x1 for ADI audio devices, typically 0x3 for eeprom/flash) |
Write-Enable instruction (SPI) | 6 | 0-255 | Instruction value for device write-enable operation |
Block Protection Unlock (SPI) | 152 | 0-255 | Block Protection Unlock command for SPI falsh devices. This is an optional command. This can be disabled. |
Chip-Erase instruction (SPI) | 96 | 0-255 | Instruction value for device erase operation |
Chip-Erase Time (SPI) | 5 sec | 1-600 sec | Time required for chip erase operation |
Block/Sector Ersae Insutruction (SPI) | 216 | 0-255 | Block/Sector erase command for SPI falsh devices. This is an optional command. This can be disabled. |
Block/Sector Address to Ersae (SPI) | 0 | 0-16777215 | Block/Sector address to erase SPI falsh devices by block/section. This is an optional command. This can be disabled by disabling the Block/Sector Ersae Insutruction |
Data File | NA | NA | Raw data to be written to the flash (Can be ascii text file/ binary files like wav file) |
Data File Mode | ASCII | ASCII/Binary | Mode to write the file. Audio files like .wav should be written in binary mode |
Configurable Address | Disabled | Enable/Disable | Enable/Disable the start address for each files |
Start Address | 0 | 0 - Maximum of FLASH/EEPROM Size in bytes(Increment by page size) | Write the data in the flash/e2prom from the specified address |
Any change in these SPI/I2C configuration parameters requires a recompilation.
Not applicable
Not applicable