Fast UART example

Introduction

This example shows how to get a high throughput from a UART. It sends data from the development board to a server on the PC. The server application listens to data sent from the UART on the board and displays a '.' for every packet received. The UART and baud rate for the application are specified in the config.xml file.

Building the example

In order to build the example, you must have installed the Java COMM API.

Change directory to the uart example
    cd %LF_HOME%\examples\uart

Rebuild the application
    lfmake clean all

Running the example

Start the server running on the PC
    server -p <COM port> -s <speed>

To run the example on the board
    lfdownload uart.bin

Features

This example demonstrates the following SDK features.