flexio3_uart_polling_transfer#
Overview#
The flexio_uart_polling example shows how to use flexio uart driver in polling way:
In this example, a flexio simulated uart connect to PC through USB-Serial, the board will send back all characters that PC send to the board.
Supported Boards#
MIMXRT1060-EVKB
Hardware requirements
Mini/micro USB cable
MIMXRT1060-EVKB board
Personal Computer
USB to Com Converter
Board settings
Connect pin:
RX of USB2COM to J16-2
TX of USB2COM to J16-1
GND of USB2COM to J16-7
Prepare the Demo
Connect the USB2COM Converter to the host PC
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 polling example
Board will send back received characters
MIMXRT1060-EVKC
Hardware requirements
Mini/micro USB cable
MIMXRT1060-EVKC board
Personal Computer
USB to Com Converter
Board settings
Connect pin:
RX of USB2COM to J16-2
TX of USB2COM to J16-1
GND of USB2COM to J16-7
Prepare the Demo
Connect the USB2COM Converter to the host PC
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 polling example
Board will send back received characters
MIMXRT1040-EVK
Hardware requirements
Mini/micro USB cable
MIMXRT1040-EVK board
Personal Computer
USB to Com Converter
Board settings
Connect pin:
RX of USB2COM to J33-5
TX of USB2COM to J33-6
GND of USB2COM to J17-7
Prepare the Demo
Connect the USB2COM Converter to the host PC
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 polling example
Board will send back received characters
EVK-MIMXRT1064
Hardware requirements
Mini/micro USB cable
EVK-MIMXRT1064 board
Personal Computer
USB to Com Converter
Board settings
Connect pin:
RX of USB2COM to J22-2
TX of USB2COM to J22-1
GND of USB2COM to J24-7
Prepare the Demo
Connect the USB2COM Converter to the host PC
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 polling example
Board will send back received characters