Hardware requirements

  • Micro USB cable

  • EVK-MIMXRT595 board

  • Personal Computer

Board settings

No special settings are required.

  1. Connect a micro USB cable between the PC host and the CMSIS DAP USB port (J40) on the 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. Launch the debugger in your IDE to begin running the demo.

Running the demo

The log below shows example output of the SCTimer driver simple PWM demo in the terminal window:

SCTimer example to output edge-aligned PWM signal

When user presses a switch the PWM signal will be seen from Out 3
When user presses the switch again PWM signal on Out 3 will turn off
The PWM signal from Out 0 will remain active all the time

Use Oscilloscope to measure and observe the J30-1(out 0) and J30-2(out 1) output signal, use SW2 as switch.