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

  1. Connect a micro USB cable between the PC host and the MCU-Link USB port (J7) on the board

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. 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.