Wiki

no way to compare when less than two revisions

Differences

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


Previous revision
Next revision
resources:tools-software:sigmastudiov2:modules:gpioconditioning:updowncontrollut [10 May 2021 16:31] Prasad Kamath
Line 1: Line 1:
 +[[resources/tools-software/sigmastudiov2/modules/gpioconditioning|Click here to return to the GPIO Conditioning page]]
 +====== Up Down Control LUT ======
 +{{:resources:tools-software:sigmastudiov2:modules:gpioconditioning:up_down_lut_ssp.jpg?nolink&150|}}
 +\\
 +===== Description =====
 +\\
 +This block takes in two inputs, one up and one down, and uses them to generate an index for a lookup table. The starting index is pre-loaded into an interface register and the up/down inputs increment or decrement the value.
 +\\
 +===== Usage =====
 +\\
 +  - Drag the block into your schematic.
 +  - Connect the red control inputs to GPIOs that have been conditioned by Push and Hold, or to the outputs of the Rotary Encoder.
 +  - Connect the yellow input pin to an Interface Read block.
 +  - Connect the yellow output to an Interface Write block, with the same register selected for both the interface read and write blocks.
 +  - The output will be the value in the table corresponding to the index.
 +\\
 +===== Targets Supported =====
 +^Name^ADSP-214xx^ADSP-215xx/ADSP-SC5xx^ADAU145x/1456x^
 +|----------------------------------------|------------------------------------------|--------------------------------------------------|-------------------------------------------|
 +|Up Down Control LUT| Not supported | Not supported | Sample|
 +\\
 +===== Pins =====
 +==== Input====
 +^Name^Type^Description^
 +|----------------------------------|-------------------|------------------------------------------------------------|
 +|Input0|Control|increment input (up)|
 +|Input1|Control|decrement input (down)|
 +|Input2|Logic|Connected to a software interface register - reads the last stored value at startup|
 +
 +==== Output====
 +^Name^Type^Description^
 +|-----------------------------------|-------------------|----------------------------------------------------------------------------------------|
 +|Output0|Control| Output signal|
 +|Output1|Logic|Connected to a software interface register - writes the last output value|
 +
 +\\
 +===== Configurable Parameters =====
 +^GUI Parameter Name^Default Value^Range^Function Description^
 +| ---------------------------------------- | ---------------------- | ---------------------- | --------------------------------------------------------------------------------------------------------- |
 +|ByPassEnable| disable | enable/disable| bypasses the LUT value looked up|
 +|NoOfTableValues|33 pts|[2, 800]|Sets the table size: the  number of points used in the volume table curve.|
 +|TableValues|1|[-16, 15.99]|The table points are the actual gain values for the volume curve in linear representation. Although the range supports the full values of [-16, 15.99] the table values should generally be between [0, 1] for proper gain adjustments. The user has full control in this table to add a linear, logarithmic of custom gain volume curve|
 +
 +\\
 +===== DSP Parameters =====
 +^Parameter Name^Description^ADAU145x/ADAU146x^
 +|--------------------------|---------------------------------------------------------------------------------------------------------------------------------- |---------------------------------|
 +|maxindex|maxnumber of table points|Fixed Point 32.0|
 +|table_p0|All the points in the table are written to the DSP in their linear gain format|Fixed Point 8.24|
 +
 +\\
 +===== DSP Parameter Computation =====
 +\\
 +Not applicable
 +\\
  
resources/tools-software/sigmastudiov2/modules/gpioconditioning/updowncontrollut.txt · Last modified: 12 May 2021 14:28 by Prasad Kamath