This version (10 May 2021 15:37) was approved by Krithika Manchale.

Click here to return to the Arithmetic and Logic page

Value Cross Detection


The Value Cross Detection outputs a pulse every time the input signal has crossed the value specified in the cell. As a default this cell acts as a zero-cross detector, but it can compare the signal to any threshold value.

Targets Supported

Name ADSP-214xx ADSP-215xx/SC5xx ADAU145x/146x
————————————— ——————-- ——————————-- —————————-
Value Cross Detection NA B S



————————————— —————————- —————————————
InputAudioInput Signal to Monitor


————————————— —————————- —————————————
FlagOutputControlPulse output in 5.23 format

Configurable parameters

GUI Control NameDefault ValueRangeFunction Description
—————————— ——————————- ——————————— ——————————————————-
ThresholdValue0-15, 15This is the threshold value that the input signal is compared to.
IsDBflasetrue/falseThis is the boolean value that indicates how the input signal is displayed in.

DSP parameter Information

GUI Control NameCompiler NameFunction Description
—————————— ——————————- ———————————————————
ThresholdValueCrossValueCrossAlg1When the value threshold is changed, it is written directly to the DSP

Algorithm Description

The Input signal is compared to the Value Threshold. Each time the input signal crosses this value (whether rising or falling) the output of the cell goes high. Otherwise the output of the cell is low.

resources/tools-software/sigmastudiov2/modules/arithmeticandlogic/valuecrossdetection.txt · Last modified: 06 May 2021 11:49 by Krithika Manchale