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.

qtmr_inputcapture_outputpwm_dma

Overview

The QTMR project is a demonstration program of the SDK QTMR driver’s input capture and output pwm feature by DMA. The example sets up a QTMR channel for input capture. Once the input signal is received, this example will print the capture value. The example also sets up one QTMR channel to output pwm. The example enables DMA and input edge flag setting will trigger DMA read request for CAPT register. The user should probe a 50Khz PWM signal output with 50% dutycycle with a oscilloscope. The user can enter a value to update the Duty cycle, when 5 is entered, the duty cycle will be set to 50%.

Supported Boards