Wiki

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
resources:tools-software:sigmastudio:toolbox:basicdsp:oneshotfall [21 Jun 2012 22:57]
resources:tools-software:sigmastudio:toolbox:basicdsp:oneshotfall [21 Jun 2012 23:07]
William Jahn Approved
Line 1: Line 1:
 +======OneShot Fall======
 +
 +[[resources:​tools-software:​sigmastudio:​toolbox:​basicdsp|Click here to return to the Basic DSP page]]\\
 +\\
 +
 +|The One Shot Fall block outputs a trigger signal based upon the falling edge of the input signal. At the first falling edge of the input signal, the output signal will go high and remain high. The falling edge of the input signal is defined as any input signal level value changing to a lower signal level value.|{{oneshotfallpic1.png}}|
 +
 +===Input Pins===
 +^Name^Format [int/dec] - [control/​audio]^Function Description^
 +|Pin 0: Input|any - any|Input signal that is monitored for the first falling edge|
 +
 +===Output Pins===
 +^Name^Format [int/dec] - [control/​audio]^Function Description^
 +|Pin 0: Trigger|any - control|Output flag signal set to "​1"​ in the selected bit position|
 +
 +===GUI Controls===
 +^GUI Control Name^Default Value^Range^Function Description^
 +|Output Bit Designation|28|[28.0 Bit26]|Sets bit position of the output "​1"​ flag. 28.0 is the default values which represents 1LSB.|
 +
 +===DSP Parameter Information===
 +^GUI Control Name^Compiler Name^Function Description^
 +|Output Bit Designation|OneShotFallAlg1output1|Actual value written to DSP from the representation of the drop-down menu to select the bit position of the output "​1"​ flag.  |
 +
 +===Algorithm Description===
 +The following graph shows the output response of the OneShot Fall algorithm, based on a given toggling input signal. There are two different case scenarios:​\\
 +Case1: The input signal starts high\\
 +Case2: The input signal starts low
 +
 +In the graphs the input signal is only toggling between "​1"​ and "​0"​ however this algorithm will respond to any changes in level of the input signal, thus the first falling edge of a lower input signal will trigger the output to go high.\\
 +\\
 +{{oneshotfallpic2.png}}\\
 +\\
 +
 +The format of the "​1"​ output value of the is designated by the drop-down menu. The following table shows the "​1"​ Output that corresponds to the drop-down menu selection.\\
 +\\
 +{{oneshotfallpic3.png}}\\
 +\\
 +
 +===Example===
 +The following image shows the OneShot Fall block being used. A [[resources/​tools-software/​sigmastudio/​toolbox/​sources/​onoffswitch|switch]] source is connected to the input and then the output of the block is driving a [[resources/​tools-software/​sigmastudio/​toolbox/​io/​generalpurposeoutput|GPIO output]]. When the switch is clicked "​low"​ the signal sent to the GPIO output will be "​high."​\\
 +\\
 +{{oneshotfallpic4.png}}\\
 +\\
 +
 +===Algorithm Details===
 +|Toolbox Path|Basic DSP - Logic - Toggle - OneShot Fall|
 +|Cores Supported|AD1940 \\ ADAU170x \\ ADAU144x \\ ADAU176x \\ ADAU178x|
 +|"Grow Algorithm"​ Supported|no|
 +|"Add Algorithm"​ Supported|no|
 +|Subroutine/​Loop Based|no|
 +|Program RAM|5|
 +|Data RAM|4|
 +|Parameter RAM|1|
 + 
 +
 +
 +
  
resources/tools-software/sigmastudio/toolbox/basicdsp/oneshotfall.txt · Last modified: 21 Jun 2012 23:07 by William Jahn