AVR32 - USART Driver - USART Example Documentation
This is the documentation for the data structures, functions, variables, defines, enums, and typedefs for the USART software driver.
It also comes bundled with an example. This example is a basic Hello-World example.
Example's operating mode:
- A message is displayed on the PC terminal ("Hello, this is AT32UC3 saying hello! (press enter)")
- You may then type any character other than CR(Carriage Return) and it will be echoed back to the PC terminal.
- If you type a CR, "'CRLF'Goodbye." is echoed back to the PC terminal and the application ends.
This software is written for GNU GCC for AVR32 and for IAR Embedded Workbench for Atmel AVR32. Other compilers may or may not work.
All AVR32 devices with a USART module can be used.
This example has been tested with the following configuration:
- EVK1100, EVK1101, UC3C_EK, EVK1104, EVK1105 evaluation kits; STK600+RCUC3L routing card; AT32UC3L-EK
- CPU clock: -- 12 MHz : EVK1100, EVK1101, EVK1104, EVK1105, AT32UC3L-EK evaluation kits; STK600+RCUC3L routing card -- 16 Mhz : AT32UC3C-EK
- USART1 (on EVK1100 or EVK1101) connected to a PC serial port via a standard RS232 DB9 cable, or USART0 (on EVK1105) or USART2 (on AT32UC3C-EK) or USART1 (on EVK1104) or USART3 (on AT32UC3L-EK) abstracted with a USB CDC connection to a PC; STK600 usart port for the STK600+RCUC3L setup (connect STK600.PE2 to STK600.RS232 SPARE.TXD and STK600.PE3 to STK600.RS232 SPARE.RXD)
- PC terminal settings:
- 57600 bps,
- 8 data bits,
- no parity bit,
- 1 stop bit,
- no flow control.
For further information, visit
Atmel AVR32.
Support and FAQ:
http://support.atmel.no/