This is an old revision of the document!
Click here to return to the Basic DSP section.
This module can be used to implement off-chip delay using the SPI interface.
Name | Format [int/dec] - [control/audio] | Function Description |
---|---|---|
Pin 0: Input Data | decimal - audio | Input audio signal |
Name | Format [int/dec] - [control/audio] | Function Description |
---|---|---|
Pin 0: Output Data | decimal - audio | Delayed audio signal |
GUI Control Name | Default Value | Range | Function Description |
---|---|---|---|
Max | 1 | 1 - (Depends on Size of the SPI RAM) | This control specifies the maximum delay supported for the current instance in samples (32-bit word). Maximum value of this is calculated depends on the SPI RAM's configuration. Change in this value requires a re-compilation |
Cur | 1 | 1 - Max | Current delay value |
The module currently does not support grow functionality and only one instance is supported.
Click on the image to configure the SPI interface for the module.
GUI Control Name | Default Value | Range | Function Description |
---|---|---|---|
Bit Rate | 100kHZ | 100 kHZ - 100000 kHZ | SPI Speed |
**Default Chip/ Device Address | 1 | 1-7 | 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 |
Ram Size | 128KB | 0-32MB | Total Size of RAM used for delay buffer |
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 |
Any change in these SPI configuration parameters requires a recompilation.
GUI Control Name | Compiler Name | Function Description |
---|---|---|
Cur | ADAU145XConfigurableExtRamDelayAlg1delay | Current Delay value in bytes. (Cur * 4) |