Hardware requirements
Micro USB cable
FRDM-RW612 board
Personal Computer
Board settings
No special settings are required.
Connect a micro USB cable between the PC host and the MCU-Link USB port (J10) on the 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.
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 8
When user presses the switch again PWM signal on Out 8 will turn off
The PWM signal from Out 0 will remain active all the time
Use Oscilloscope to measure and observe the J5-4(out 0) and J1-6(out 8) output signal. J1-1(SCT In 1) connect to VIO_BRD or GND as fake swtich.