Hardware requirements
Micro USB cable
FRDM-RW612 board
Personal Computer
Board settings
No special settings.
Prepare the Demo
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 example.
Running the demo
These instructions are displayed/shown on the terminal window:
ACOMP Basic Example!
Please press any key to get the ACOMP execute result.
The positive input voltage is greater than negative input voltage!
The positive input voltage is less than negative input voltage!
The analog signal input voltage range is 0-3.3v. Connect the analog signal to J4-2(GPIO_42), if input analog signal’s voltage greater than 1.65V then serial print “The positive input voltage is greater than negative input voltage!” otherwise, the serial port print “The positive input voltage is less than negative input voltage!”.