Hardware requirements
Micro USB cable
RD-RW61X-BGA board
Personal Computer
Board settings
Remove R242, R243, populate R159 to use ADC CH4 input signal J9-1(GPIO_46).
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 example.
Running the demo
These instructions are displayed/shown on the terminal window:
ADC Software Trigger Example!
Resolution: 16 bit.
Input Mode: Single Ended.
Input Range: 0V to 1.2V.
Calibration Success!
Please press any key to trigger conversion.
Note: Analog input voltage minimum needs to be higher than 0.2v.