Hardware requirements
Micro USB cable
RD-RW612-BGA 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 (J7) 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 HD2-4(out 0) and HD11-13(out 8) output signal. HD2-5(SCT In 1) connect to VIO_BRD_1V8 or GND as fake swtich.