MCUXpresso SDK Documentation

flexio_uart_int_rb_transfer

flexio_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#

EVK9-MIMX8ULP
Hardware requirements
  • Micro USB cable

  • MIMX8ULP-EVK/EVK9 board

  • J-Link Debug Probe

  • 5V power supply

  • Personal Computer

Board settings

The example requires connecting the FLEXIO0 pins with the USB2COM pins The connection should be set as follows:

  • PTA8(J20,10) on base board, TX of USB2COM connected

  • PTA9(J20,9) on base board, RX of USB2COM connected

  • GND(J20,7) on base board, Ground of USB2COM connected

Please note this application can’t support running with Linux BSP!

Prepare the Demo
  1. Connect 5V power supply and J-Link Debug Probe to the board, switch SW10 to power on the board.

  2. Connect a micro USB cable between the host PC and the J17 USB port on the target board.

  3. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  4. Download the program to the target board.

  5. Either press the reset button on your board or launch the debugger in your IDE to begin running the example

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
IMX952LPD5EVK-19
Hardware requirements
  • Type-C USB cable

  • IMX952-EVK board

  • J-Link Debug Probe

  • 12V~20V power supply

  • Personal Computer

Board settings
Note

Please run the application in Low Power boot mode (without Linux BSP). The IP module resource of the application is also used by Linux BSP. Or, run with Single Boot mode by changing Linux BSP to avoid resource conflict. Tips: After you insert the USB2COM, a new USBCOM will be found. The function output in new USBCOM.

Prepare the Demo
  1. Connect 12V~20V power supply and J-Link Debug Probe to the board, switch SW4 to power on the board.

  2. Connect a Type-C USB cable between the host PC and the J31 USB port on the target board.

  3. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  4. Download the program to the target board.

  5. Either re-power up your board or launch the debugger in your IDE to begin running the example.

Running the demo

When the example runs successfully, you can see the similar information from the terminal as below.

FLEXIO UART RX ring buffer example
Send back received data
Echo every 8 bytes
EVKB-IMXRT1050
Hardware requirements
  • Mini/micro USB cable

  • EVKB-IMXRT1050 board

  • Personal Computer

  • USB to Com Converter

Board settings

Connect pin:

  • RX of USB2COM to SW5-1

  • TX of USB2COM to SW5-2

  • GND of USB2COM to J24-7

Prepare the Demo
  1. Connect the USB2COM Converter to the host PC

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. 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-EVKB
Hardware requirements
  • Mini/micro USB cable

  • MIMXRT1060-EVKB board

  • Personal Computer

  • USB to Com Converter

Board settings

Connect pin:

  • RX of USB2COM to SW2-1

  • TX of USB2COM to SW2-2

  • GND of USB2COM to J17-7

Prepare the Demo
  1. Connect the USB2COM Converter to the host PC

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. 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
MIMXRT1170-EVKB
Hardware requirements
  • Mini/micro USB cable

  • MIMXRT1170-EVKB board

  • Personal Computer

  • USB to Com Converter

Board settings

Connect pin:

  • RX of USB2COM to J26-2

  • TX of USB2COM to J26-4

  • GND of USB2COM to J10-14

Prepare the Demo
  1. Connect the USB2COM Converter to the host PC

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. 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 SW2-1

  • TX of USB2COM to SW2-2

  • GND of USB2COM to J17-7

Prepare the Demo
  1. Connect the USB2COM Converter to the host PC

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. 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
FRDM-IMXRT1152
Hardware requirements
  • Type-C USB cable

  • FRDM-IMXRT1152 board

  • Personal Computer

  • USB to Com Converter

Board settings

Connect pin:

  • RX of USB2COM to J44-1

  • TX of USB2COM to J44-3

  • GND of USB2COM to J11-19

Prepare the Demo
  1. Connect the USB2COM Converter to the host PC

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. 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-MCIMX7ULP
Hardware requirements
  • Micro USB cable

  • MCIMX7ULP-EVK board

  • J-Link Debug Probe

  • 5V power supply

  • Personal Computer

Board settings

The example requires connecting the FLEXIO pins with the USB2COM pins The connection should be set as follows:

  • TP25 on base board, TX of USB2COM connected

  • TP27 on base board, RX of USB2COM connected

  • GND on base board, Ground of USB2COM connected

Please note this application can’t support running with Linux BSP!

