MCUXpresso SDK Documentation

Hardware requirements#

  • Type-C USB cable

  • FRDM-KW43 Board

  • Personal Computer

Board settings#

No special settings are required.

Prepare the Demo#

  1. Connect a USB cable between the host PC and the FRDM board J28.

  2. Open a serial terminal on PC for the serial device with these settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

Running the demo#

The log below shows the output of the demo in the terminal window:

TPM example to output combined complementary PWM signals on two channels

If an LED is connected to the TPM pin, you will see a change in LED brightness if you enter different values
If no LED is connected to the TPM pin, then probe the signal using 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:

Please monitor the PWM waveform on connector J19, pin 3 (PTB0) using an oscilloscope. Additionally, observe the blue LED for visual confirmation of the PWM signal.