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:basic:counter [18 Jan 2021 06:39] – [Counter] Krithika Manchaleresources:tools-software:sigmastudiov2:modules:basic:counter [10 May 2021 08:49] (current) – [Input] Nikhin Shetty
Line 2: Line 2:
 ====== Counter ====== ====== Counter ======
 \\ \\
-{{:resources:tools-software:sigmastudiov2:modules:basic:counter.jpg?200|}}+{{:resources:tools-software:sigmastudiov2:modules:basic:counter.jpg?nolink&150|}} 
 +\\ 
 +{{:resources:tools-software:sigmastudiov2:modules:basic:counterwint.png?nolink&150|}}
 ===== Description ===== ===== Description =====
 The Counter block can be used with a State Machine to process your input at a particular time interval, in ms. The counter starts from 0 by default or any other user-defined value if specified. The Counter block can be used with a State Machine to process your input at a particular time interval, in ms. The counter starts from 0 by default or any other user-defined value if specified.
 \\ \\
 +The Counter with Interval module has 2 input pins. First input is for Start/Hold the Counter and second input is used to Reset the counter value. 
 +===== Varaints =====
 +  -Counter
 +  -Counter with Interval
 ===== Targets Supported ===== ===== Targets Supported =====
-^Name^ADSP-214xx(Sample)^ADSP-214xx(Block)^ADSP-215xx/ADSP-SC5xx(Sample)^ADSP-215xx/ADSP-SC5xx(Block)+^ Name            ^ ADSP-214xx ^ ADSP-215xx/SC5xx ^ ADAU145x/146x ^ 
-|Counter| Yes Yes|YesYes|+| ------------------------------------------------------------ | -------------------- | -------------------------------- | ---------------------------- | 
 +|Counter| B/S | B/S | S | 
 +|Counter with IntervalNA NA |
 \\ \\
 ===== Pins ===== ===== Pins =====
 +==== Input ====
 +^Name^Type^Description^
 +|----------------------------------------------------------|------------------------------------------------------------|------------------------------|
 +|Start / Hold (only for Counter with Interval) | Control |Counter start or hold input|
 +|Reset (only for Counter with Interval)| Control |Counter Reset input|
 ==== Output ==== ==== Output ====
 ^Name^Type^Description^ ^Name^Type^Description^
-|Output|Control|Output channel|+|------------------------------|------------------------------------------------------------------------------|------------------------------| 
 +|Output |Control (Only for Counter with Interval) / Audio |Output channel|
  
 ===== Configurable Parameters ===== ===== Configurable Parameters =====
 ^GUI Parameter Name^Default Value^Range^Function Description^ ^GUI Parameter Name^Default Value^Range^Function Description^
 +|------------------------------|---------------------------|----------------------------|----------------------------------------------------------|
 |Max|134217727|0 to 134217727|This is the maximum value for the counter. If the counter reaches the maximum value, its output will stay at that value until it is reset. The value can be changed by clicking in the text field and typing a new value, or by clicking the adjacent up/down arrows.| |Max|134217727|0 to 134217727|This is the maximum value for the counter. If the counter reaches the maximum value, its output will stay at that value until it is reset. The value can be changed by clicking in the text field and typing a new value, or by clicking the adjacent up/down arrows.|
 |step|1|1 to 10000| This controls the rate at which the counter increments. The counter value will increase by the value in this field at the end of every audio sample. The value can be changed by entering the desired value in the text field or using the adjacent up/down arrows.| |step|1|1 to 10000| This controls the rate at which the counter increments. The counter value will increase by the value in this field at the end of every audio sample. The value can be changed by entering the desired value in the text field or using the adjacent up/down arrows.|
 |Init|0| 0 to 268435456|This is the initial value of the counter, which is the starting value for the counter when it is reset. Enter the start count value in the Init field, or use the adjacent up/down arrows.| |Init|0| 0 to 268435456|This is the initial value of the counter, which is the starting value for the counter when it is reset. Enter the start count value in the Init field, or use the adjacent up/down arrows.|
-|Reset|False|True/False|Resets the counter value to init value| +|Reset | False | True / False | Resets the counter value to initial value| 
-|Pause|False|True/False|Starts or stops the counter increment.If the counter is stopped in mid-operation, its output value will freeze at its most recent value.|+|Pause | False | True / False | Starts or stops the counter increment. If the counter is stopped in mid-operation, its output value will freeze at its most recent value.|
 ===== DSP Parameters ===== ===== DSP Parameters =====
-^Parameter Name^Description^ADSP-214xx/SC5xx/215xx^ +^ Parameter Name       ^ Description ^ ADSP-214xx/SC5xx/215xx ^ ADAU145x/146x ^ 
-|Max|This is the maximum value for the counter.|Float| +| ---------------------------------------- | -------------------------------------------------------------------------------- | ---------------------------------------- | ---------------------------- | 
-|step|The counter value will increase by the value at the end of every audio sample.|Float| +|Max | This is the maximum value for the counter | Float|FixPoint8d24 
-|Init|This is the starting value for the counter when it is reset.|Float| +|step | The counter value will increase by the value at the end of every audio sample | Float| FixPoint8d24 
-|Pause|Starts or stops the counter increment.|Float| +|Init | This is the starting value for the counter when it is reset | Float | FixPoint8d24 
-|Reset|Resets the counter value to init value|Float|+|Pause | Starts or stops the counter increment |Float|FixPoint8d24 
 +|Reset | Resets the counter value to initial value |Float|FixPoint8d24 |
  
  
resources/tools-software/sigmastudiov2/modules/basic/counter.txt · Last modified: 10 May 2021 08:49 by Nikhin Shetty