Prepare the Demo
  1. Connect 5V power supply and J-Link Debug Probe to the board, switch SW1 to power on the board.

  2. Connect a micro USB cable between the host PC and the J6 USB port on the target board.

  3. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  4. Download the program to the target board.

  5. Either press the reset button on your board or launch the debugger in your IDE to begin running the example

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-MIMX8ULP
Hardware requirements
  • Micro USB cable

  • MIMX8ULP-EVK/EVK9 board

  • J-Link Debug Probe

  • 5V power supply

  • Personal Computer

Board settings

The example requires connecting the FLEXIO0 pins with the USB2COM pins The connection should be set as follows:

  • PTA8(J20,10) on base board, TX of USB2COM connected

  • PTA9(J20,9) on base board, RX of USB2COM connected

  • GND(J20,7) on base board, Ground of USB2COM connected

Please note this application can’t support running with Linux BSP!

Prepare the Demo
  1. Connect 5V power supply and J-Link Debug Probe to the board, switch SW10 to power on the board.

  2. Connect a micro USB cable between the host PC and the J17 USB port on the target board.

  3. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  4. Download the program to the target board.

  5. Either press the reset button on your board or launch the debugger in your IDE to begin running the example

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-MIMXRT1010
Hardware requirements
  • Mini/micro USB cable

  • EVK-MIMXRT1010 board

  • Personal Computer

  • USB to Com Converter

Board settings

Connect pin:

  • RX of USB2COM to J26-4

  • TX of USB2COM to J26-6

  • GND of USB2COM to J57-14

Prepare the Demo
  1. Connect the USB2COM Converter to the host PC

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. 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

Note: To debug in qspiflash, following steps are needed:

  1. Select the flash target and compile.

  2. Set the SW8: 1 off 2 off 3 on 4 off, then power on the board and connect USB cable to J41.

  3. Start debugging in IDE.

    • Keil: Click “Download (F8)” to program the image to qspiflash first then clicking “Start/Stop Debug Session (Ctrl+F5)” to start debugging.

EVK-MIMXRT1015
Hardware requirements
  • Mini/micro USB cable

  • EVK-MIMXRT1015 board

  • Personal Computer

  • USB to Com Converter

Board settings

Connect pin:

  • RX of USB2COM to J17-4

  • TX of USB2COM to J17-3

  • GND of USB2COM to J19-7

Prepare the Demo
  1. Connect the USB2COM Converter to the host PC

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. 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

Note: To debug in qspiflash, following steps are needed:

  1. Select the flash target and compile.

  2. Set the SW8: 1 off 2 off 3 on 4 off, then power on the board and connect USB cable to J41.

  3. Start debugging in IDE.

    • Keil: Click “Download (F8)” to program the image to qspiflash first then clicking “Start/Stop Debug Session (Ctrl+F5)” to start debugging.

EVK-MIMXRT1020
Hardware requirements
  • Mini/micro USB cable

  • EVK-MIMXRT1020 board

  • Personal Computer

  • USB to Com Converter

Board settings

Connect pin:

  • RX of USB2COM to J17-1

  • TX of USB2COM to J17-2

  • GND of USB2COM to J19-7

Prepare the Demo
  1. Connect the USB2COM Converter to the host PC

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. 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

Note: To debug in qspiflash, following steps are needed:

  1. Select the flash target and compile.

  2. Set the SW8: 1 off 2 off 3 on 4 off, then power on the board and connect USB cable to J23.

  3. Start debugging in IDE.

    • Keil: Click “Download (F8)” to program the image to qspiflash first then clicking “Start/Stop Debug Session (Ctrl+F5)” to start debugging.

MIMXRT1024-EVK
Hardware requirements
  • Mini/micro USB cable

  • MIMXRT1024-EVK board

  • Personal Computer

  • USB to Com Converter

Board settings

Connect pin:

  • RX of USB2COM to J17-2

  • TX of USB2COM to J17-4

  • GND of USB2COM to J19-14

Prepare the Demo
  1. Connect the USB2COM Converter to the host PC

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. 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

Note: To debug in qspiflash, following steps are needed:

  1. Select the flash target and compile.

  2. Set the SW8: 1 off 2 off 3 on 4 off, then power on the board and connect USB cable to J23.

  3. Start debugging in IDE.

    • Keil: Click “Download (F8)” to program the image to qspiflash first then clicking “Start/Stop Debug Session (Ctrl+F5)” to start debugging.

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 SW2-1

  • TX of USB2COM to SW2-2

  • GND of USB2COM to J17-7

