Hardware requirements
Type-C USB cable
FRDM-MCXA156 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:
J8-13(P0_16), RX of USB2COM connected
J8-14(P0_17), TX of USB2COM connected
J8-2, Ground of USB2COM connected
Prepare the Demo
Connect a Type-C USB cable between the host PC and the FRDM board J21.
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 edma example
Board receives 8 characters then sends them out
Now please input: