User Manual

PoKeys user manual
28
www.poscope.com
There are 55 pins represented as colored squares in the dialog, organized in the rows of 8 pins. Each
square contains a pin index number in the lower left corner, while the lower right corner is used to
indicate a digital output (small black triangle is displayed on pins, configured as digital outputs). The
color of the square resembles the current state of the pin green for the activated (HIGH state) and
white for the unactivated (LOW state).
To change the digital output state, first enable ‘Enable output control’ option, then either left or right
click with mouse on the square representing the digital output to activate or deactivate this output.
7.2. Digital counters
Selected pins of the PoKeys device can be setup to count the number of signal transitions on those
pins. Pin digital counter can be setup to be incremented/decremented on rising, falling or rising and
falling edges of the input signal. If needed, additional pin can be selected to toggle between
incrementing and decrementing mode.
Digital counters are implemented using interrupts and can therefore detect short signal pulses (even
shorter than 1 microsecond). If switches are used in the combination with digital counters, external
debouncing circuit must be installed to keep the digital counters from counting additional pulses due
to switch contact bouncing on making or braking the contact.
Check PoKeys device pinout section to discover which pins are compatible with digital counter
option.
PoKeys configuration software usage
To setup digital counter inputs, first set the selected pin as ‘Digital input’ and if digital counter is
available on the selected pin, the ‘Enable counter’ option will be enabled. Check this option and
check ‘rising’ and/or ‘falling’ edge counting option.
To enable selection between incrementing or decrementing counter modes, a direction pin can be
selected in the ‘Direction pin’ drop-down menu. If no pin is selected, the counter mode defaults to
incrementing mode.
Digital counters values status page (menu ‘Peripherals > Digital counters values…’) can be used to
check the proper working of the configured digital counters