Prepare the Demo
  1. Connect the USB2COM Converter to the host PC

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. 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 SW5-1

  • TX of USB2COM to SW5-2

  • GND of USB2COM to J24-7

Prepare the Demo
  1. Connect the USB2COM Converter to the host PC

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. 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
MIMXRT1160-EVK
Hardware requirements
  • Mini/micro USB cable

  • MIMXRT1160-EVK board

  • Personal Computer

  • USB to Com Converter

Board settings

Connect pin:

  • RX of USB2COM to J26-2

  • TX of USB2COM to J26-4

  • GND of USB2COM to J10-14

Prepare the Demo
  1. Connect the USB2COM Converter to the host PC

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. 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
MIMXRT1180-EVK
Hardware requirements
  • Mini/micro USB cable

  • MIMXRT1180-EVK board

  • Personal Computer

  • USB to Com Converter

Board settings

Connect pin:

  • RX of USB2COM to J41-2

  • TX of USB2COM to J41-4

  • GND of USB2COM to J44-14

Prepare the Demo
  1. Connect the USB2COM Converter to the host PC

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. 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
FRDM-K32L2A4S
Hardware requirements
  • Mini/micro USB cable

  • FRDM-K32L2A4S board

  • Personal Computer

  • USB To Serial Adapter

Board settings

Connect USB To Serial Adapter to user-defined pins, which are defined by “FLEXIO_UART_TX_PIN” and “FLEXIO_UART_RX_PIN” in source code. - PTE18, FLEXIO_UART_RX_PIN, J2-15 - PTE19, FLEXIO_UART_TX_PIN, J2-17 - GND , J2-14

Prepare the Demo
  1. Connect a mini USB cable between the PC host and the OpenSDA USB port on the board.

  2. 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

  3. Download the program to the target board.

  4. 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 terminal(from USB To Serial Adapter) like:

FLEXIO UART RX ring buffer example
Send back received data
Echo every 8 bytes
FRDM-K32L2B
Hardware requirements
  • Mini/micro USB cable

  • FRDM-K32L2B board

  • USB-to-COM external

  • Personal Computer

Board settings

The flexio_uart_interrupt_ring_buffer 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
  1. Connect a mini USB cable between the PC host and the OpenSDA USB port on the board.

  2. 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

  3. Download the program to the target board.

  4. 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
FRDM-K32L3A6
Hardware requirements
  • Mini/micro USB cable

  • FRDM-K32L3A6 board

  • USB-to-COM external

  • Personal Computer

Board settings

The flexio_uart_interrupt_ring_buffer example is requires connecting the FLEXIO pins with the USB2COM pins The connection should be set as following:

  • J2-3(PTD4), TX of USB2COM connected

  • J2-1(PTD5), RX of USB2COM connected

  • J2-14, Ground of USB2COM connected

Prepare the Demo
  1. Connect a mini USB cable between the PC host and the OpenSDA USB port on the board.

  2. 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

  3. Download the program to the target board.

  4. 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
FRDM-KE15Z
Hardware requirements
  • Micro USB cable

  • FRDM-KE15Z board

  • USB to Com converter

  • Personal Computer

Board settings

This example requires connecting the FLEXIO pins with the USB2COM pins The connection should be set as following: - PTE11, FLEXIO_UART_RX_PIN, J2-15 - PTE10, FLEXIO_UART_TX_PIN, J2-17 - GND , J2-14

Prepare the Demo
  1. Connect a USB cable between the host PC and the OpenSDA USB port on the target board.

  2. Open a serial terminal with the following settings:

  • 115200 baud rate

  • 8 data bits

  • No parity

  • One stop bit

  • No flow control

  1. Download the program to the target board.

  2. 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 example runs successfully, the following message is displayed in the terminal:

FLEXIO UART RX ring buffer example
Send back received data
Echo every 8 bytes
FRDM-KE17Z
Hardware requirements
  • Micro USB cable

  • FRDM-KE17Z board

  • USB to Com converter

  • Personal Computer

Board settings

This example requires connecting the FLEXIO pins with the USB2COM pins The connection should be set as following: - PTA11, FLEXIO_UART_RX_PIN, J2-17 - PTA10, FLEXIO_UART_TX_PIN, J2-15 - GND , J2-14

