Wiki

This version (14 Sep 2022 13:54) was approved by Angu Sewa.The Previously approved version (10 May 2021 11:30) is available.Diff

Click here to return to the Basic page

Pulse Counter

Description

The Pulse Counter block, counts the number of inputs received. There is a start/stop pin to initiate and pause the count, and also a reset pin to set the count back to zero. Any non-zero input on the pulse input pin, is considered a pulse and will be counted when the count is enabled.
The pulse counter is to count the number of pulses in specified amount of time. The time is dictated by the signal on StartStop input pin. When the StartStop pin is high, counter starts counting pulses, otherwise the last count value is output. The Reset pin clears the count value and start from zero when StartStop pin is high.

Targets Supported

Name ADSP-214xx ADSP-215xx/SC5xx ADAU145x/146x
———————————————————— ——————-- ——————————-- —————————-
Pulse Counter B/S B/S S

Pins

Input

NameTypeDescription
————————————————————————————————————————
StartStop Control Starts/Pause the counter
Reset Control Resets the counter value
PulseIn Control Input to the counter

Output

NameTypeDescription
————————————————————————————————————————
CountResult Control Outputs the count of non zero inputs to the counter


resources/tools-software/sigmastudiov2/modules/basic/pulsecounter.txt · Last modified: 14 Sep 2022 13:54 by Angu Sewa