This is the documentation for the latest (main) development branch of mcuxpresso sdk. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

capt_acomp

Overview

This example shows how to capture touch data using CAPT poll-now mode. Comparing with the capt_basic example, this example uses ACOMP instead of GPIO in measurement stage. In this mode, application trigger the polling round, after polling round, the CAPT stops and notifies application by interrupt or register status. In this example, application poll the enabled pins one by one, after all pins are sampled, the result are shown in the debug terminal. Then application starts to sample all the enabled pins again.

When the example runs, the sampled data is shown in the terminal. When electrode plate is touched, the sampled data changes too.

Supported Boards