Prepare the Demo
  1. Connect a USB cable between the host PC and the OpenSDA USB port on the target board.

  2. Open a serial terminal with the following settings:

  • 115200 baud rate

  • 8 data bits

  • No parity

  • One stop bit

  • No flow control

  1. Download the program to the target board.

  2. 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 example runs successfully, the following message is displayed in the terminal:

FLEXIO UART RX ring buffer example
Send back received data
Echo every 8 bytes
FRDM-KE17Z512
Hardware requirements
  • Micro USB cable

  • FRDM-KE17Z512 board

  • USB to Com converter

  • Personal Computer

Board settings

This example requires connecting the FLEXIO pins with the USB2COM pins The connection should be set as following: - PTA11, FLEXIO_UART_RX_PIN, J2-17 - PTA10, FLEXIO_UART_TX_PIN, J2-15 - GND , J2-14

Prepare the Demo
  1. Connect a USB cable between the host PC and the MCU-LINK USB port on the target board.

  2. Open a serial terminal with the following settings:

  • 115200 baud rate

  • 8 data bits

  • No parity

  • One stop bit

  • No flow control

  1. Download the program to the target board.

  2. 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 example runs successfully, the following message is displayed in the terminal:

FLEXIO UART RX ring buffer example
Send back received data
Echo every 8 bytes
FRDM-MCXA156
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
  1. Connect a Type-C USB cable between the host PC and the FRDM board J21.

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. 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
FRDM-MCXE247
Hardware requirements
  • USB-C cable

  • FRDM-MCXE247 board

  • USB to UART converter

  • Personal Computer

Board settings

This example requires connecting the FLEXIO pins with the USB to UART pins The connection should be set as following: - PTD2, FLEXIO_UART_RX_PIN, J2-8 - PTE15, FLEXIO_UART_TX_PIN, J2-4 - GND, J2-14

Prepare the Demo
  1. Connect a USB cable between the host PC and the MCU-LINK USB port on the target board.

  2. Open a serial terminal with the following settings:

  • 115200 baud rate

  • 8 data bits

  • No parity

  • One stop bit

  • No flow control

  1. Download the program to the target board.

  2. 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 example runs successfully, the following message is displayed in the terminal:

FLEXIO UART RX ring buffer example
Send back received data
Echo every 8 bytes
FRDM-MCXC242
Hardware requirements
  • USB-C cable

  • FRDM-MCXC242 board

  • USB-to-COM external

  • Personal Computer

Board settings

The flexio_uart_interrupt_ring_buffer example is requires connecting the FLEXIO pins with the USB2COM pins The connection should be set as following:

  • J1-9, TX of USB2COM connected

  • J1-11, RX of USB2COM connected

  • J2-14, Ground of USB2COM connected

Prepare the Demo
  1. Connect a mini USB cable between the PC host and the OpenSDA USB port on the board.

  2. 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

  3. Download the program to the target board.

  4. 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
FRDM-MCXC444
Hardware requirements
  • Type-C USB cable

  • FRDM-MCXC444 board

  • USB-to-COM external

  • Personal Computer

Board settings

The flexio_uart_interrupt_ring_buffer 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
  1. Connect a type-c USB cable between the host PC and the MCU-Link USB port (J13) on the target board.

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. 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
FRDM-MCXN236
Hardware requirements
  • Type-C USB cable

  • FRDM-MCXN236 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-18(P3_1), TX of USB2COM connected

  • J8-17(P3_0), RX of USB2COM connected

  • J8-2, Ground of USB2COM connected

Prepare the Demo
  1. Connect a USB cable between the host PC and the EVK board J10.

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. 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
FRDM-MCXN947
Hardware requirements
  • Type-C USB cable

  • FRDM-MCXN947 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-28(P4_23), TX of USB2COM connected

  • J8-27(P4_22), RX of USB2COM connected

  • J8-2, Ground of USB2COM connected

Prepare the Demo
  1. Connect a USB cable between the host PC and the EVK board J17.

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. 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
FRDM-MCXN947T
Hardware requirements
  • Type-C USB cable

  • FRDM-MCXN947T 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-28(P4_23), TX of USB2COM connected

  • J8-27(P4_22), RX of USB2COM connected

  • J8-2, Ground of USB2COM connected

