Hardware requirements
Mini/Micro USB cable
FRDM-K22F board
Personal Computer
USB to Com Converter
Board settings
Connect pin:
RX of USB2COM to J1-4
TX of USB2COM to J1-2
GND of USB2COM to J2-14
Prepare the Demo
Connect USB to Com Converter between the PC host and the port on the board.
Open a serial terminal on PC for serial device with these settings:
115200 baud rate
8 data bits
No parity
One stop bit
No flow control
Download the program to the target board.
Reset the SoC and run the project.
Running the demo
When the demo runs successfully, the log would be seen on the LPUART Terminal port which connected to the USB2COM like:
Lpuart polling example
Board will send back received characters