I am trying to get the TSC controller running on an RT1052 board.
There is driver for TSC in the SDK. There are functions to initialise the TSC module and to configure it.
Unfortunately there is no working example in the SDK.
From the refference manual, I do not understand how the pins for TSC should be configured. If I use the Pins tool, I choose GPIO_AD_B1_11, GPIO_AD_B1_12, GPIO_AD_B1_13, GPIO_AD_B1_14 and GPIO_AD_B1_15 as both ADC_IN and GPIO, no pull-ups, no keepers and keepers disabled. Is this correct?
Then how to configure the ADC channels? What clock to use?