Prepare the Demo
  1. Connect a USB cable between the host PC and the EVK board J17.

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. 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
FRDM-MCXW71
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
  1. Connect a USB cable between the host PC and the FRDM board J10.

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. 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
MCX-W71-EVK
Hardware requirements
  • Type-C USB cable

  • MCX-W71-EVK 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-3(PTA17), RX of USB2COM connected

  • J1-1(PTA16), TX of USB2COM connected

  • J13-8, Ground of USB2COM connected

Prepare the Demo
  1. Connect a USB cable between the host PC and the EVK board J14.

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. 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
IMX95LPD5EVK-19
Hardware requirements
  • Type-C USB cable

  • IMX95LPD5-EVK board

  • J-Link Debug Probe

  • 12V~20V power supply

  • Personal Computer

Board settings

The example requires connecting the FLEXIO1 pins with the USB2COM pins The connection should be set as follows:

  • FLEXIO_RX(J22-5) on base board, TX of USB2COM connected

  • FLEXIO_TX(J22-3) on base board, RX of USB2COM connected

  • GND (J22-7) on base board, Ground of USB2COM connected

Please note this application can’t support running with Linux BSP!

Note

Please run the application in Low Power boot mode (without Linux BSP). The IP module resource of the application is also used by Linux BSP. Or, run with Single Boot mode by changing Linux BSP to avoid resource conflict. Tips: After you insert the USB2COM, a new USBCOM will be found. The function output in new USBCOM.

Prepare the Demo
  1. Connect 12V~20V power supply and J-Link Debug Probe to the board, switch SW4 to power on the board.

  2. Connect a Type-C USB cable between the host PC and the J31 USB port on the target board.

  3. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  4. Download the program to the target board.

  5. Either re-power up your board or launch the debugger in your IDE to begin running the example.

Running the demo

When the example runs successfully, you can see the similar information from the terminal as below.

FLEXIO UART RX ring buffer example
Send back received data
Echo every 8 bytes
FRDM-IMX95
Hardware requirements
  • Type-C USB cable

  • FRDM-IMX95 board

  • J-Link Debug Probe

  • 12V~20V power supply

  • Personal Computer

Board settings

The example requires connecting the FLEXIO1 pins with the USB2COM pins The connection should be set as follows:

  • FLEXIO_RX(J19-5) on base board, TX of USB2COM connected

  • FLEXIO_TX(J19-3) on base board, RX of USB2COM connected

  • GND (J19-9) on base board, Ground of USB2COM connected

Please note this application can’t support running with Linux BSP!

Note

Please run the application in Low Power boot mode (without Linux BSP). The IP module resource of the application is also used by Linux BSP. Or, run with Single Boot mode by changing Linux BSP to avoid resource conflict. Tips: After you insert the USB2COM, a new USBCOM will be found. The function output in new USBCOM.

Prepare the Demo
  1. Connect 12V~20V power supply and J-Link Debug Probe to the board, switch SW4 to power on the board.

  2. Connect a Type-C USB cable between the host PC and the J31 USB port on the target board.

  3. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  4. Download the program to the target board.

  5. Either re-power up your board or launch the debugger in your IDE to begin running the example.

Running the demo

When the example runs successfully, you can see the similar information from the terminal as below.

FLEXIO UART RX ring buffer example
Send back received data
Echo every 8 bytes
FRDM-IMX952
Hardware requirements
  • Type-C USB cable

  • FRDM-IMX952 board

  • J-Link Debug Probe

  • 15V~20V USB Type-C PD power supply

  • Personal Computer

Board settings
Note

Please run the application in Low Power boot mode (without Linux BSP). The IP module resource of the application is also used by Linux BSP. Or, run with Single Boot mode by changing Linux BSP to avoid resource conflict. Tips: After you insert the USB2COM, a new USBCOM will be found. The function output in new USBCOM.

Prepare the Demo
  1. Connect 15V~20V USB Type-C PD power supply and J-Link Debug Probe to the board, switch SW1 to power on the board.

  2. Connect a Type-C USB cable between the host PC and the J1 USB Type-C port on the target board.

  3. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  4. Download the program to the target board.

  5. Either re-power up your board or launch the debugger in your IDE to begin running the example.

Running the demo

When the example runs successfully, you can see the similar information from the terminal as below.

FLEXIO UART RX ring buffer example
Send back received data
Echo every 8 bytes
FRDM-IMX937
Hardware requirements
  • Type-C USB cable

  • FRDM-IMX937 board

  • J-Link Debug Probe

  • 12V~20V power supply

  • Personal Computer

