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.

cadc_pwm_trigger

Overview

This is an CADC demo application which shows how to use hardware trigger sources to handle the CADC hardware trigger function. The Pulse Width Modulator (PWM) is a period timer source and the CADC hardware trigger event. Because the PWM trigger event can be used to trigger one of the CADC , this demo uses the PWM as a trigger source for a CADCx channel. The PWM triggers the CADC in a fixed frequency and the demo gets the CADC conversion result in the CADC Conversion Complete (COCO) interrupt. This demo uses DAC fifo to generate sinewave on DACx_OUT.