SWCU185G January 2018 – June 2024 CC1312PSIP , CC1312R , CC1352P , CC1352R , CC2642R , CC2642R-Q1 , CC2652P , CC2652PSIP , CC2652R , CC2652RB , CC2652RSIP , CC2662R-Q1
The AUX COMPA peripheral is a high-performance continuous-time comparator that features:
For capacitive touch sensing, COMPA is used together with the ISRC and TDC peripherals. ISRC will then drive an internal reference voltage for COMPA, nominally 0.8 V, while charging the capacitance that is also connected to the COMPA input. The time from start of charging until the COMPA output goes high is measured using the TDC.
Pulse counting is another application that involves COMPA and the TDC. In this application, the TDC prescaler counts COMPA events.
Figure 20-30 shows how COMPA connects to analog nodes and analog peripherals, as well as the digital interfaces. Proper reference DAC control and connections are described in Section 20.1.