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:sigmastudiov2:modules:mastercontrolport:spiread [12 May 2021 11:50] – [DSP Parameters] Prasad Kamathresources:tools-software:sigmastudiov2:modules:mastercontrolport:spiread [12 May 2021 12:15] (current) – [DSP Parameter Computation] Prasad Kamath
Line 73: Line 73:
 ===== DSP Parameters=====  ===== DSP Parameters===== 
 \\ \\
-Not applicable+^ Parameter Name       ^ Description^ ADAU145x/146x ^ 
 +| ---------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------|---------------------------- | 
 +|spiSpeed|SPI Speed|Integer32| 
 +|spiMode|SPI Protocol Mode|Integer32| 
 +|slaveSelect|SPI Slave Select Channel|Integer32| 
 +|readAddress|Address to be read from|Integer32| 
 +|addressLength|Length of the sub address|Integer32| 
 +|dataLength|Length of the data to be read|Integer32|| 
 +|commandLength|Length of the command sent in bytes|Integer32| 
 +|readInstruction|Instruction value for a read operation (0x1 for ADI audio devices, typically 0x3 for eeprom/flash)|Integer32|
 \\ \\
 ===== DSP Parameter Computation ===== ===== DSP Parameter Computation =====
 \\ \\
-Not applicable+readAddress = AddressToRead < <(8* (4 - (AddressLength + SPICommandLength)) 
 +\\ 
 +readInstruction = SPIReadInstruction < < (8* AddressLength)+  ((8* (4 - (AddressLength + SPICommandLength))
 \\ \\
  
Line 149: Line 160:
 ===== DSP Parameters=====  ===== DSP Parameters===== 
 \\ \\
-^ Parameter Name       ^ Description ^ ADSP-214xx/SC5xx/215xx ^ ADAU145x/146x ^ +===== DSP Parameters=====  
-| ---------------------------------------- | -------------------------------------------------------------------------------- ---------------------------------------- | ---------------------------- |+\\ 
 +^ Parameter Name       ^ Description^ ADAU145x/146x ^ 
 +| ---------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------|---------------------------- |
 |spiSpeed|SPI Speed|Integer32| |spiSpeed|SPI Speed|Integer32|
 |spiMode|SPI Protocol Mode|Integer32| |spiMode|SPI Protocol Mode|Integer32|
Line 162: Line 175:
 ===== DSP Parameter Computation ===== ===== DSP Parameter Computation =====
 \\ \\
-Not applicable+readAddress = AddressToRead < <(8* (4 - (AddressLength + SPICommandLength)) 
 +\\ 
 +readInstruction = SPIReadInstruction < < (8* AddressLength)+  ((8* (4 - (AddressLength + SPICommandLength))
 \\ \\
  
  
resources/tools-software/sigmastudiov2/modules/mastercontrolport/spiread.1620813007.txt.gz · Last modified: 12 May 2021 11:50 by Prasad Kamath