Wiki

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
resources:tools-software:sigmastudio:toolbox:basicdsp:externalspidelay [14 Sep 2016 11:42] Venkatesan Krishnamoorthyresources:tools-software:sigmastudio:toolbox:basicdsp:externalspidelay [01 Jul 2019 13:15] (current) – Added Growth and multiple instance support Sanjeeva Reddy
Line 1: Line 1:
-====== External SPI Delay (ADAU145X) ======+====== External SPI Delay ======
 [[:resources:tools-software:sigmastudio:toolbox:basicdsp|Click here to return to the Basic DSP section.]]\\ [[:resources:tools-software:sigmastudio:toolbox:basicdsp|Click here to return to the Basic DSP section.]]\\
 || ||
Line 5: Line 5:
 \\ \\
 {{ :resources:tools-software:sigmastudio:toolbox:basicdsp:spidelay.jpg?nolink |}} {{ :resources:tools-software:sigmastudio:toolbox:basicdsp:spidelay.jpg?nolink |}}
 +\\
 ===== Input Pins ===== ===== Input Pins =====
 ^Name^Format [int/dec] - [control/audio]^Function Description^ ^Name^Format [int/dec] - [control/audio]^Function Description^
-|Pin 0: Input  Data|decimal - control|Value to be updated in the selected parameter| +|Pin 0: Input  Data|decimal - audio|Input audio signal|
- +
-\\+
 \\ \\
 ===== Output Pins ===== ===== Output Pins =====
-NA+^Name^Format [int/dec] - [control/audio]^Function Description^ 
 +|Pin 0: Output  Data|decimal - audio|Delayed audio signal|
 \\ \\
 +
 +===== GUI Controls =====
 +^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 |
 \\ \\
 ===== Grow Algorithm ===== ===== Grow Algorithm =====
-The module support the algorithm growth up to 16. The input pin will be added for each algorithm instance and user has to select the parameter for all the algorithm instances. If parameter is not selected for any of the instance then the module will not update any parameter.+The module supports grow functionality upto four channels and support multiple instances. 
 \\ \\
 \\ \\
 ===== Configurations ===== ===== Configurations =====
-The selection of the parameter will be enabled only when the schematic compilation is completed successfullyThe user can select the module for which the parameter needs to be updated. After selecting the module, the parameter within the module should be selected for which value should be updated. The value of the selected parameter will be updated with the given input value for each sample once the schematic is downloaded. User can also change the parameter selection when the schematic is downloaded. It will start updating the newly selected parameter once the parameter selection window is closed.+Click on the image {{:resources:tools-software:sigmastudio:toolbox:basicdsp:zn.jpg?nolink|}} to configure the SPI interface for the module.
  
 +{{ :resources:tools-software:sigmastudio:toolbox:basicdsp:spiconfig.jpg?nolink |}}
 \\ \\
-==== Parameter Selection for ADAU145x ====+^GUI Control Name^Default Value^Range^Function Description^ 
 +|Bit Rate|100kHZ| 100 kHZ - 100000 kHZ |SPI Speed| 
 +|Default Chip/ Device Address|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 | 
 +|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.
 \\ \\
-{{:resources:tools-software:sigmastudio:toolbox:basicdsp:selectparam.jpg|}} 
 \\ \\
-The selection window lists the parameters of the modules used in the ADAU145x schematicIt allows user to     select the parameters from DM0 or DM1.+**Note:**If the Slave Select is 0 and MP0 is used as chip select, no configuration is required in the register controlsOtherwise particular multipurpose pin should be configured act as the slave select in the register window. (Hardware Configuration -> ICx - ADAU145x Register Controls -> MULTIPURPOSE/ AUXADC) 
 + 
 +{{ :resources:tools-software:sigmastudio:toolbox:basicdsp:mp5_slaveselect.jpg?nolink |}}
 \\ \\
-==== Parameter Selection for ADAU144x ==== 
-{{:resources:tools-software:sigmastudio:toolbox:basicdsp:selectparamadau144x.jpg|}} 
 \\ \\
-The selection window lists the parameters of the modules used in the ADAU144x schematic. It allows user to select the parameters from Coefficient or Nonmodulo data.  +  - Slave Select Channel -> 'Slave Select Channel x' 
 +  - MPx pin mode -> 'Slave Select for Master SPI port' 
 +  - MPx pin function -> 'Multipurpose function'
 \\ \\
 \\ \\
 +There is some inconsistency between register control and the 'Default chip/Device Address' in the module. The following table shows the mapping between module's parameter and the register control window. 
 +
 +^ ' Default chip/Device Address' ^'Slave Select Channel' in the Register control^
 +|        |    Slave Select Channel 0    | 
 +|        |    Slave Select Channel 1    | 
 +|        |    Slave Select Channel 2    | 
 +|        |    Slave Select Channel 3    | 
 +|        |    Slave Select Channel 4    | 
 +|        |    Slave Select Channel 5    | 
 +\\
 +=====DSP Parameter Information=====
 +^GUI Control Name^Compiler Name^Function Description^
 +|Cur|<fc #008000>ExtSPIRamDelayAlgTrail</fc><fc #ff0000>1</fc><fc #000080>delay</fc><fc #800000>1</fc>|Current Delay value in bytes. (Cur * 4)|
 +===== Supported ICs =====
 +    - ADAU145x
  
resources/tools-software/sigmastudio/toolbox/basicdsp/externalspidelay.txt · Last modified: 01 Jul 2019 13:15 by Sanjeeva Reddy