Atmel STK594 Tosc Switch, Universal Asynchronous Receiver Transmitter Uart, Second RS-232C Port

Page 10

Using the STK594 Top Module

2.5TOSC Switch

The AT94K device provides dedicated I/O pins for TOSC1 and TOSC2, rather than sharing with the general purpose I/O pins. The TOSC switch selects whether or not the 32 kHz crystal is connected to the pins of the device.

Figure 2-5 shows a simplified block schematic on how this is implemented.

Figure 2-5.TOSC Block Schematic

FPSLIC

TOSC2

TOSC1

32 kHz

TOSC

Switch

2.6Universal Asynchronous Receiver Transmitter (UART)

2.6.1Second RS-232C Port

Unlike traditional AVR microcontrollers, the AT94K device provides the option of having separate I/O pins for the UARTs rather than sharing with the general purpose I/O pins.

Figure 2-6 shows the pinout of a header for the dedicated UART pins.

Figure 2-6. UART Header

1 2

RX0 TX0

RX1 TX1

UART

The AT94K device has an additional UART. The RS-232 port on the STK594 board has in addition to the RXD and TXD lines support for RTS and CTS flow control. Figure 2-7 shows a simplified block schematic on how this is implemented.

Note: The UART in AT94K devices does not support hardware RTS or CTS control. If such functionality is needed, it must be implemented in software.

Figure 2-7.UART Block Schematic

RS232 SPARE2

4

6

2

3

7

8

5

RS-232/Logic Level

Converter

RxD

TxD

CTS

RTS

This UART can also be used from devices placed in the STK500 board. Simply connect the appropriate port pins to RXD and TXD on the STK594 board.

Note: If no software RTS/CTS flow control is implemented, a jumper shorting RTS and CTS will ensure correct communication with an external application that uses such flow control.

2-4

FPSLIC STK594 User Guide

2819A–FPSLI–07/02

Image 10
Contents STK594 User Guide Page Table of Contents Technical Specifications Section Introduction STK594 Top Module for STK500Features Connecting the STK594 to the STK500 Starter Kit Section Using the STK594 Top ModuleAdjusting Vtarget for the AT94K Devices Preparing the STK500 for Use with the STK594Port Connectors Port EJtag Universal Asynchronous Receiver Transmitter Uart Tosc SwitchSecond RS-232C Port External Two-Wire Serial Interface TwsiInterrupts Split Power Supply Support Xtal SwitchSystem Section Installing System DesignerRequirements Configuration Programming System CPS Installation System Designer InstallationLicensing Configuring the System Designer License Installing System Designer Section Using System Designer DescriptionDesign Flow Creating a ProjectUsing System Designer Using System Designer Using System Designer Using System Designer Fpga Source Assembling the Microcontroller Source CodeFile AVR-FPGA InterfaceRoute Fpga I/O FPGA-AVR I/ODesign Constraints Place and RouteBitstream Generation Hardware Setup Programming and Design ExecutionUsing System Designer Running the Design Select Low under A2 Bit LevelOperating Conditions Section Technical SpecificationsSystem Unit ConnectionsTechnical Specifications Section Complete Schematics Complete Schematics CON52 GND AUXI0 AUXO0 AUXI1 Cclk VCC VDD Vout Schematics Complete Schematics Atmel Headquarters