QMatrix method pin selection for UC3L

Refer AT32UC3L datasheet Table 28-2 Pin Selection Guide and Table 3-1 GPIO Controller Function multiplexing, for mapping between the QMatrix method pin name and the GPIO pin.  It is possible to configure a maximum of 17 X Lines and 8 Y-Yk pairs.  The X Line X8 (PA16) cannot be used for the QMatrix method as it is required to use this pin for the ACREFN function.

The CAT module provides an option to enable a nominal output resistance of 1 kΩ on specific CAT module pins during the burst phase.  The Table below captures the different QMatrix method pin wherein a Resistive Drive can be optionally enabled.  The rows marked with 'N' in the last column indicate that Resistive Drive option is not available on that pin.  By carefully choosing the QMatrix method X and Yk pins wherein Resistive Drive can be enabled, saving on external components is possible.

QMatrix method sensor provides detail on the number of Pin and Touch channels required for different QMatrix method sensor.  The hardware arrangement for Wheel or Slider must be such that all Touch channels corresponding to the Wheel or Slider belong to the same Yk Line.

Also, Library Configuration parameters for UC3L indicates the various Pin Configuration options for the QTouch Library that can be used to specify a user defined configuration.

Table 1. QMatrix Resistive drive pin option

CAT Module Pin Name

QMatrix method Pin Name

Resistive Drive option Availability(Y-Yes, N-No)

CSA0

X0

N

CSB0

X1

N

CSA1

Y0

Y

CSB1

YK0

N

CSA2

X2

Y

CSB2

X3

Y

CSA3

Y1

Y

CSB3

YK1

Y

CSA4

X4

N

CSB4

X5

N

CSA5

Y2

Y

CSB5

YK2

Y

CSA6

X6

Y

CSB6

X7

Y

CSA7

Y3

Y

CSB7

YK3

Y

CSA8

X8

N

CSB8

X9

N

CSA9

Y4

Y

CSB9

YK4

Y

CSA10

X10

Y

CSB10

X11

Y

CSA11

Y5

Y

CSB11

YK5

Y

CSA12

X12

N

CSB12

X13

Y

CSA13

Y6

Y

CSB13

YK6

Y

CSA14

X14

N

CSB14

X15

N

CSA15

Y7

Y

CSB15

YK7

Y

CSA16

X16

Y

CSB16

X17

N

The rows marked with 'N' in the last column indicate that Resistive Drive option is not available on that pin