Board settings
Note

Please run the application in Low Power boot mode (without Linux BSP). The IP module resource of the application is also used by Linux BSP. Or, run with Single Boot mode by changing Linux BSP to avoid resource conflict. Tips: After you insert the USB2COM, a new USBCOM will be found. The function output in new USBCOM.

Prepare the Demo
  1. Connect 12V~20V power supply and J-Link Debug Probe to the board, switch SW4 to power on the board.

  2. Connect a Type-C USB cable between the host PC and the J31 USB port on the target board.

  3. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  4. Download the program to the target board.

  5. Either re-power up your board or launch the debugger in your IDE to begin running the example.

Running the demo

When the example runs successfully, you can see the similar information from the terminal as below.

FLEXIO UART RX ring buffer example
Send back received data
Echo every 8 bytes
KW45B41Z-EVK
Hardware requirements
  • Mini/micro USB cable

  • KW45B41Z-EVK 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:

  • J13-4(PTA17), RX of USB2COM connected

  • J13-3(PTA16), TX of USB2COM connected

  • J13-8, Ground of USB2COM connected

Prepare the Demo
  1. Connect a USB cable between the host PC and the EVK board J14.

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. 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
KW47-EVK
Hardware requirements
  • Type-C USB cable

  • KW47-EVK 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-3(PTA17), RX of USB2COM connected

  • J1-1(PTA16), TX of USB2COM connected

  • J13-8, Ground of USB2COM connected

Prepare the Demo
  1. Connect a USB cable between the host PC and the EVK board J14.

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. 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
MCIMX93AUTO-EVK
Hardware requirements
  • USB Type-C cable

  • MCIMX93AUTO-EVK board

  • J-Link Debug Probe

  • 12V~20V power supply

  • Personal Computer

Board settings

The example requires connecting the FLEXIO1 pins with the USB2COM pins The connection should be set as follows:

  • FLEXIO_RX(J16-5) on base board, TX of USB2COM connected

  • FLEXIO_TX(J16-3) on base board, RX of USB2COM connected

  • GND(J16-39) on base board, Ground of USB2COM connected

Please note this application can’t support running with Linux BSP!

Note

Please run the application in Low Power boot mode (without Linux BSP). The IP module resource of the application is also used by Linux BSP. Or, run with Single Boot mode by changing Linux BSP to avoid resource conflict. Tips: After you insert the USB2COM, a new USBCOM will be found. The function output in new USBCOM.

Prepare the Demo
  1. Connect 12V~20V power supply and J-Link Debug Probe to the board, switch SW2 to power on the board.

  2. Connect a USB Type-C cable between the host PC and the J26 USB port on the target board.

  3. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  4. Download the program to the target board.

  5. Either re-power up your board or launch the debugger in your IDE to begin running the example.

Running the demo

When the example runs successfully, you can see the similar information from the terminal as below.

FLEXIO UART RX ring buffer example
Send back received data
Echo every 8 bytes
MCIMX93-EVK
Hardware requirements
  • USB Type-C cable

  • MCIMX93-EVK board

  • J-Link Debug Probe

  • 12V~20V power supply

  • Personal Computer

Board settings

The example requires connecting the FLEXIO1 pins with the USB2COM pins The connection should be set as follows:

  • FLEXIO_RX(J1001-5) on base board, TX of USB2COM connected

  • FLEXIO_TX(J1001-3) on base board, RX of USB2COM connected

  • GND(J1005-7) on base board, Ground of USB2COM connected

Please note this application can’t support running with Linux BSP!

Note

Please run the application in Low Power boot mode (without Linux BSP). The IP module resource of the application is also used by Linux BSP. Or, run with Single Boot mode by changing Linux BSP to avoid resource conflict. Tips: After you insert the USB2COM, a new USBCOM will be found. The function output in new USBCOM.

Prepare the Demo
  1. Connect 12V~20V power supply and J-Link Debug Probe to the board, switch SW301 to power on the board.

  2. Connect a USB Type-C cable between the host PC and the J1401 USB port on the target board.

  3. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  4. Download the program to the target board.

  5. Either re-power up your board or launch the debugger in your IDE to begin running the example.

Running the demo

When the example runs successfully, you can see the similar information from the terminal as below.

