Wiki

This version is outdated by a newer approved version.DiffThis version (10 May 2021 11:30) is a draft.
Approvals: 0/1
The Previously approved version (04 Feb 2020 10:32) is available.Diff

This is an old revision of the document!


Click here to return to the Basic page

Pulse Counter

Description

The Pulse Counter block, counts the number of non 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.1620639001.txt.gz · Last modified: 10 May 2021 11:30 by Nikhin Shetty