Purpose
The UART example show how to use UART peripheral on SAMV7 family of microcontrollers. This basic application shows how to send and receive a buffer..
Requirements
This package can be used with SAM V71 Xplained Ultra board.
Description
The demonstration program makes transfer buffer over DMA or via interrupt in local loop-back mode of UART
Usage
- Build the program and download it inside the SAM V71 Xplained Ultra board. Please refer to the Getting Started with SAM V71 Microcontrollers.pdf
- On the computer, open and configure a terminal application (e.g. HyperTerminal on Microsoft Windows) with these settings:
- 115200 baud rate
- 8 bits of data
- No parity
- 1 stop bit
- No flow control
- Start the application.
- In the terminal window, the following text should appear (values depend on the board and chip used):
-- uart Example xxx --
-- xxxxxx-xx
-- Compiled: xxx xx xxxx xx:xx:xx --
Menu :
========================
UART is Configured in : LoopBack
I: Perform UART transfer with interrupt
D: Perform UART DMA transfer in local loopback
H: Display menu
- The user can then choose any of the available options to perform the described action.
References