FLEXIO UART RX ring buffer example
Send back received data
Echo every 8 bytes
MCIMX93W-EVK
Hardware requirements
  • USB Type-C cable

  • MCIMX93W-EVK board

  • J-Link Debug Probe

  • 12V~20V power supply

  • Personal Computer

Board settings

The example requires connecting the FLEXIO1 pins with the USB2COM pins The connection should be set as follows:

  • FLEXIO_RX(J1001-5) on base board, TX of USB2COM connected

  • FLEXIO_TX(J1001-3) on base board, RX of USB2COM connected

  • GND(J1005-7) on base board, Ground of USB2COM connected

Please note this application can’t support running with Linux BSP!

Note

Please run the application in Low Power boot mode (without Linux BSP). The IP module resource of the application is also used by Linux BSP. Or, run with Single Boot mode by changing Linux BSP to avoid resource conflict. Tips: After you insert the USB2COM, a new USBCOM will be found. The function output in new USBCOM.

Prepare the Demo
  1. Connect 12V~20V power supply and J-Link Debug Probe to the board, switch SW301 to power on the board.

  2. Connect a USB Type-C cable between the host PC and the J1401 USB port on the target board.

  3. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  4. Download the program to the target board.

  5. Either re-power up your board or launch the debugger in your IDE to begin running the example.

Running the demo

When the example runs successfully, you can see the similar information from the terminal as below.

FLEXIO UART RX ring buffer example
Send back received data
Echo every 8 bytes
MCIMX93-QSB
Hardware requirements
  • USB Type-C cable

  • MCIMX93-QSB board

  • J-Link Debug Probe

  • 12V~20V power supply

  • Personal Computer

Board settings

The example requires connecting the FLEXIO1 pins with the USB2COM pins The connection should be set as follows:

  • FLEXIO_RX(J1401-5) on base board, TX of USB2COM connected

  • FLEXIO_TX(J1401-3) on base board, RX of USB2COM connected

  • GND(J1406-7) on base board, Ground of USB2COM connected

Please note this application can’t support running with Linux BSP!

Note

Please run the application in Low Power boot mode (without Linux BSP). The IP module resource of the application is also used by Linux BSP. Or, run with Single Boot mode by changing Linux BSP to avoid resource conflict.

Tips: After you insert the USB2COM, a new USBCOM will be found. The function output in new USBCOM.

Prepare the Demo
  1. Connect 12V~20V power supply and J-Link Debug Probe to the board, switch SW301 to power on the board.

  2. Connect a USB Type-C cable between the host PC and the J1708 USB port on the target board.

  3. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  4. Download the program to the target board.

  5. Either re-power up your board or launch the debugger in your IDE to begin running the example.

Running the demo

When the example runs successfully, you can see the similar information from the terminal as below.

FLEXIO UART RX ring buffer example
Send back received data
Echo every 8 bytes
IMX943-EVK
Hardware requirements
  • Micro USB cable

  • IMX943-EVK board

  • J-Link Debug Probe

  • 12V~20V power supply

  • Personal Computer

Board settings

The example requires connecting the FLEXIO1 pins with the USB2COM pins The connection should be set as follows:

  • FLEXIO_RX(J44-10) on base board, TX of USB2COM connected

  • FLEXIO_TX(J51-18) on base board, RX of USB2COM connected

  • GND(J45-12) on base board, Ground of USB2COM connected

Please note this application can’t support running with Linux BSP!
Note

Please run the application in Low Power boot mode (without Linux BSP). The IP module resource of the application is also used by Linux BSP. Or, run with Single Boot mode by changing Linux BSP to avoid resource conflict. Tips: After you insert the USB2COM, a new USBCOM will be found. The function output in new USBCOM.

Prepare the Demo
  1. Connect 12V~20V power supply and J-Link Debug Probe to the board, switch SW1(SYS_PWR) to power on the board.

  2. Connect a micro USB cable between the host PC and the J15(FTDI_DEBUG) USB port on the target board.

  3. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  4. Download the program to the target board.

  5. Either re-power up your board or launch the debugger in your IDE to begin running the example.

Running the demo

When the example runs successfully, you can see the similar information from the terminal as below.

FLEXIO UART RX ring buffer example
Send back received data
Echo every 8 bytes
MCX-N5XX-EVK
Hardware requirements
  • Mini/micro USB cable

  • MCX-N5XX-EVK 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:

  • J20-28(P4_23), TX of USB2COM connected

  • J20-27(P4_22), RX of USB2COM connected

  • J20-2, Ground of USB2COM connected

