Wiki

This version is outdated by a newer approved version.DiffThis version (08 May 2017 08:45) is a draft.
Approvals: 0/1
The Previously approved version (13 Sep 2016 21:41) is available.Diff

This is an old revision of the document!


Interface Write(ADAU145x)

Click here to return to the Inputs and Outputs Toolbox page.

The Interface Write module writes the value of the parameter setting to the EEPROM when required, so that the parameter setting can be used after the power down(via selfboot).The module can write the value to EEPROM when the parameter value is changed or periodically or an external trigger(rising edge). The module supports writes through SPI or I2C protocols.

The Interface Write module has the following properties which can be set by the user in the form to configure the I2C or SPI modes.

NOTE:

  1. Make sure that the interface read and interface write modules that are with each interacting have the same Interface number paramter.


Input Pins

NameFormat [int/dec/float] - [control/audio]Function Description
Pin 0: Inputdecimal(ADAU145x)- audio
float(214xx) - audio
Input signal to be filtered


Grow Algorithm

The module doesn't supports growth functionality. Add is not supported.

GUI Controls


GUI Control NameDefault ValueRangeFunction Description
Protocol10-1The Protocol selected - I2C(0) or SPI(1)
Bitrate100kHz400/800/1000 kHz(I2C), 100-100000KHz (SPI) I2C/ SPI Speed
Sub Address Bytes3 1-3Length of the address for SPI/I2C
Device Address0 I2C: Slave address 0-127
SPI: Slave select 0-6
Slave Adddress
SPI Mode10-1SPI Modes 0 or 3
Command Length10-255This is the SPI R/W instruction bytes
Write Instruction (SPI)20-255SPI write command bytes
Read Instruction(SPI)30-255SPI read command bytes
Write-Enable instruction (SPI) 60-255Write enable for SPI
Write mode 00-2The triggering modes for Interface write module, 0- write on Value change, 1-write Periodically with set write interval, 2- write on GPIO trigger


DSP Parameter Information

GUI Control NameCompiler NameFunction Description
ProtocolInterfaceWrite300Protocol The Number of filter coefficient sets
BitrateFirFiltPoolS300Alg1TapSize
The Number of filter taps in each coefficient set
Sub-Address BytesFirFiltPoolS300Alg1InIndx
The selected input index
FiltIndxFirFiltPoolS300Alg1FIltIndx
The Selected filter coefficient set index
Device AddressFirFiltPoolS300Alg1RevIndx
The Selected Reverse Index, if set(value=1), the coefficient access order for filtering is reversed
SPI ModeFirFiltPoolS300Alg1InvIndx
The Selected Invert Index, if set(value=1), the output value is negated

Use Case 1

The interface write module can be used an outpur moudule to the UPDown LUT. The Interface write module writes the output of the UPDown LUT parameter setting to the EEPROM if the conditions to write are satisfied.

Use Case 2

The Interface write module can be used to store any the parameter setting to the EEPROM and read it back during the selfboot using the corresponding Interface read module. When the GPIO trigger is a rising edge signal, the Interface write module will write to the EEPROM. During the powerdown, a rising edge signal can be provided in the GPIO to store the interface value to EEPROM.

Use Case 3

The Interface write module can be used to write any value to the EEPROM and read it back during the selfboot using the corresponding Interface read module.

resources/tools-software/sigmastudio/toolbox/io/inferfacewrite.1494225949.txt.gz · Last modified: 08 May 2017 08:45 by Prasad Kamath