User's Guide

- 38 of 42 –
neo.
cortec
.
In the GPIO section of the window, the user can select what data gets transmitted in the
payload package.
The following parameters can be set:
Pin assignment: For each pin, it can be configured to be either; Digital Input (default),
Digital Output or Analog Input.
Input Mask: If enabled for a particular pin, the digital state of the pin will be transmitted
in the payload package.
Pull / Tri-State: Each pin can be either Tri-Stated, or pulled up or down. If Pull is
selected, the parameter Pull Up / Pull Down will decide how the pin is pulled.
Pull Up / Pull Down: A setting common for all pins (which are configured to be Digital
Input), where it is decided if the Pull is up or down when Pull is selected as described in
the previous item.
Counter: One pin can be configured as a Digital counter. It will trigger on a falling
edge, and the returned value will be number of falling edge transitions since the
previous payload package. Only one pin can be configured as a Counter.
The remaining parameters control the Analog to Digital Converters. Overall there are 4
ADCs (ADC1 through ADC4) that can be configured individually. Here are the settings
that can be set for each ADC:
Input: Select the input to the ADC. It can be any of the pins, which are configured as an
Analog Input either single ended, or differential. The input can also be the Internal
Temperature Sensor, or the supply voltage (VDD/3 – meaning the supply voltage
divided by 3).
Reference Voltage: The reference voltage used for the ADC. Options are: Internal
1.25V reference, external voltage from pin7, Vdd and external differential from Pin6-
Pin7.
Resolution: The ADC resolution can be selected to be 7,9, 10 or 12 bits.