Prepare the Demo
  1. Connect a USB cable between the host PC and the EVK board J5.

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. 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
MCX-N9XX-EVK
Hardware requirements
  • Mini/micro USB cable

  • MCX-N9XX-EVK 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:

  • J20-28(P4_23), TX of USB2COM connected

  • J20-27(P4_22), RX of USB2COM connected

  • J20-2, Ground of USB2COM connected

Prepare the Demo
  1. Connect a USB cable between the host PC and the EVK board J5.

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. 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
MCX-W72-EVK
Hardware requirements
  • Type-C USB cable

  • MCX-W72-EVK 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-3(PTA17), RX of USB2COM connected

  • J1-1(PTA16), TX of USB2COM connected

  • J13-8, Ground of USB2COM connected

Prepare the Demo
  1. Connect a USB cable between the host PC and the EVK board J14.

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. 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
MIMXRT700-EVK
Hardware requirements
  • Mini/micro USB cable

  • MIMXRT700-EVK board

  • Personal Computer

  • USB to Com Converter

Board settings

Connect pin:

  • RX of USB2COM to J5-5(FLEXIO TX)

  • TX of USB2COM to J5-6(FLEXIO RX)

  • GND of USB2COM to J6-7

Prepare the Demo
  1. Connect the USB2COM Converter to the host PC

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. 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
KW47-LOC
Hardware requirements
  • Type-C USB cable

  • KW47-LOC 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:

  • J2-3(PTA16), TX of USB2COM connected

  • J2-4(PTA17), RX of USB2COM connected

  • J2-8, Ground of USB2COM connected

Prepare the Demo
  1. Connect a USB cable between the host PC and the LOC board J3.

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. 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
MCXW72-LOC
Hardware requirements
  • Type-C USB cable

  • MCXW72-LOC 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:

  • J2-3(PTA16), TX of USB2COM connected

  • J2-4(PTA17), RX of USB2COM connected

  • J2-8, Ground of USB2COM connected

Prepare the Demo
  1. Connect a USB cable between the host PC and the LOC board J3.

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. 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
FRDM-IMXRT1186
Hardware requirements
  • Type-C USB cable

  • FRDM-IMXRT1186 board

  • Personal Computer

  • USB to Com Converter

Board settings

Connect pin:

  • RX of USB2COM to J1-6

  • TX of USB2COM to J1-8

  • GND of USB2COM to J1-15

Prepare the Demo
  1. Connect the USB2COM Converter to the host PC

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. 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
FRDM-MCXA266
Hardware requirements
  • Type-C USB cable

  • FRDM-MCXA266 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(P2_8), RX of USB2COM connected

  • J8-14(P2_9), TX of USB2COM connected

  • J8-2, Ground of USB2COM connected

Prepare the Demo
  1. Connect a Type-C USB cable between the host PC and the FRDM board.

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. 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
FRDM-MCXA366
Hardware requirements
  • Type-C USB cable

  • FRDM-MCXA366 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(P2_8), RX of USB2COM connected

  • J8-14(P2_9), TX of USB2COM connected

  • J8-2, Ground of USB2COM connected

Prepare the Demo
  1. Connect a Type-C USB cable between the host PC and the FRDM board.

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. 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
FRDM-MCXW72
Hardware requirements
  • Type-C USB cable

  • FRDM-MCXW72 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:

  • J5-3(PTA16), TX of USB2COM connected

  • J5-4(PTA17), RX of USB2COM connected

  • J5-8, Ground of USB2COM connected

Prepare the Demo
  1. Connect a USB cable between the host PC and the FRDM board J10.

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. 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
FRDM-MCXA577
Hardware requirements
  • Type-C USB cable

  • FRDM-MCXA577 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_8), RX of USB2COM connected

  • J8-14(P0_9), TX of USB2COM connected

  • J8-2, Ground of USB2COM connected

Prepare the Demo
  1. Connect a Type-C USB cable between the host PC and the FRDM board.

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. 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
FRDM-MCXA287
Hardware requirements
  • Type-C USB cable

  • FRDM-MCXA287 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_8), RX of USB2COM connected

  • J8-14(P0_9), TX of USB2COM connected

  • J8-2, Ground of USB2COM connected

Prepare the Demo
  1. Connect a Type-C USB cable between the host PC and the FRDM board.

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. 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