MK715
Using the General Purpose Inputs to the A to D Converter
The GP pin is a general purpose input to the 10 bit ADC. An on-chip 1.297 V reference is used, where 1.297 V is full
scale. In addition, when using a 4-wire touch screen, the PL pin is available as a general purpose input, or it can be
used as a power control for an external resistor divider:
Voltage to be
measured
Optional
Capacitor
MK715
SELGP
GP
SELPL
ADC
SELGP, SELPL, and
PLZERO are all register
bits.
PL
PLZERO
For two voltages, the connection is as follows:
Voltage 1
MK715
Voltage 2
Optional
Capacitor
SELGP
GP
SELPL
PL
ADC
PLZERO=0
(transistor
off)
If PL or GP are unused, they should be connected to ground.
The capacitors connected to GP and PL are optional and will reduce noise on the ADC input.
10