MCUXpresso SDK Documentation

Hardware requirements#

  • Mini/micro USB cable

  • MIMXRT1180-EVK board

  • Personal Computer

  • Oscilloscope

Board settings#

  1. Input PWM signal to J45-15. PWM signal: 0-3.3V, default 1KHz.

  2. Use oscilloscope to monitor the signal at J45-13.

Prepare the Demo#

  1. Connect a USB cable between the host PC and the OpenSDA USB port on the target board.

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. Press the reset button on your board to begin running the demo.

Running the demo#

When the demo runs successfully, the following message is displayed in the terminal:

****Input capture dma example start.****

****Provide a signal input to the QTMR pin****

Captured Period time=1000 us

****Output pwm dma example.****

*********Make sure to connect an oscilloscope.*********

****A 50% duty cycle PWM wave is observed on an oscilloscope.****

Please enter a value to update the Duty cycle:
Note: The range of value is 1 to 9.
For example: If enter '5', the duty cycle will be set to 50 percent.
Value:3
The duty cycle was successfully updated!

Please enter a value to update the Duty cycle:
Note: The range of value is 1 to 9.
For example: If enter '5', the duty cycle will be set to 50 percent.
Value:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~