MCUXpresso SDK Documentation

Hardware requirements#

  • Type-C USB cable

  • FRDM-KW43 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   JP19  Pin 1       ----------     LPUART_RX   JP18  pin 1
LPUART_CTS  J19   Pin 2       ----------     LPUART_RTS  J23   Pin 4

Prepare the Demo#

  1. Connect a USB cable between the host PC and the FRDM board J28.

  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.