Hardware requirements
Mini/micro USB cable
FRDM-K32L2B board
USB-to-COM external
Personal Computer
Board settings
The flexio_uart_polling example is requires connecting the FLEXIO pins with the USB2COM pins The connection should be set as following:
J2-6, TX of USB2COM connected
J2-12, RX of USB2COM connected
J2-14, Ground of USB2COM connected
Prepare the Demo
Connect a mini USB cable between the PC host and the OpenSDA USB port on the board.
Open a serial terminal on PC for OpenSDA 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.
Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.
Running the demo
When the demo runs successfully, the log would be seen on the UART Terminal port which connected to the USB2COM like:
Flexio uart polling example
Board will send back received characters