66.6.16.3 Interleaved Channels

When both classic ADC channels (CH4/CH5 up to CH8 are set in ADC_CHSR) and touchscreen conversions are required (TSMODE ≠ 0 in ADC_TSMR), the structure of the buffer differs according to the ADC_TSMR.TSAV and ADC_TSMR.TSFREQ values.

If TSFREQ ≠ 0, not all events generate touchscreen conversions, therefore the buffer structure is based on 2TSFREQ trigger events. Given a TSFREQ value, the location of touchscreen conversion results depends on TSAV value.

When TSFREQ = 0, TSAV must equal 0.

There is no change in buffer structure whatever the value of ADC_TSMR.PENDET, but it is recommended to use the pen detection function for buffer post-processing (see Pen Detection Status).

Figure 66-23. Buffer Structure When Classic ADC and Touchscreen Channels are Interleaved