Hardware requirements
Micro USB cable
RD-RW612-BGA board
Personal Computer
Board settings
Ensure R520 is removed, R518 is installed to make SW4 work.
Prepare the Demo
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 the output in the terminal window:
GPIO Driver example
The LED is taking turns to shine.
Standard port read: 2000007
Masked port read: 2000000
Port state: 7
Port state: 3
...
When press sw4 the LED1 will toggle.