Hardware requirements

  • Type-C USB cable

  • MCX-W71-EVK Board

  • Personal Computer

Board settings

UART hardware flow control on one board. The UART will send data to itself(loopback), and hardware flow control function will be enabled on this example. So, please make sure the correct connection for example.

Pin Name    Board Location    connect to     Pin Name    Board Location
LPUART_TX   J13   Pin 3       ----------     LPUART_RX   J13   pin 4
LPUART_CTS  J2    Pin 17       ----------    LPUART_RTS  J1    Pin 9

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. Reset the SoC and run the project.

Running the demo

When the demo runs successfully, the log would be seen on the OpenSDA terminal like:

This is LPUART hardware flow control example on one board.
This example will send data to itself and will use hardware flow control to avoid the overflow.
Please make sure you make the correct line connection. Basically, the connection is:
      LPUART_TX    --     LPUART_RX
      LPUART_RTS   --     LPUART_CTS
Data matched! Transfer successfully.