Hardware requirements
Type-C USB cable
FRDM-MCXN947 board
Personal Computer
Board settings
Output signal Board location
SCT0_OUT4 J3-3 (P1_22)
SCT0_OUT5 J1-8 (P1_23)
Prepare the Demo
Connect a type-c USB cable between the host PC and the MCU-Link USB port (J17) on the target board.
Open a serial terminal with the following settings:
115200 baud rate
8 data bits
No parity
One stop bit
No flow control
Download the program to the target board.
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 example output of the SCTimer driver simple PWM demo in the terminal window:
SCTimer example to output 2 center-aligned PWM signals
Probe the signal using an oscilloscope
You’ll see center-aligned PWM signals on J3-3 and J1-8 using an oscilloscope.