Hardware requirements
Type-C USB cable
FRDM-MCXW71 Board
USB to Serial Converter
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:
J1-2(PTA17), RX of USB2COM connected
J1-1(PTA16), TX of USB2COM connected
J2-4, Ground of USB2COM connected
Prepare the Demo
Connect a USB cable between the host PC and the FRDM board J10.
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.
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 interrupt example
Board receives 8 characters then sends them out
Now please input: