flexio3_uart_int_rb_transfer#
Overview#
The flexio_uart_interrupt_ring_buffer example shows how to use flexio uart driver in interrupt way with RX ring buffer enabled:
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.
Note: The example echo every 8 characters, so input 8 characters every time.
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 RX ring buffer example
Send back received data
Echo every 8 bytes
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 RX ring buffer example
Send back received data
Echo every 8 bytes
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 RX ring buffer example
Send back received data
Echo every 8 bytes
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 RX ring buffer example
Send back received data
Echo every 8 bytes