Professional Documents
Culture Documents
173 Boronia Rd, Boronia, (PO Box 30), Victoria, 3155, Australia.
Phone: +61 3 9762 3588, Fax: +61 3 9762 5499.
Internet web site: http://www.jedmicro.com.au/ jed@jedmicro.com.au
The board is designed to be compatible with the com- · Provision for I2C, SPI and CAN bus inter-
ing Atmel ATmega128 CPU, about which not much can faces;
be said because of nondisclosure agreements signed with · Cable connector for CPU FLASH program-
the manufacturer, other than it shares functions with other
ming, with automatic switching to pro-
new ATmega family devices such as the ATmega163, for
example, being able to reprogram its own program mem- gram mode from PC. Connector available
ory (allowing field upgrades of software remotely). Extra for LCD and keyboard scanning;
hardware features of the ATmega128 have connections · Programmed in C, with AVR RISC instruc-
on this board allowing them to be used in future. tion set especially designed for structured
CPU, program FLASH, DataFLASH languages, with several good, low-cost
compilers;
The ATmega103 is the most powerful CPU in the AVR
RISC architecture family, with 128K bytes of program · 16 I/O lines, and bus extension, all via Xilinx
FLASH memory, 4,000 bytes of internal RAM and 4K gate array, allowing extendible hardware,
bytes of byte accessible EEPROM.
The internal UART provides one of the three serial
ports (two other ports are provided by a separate dual Serial I/O
UART.) Using a 3.6864 Mhz crystal, the CPU runs at an The ATmega103 CPU has one full duplex serial port,
average 3.5 MIPS, and provides exact (zero error) baud and this is used for SER3 and the optional RS485 half-
rates from 2400 to 115,200 baud on all serial interfaces. duplex interface.
An EXAR ST16C2550 dual UART provides SER1
The hardware SPI serial port in the CPU is used to com-
and SER2 serial ports. This device has separate interrupts
municate with the DataFLASH memory and external
for the two channels, taken to separate interrupt inputs on
LCD/keyboard devices. The CPU FLASH memory is
the CPU. It also uses the 3.6864 Mhz crystal which runs
programmable via the same connector.
the CPU, and provides exact (zero error) baud rates from
The CPU provides eight analog channels from the in- 2400 to 115,200 baud on its serial interfaces as well.
ternal 10 bit Analog to Digital converter, four are brought
to screw terminals on this board, and the other four are ac-
cessible via the JTAG IDC connector.
DataFLASH memory in a range of chips from 128K
byte to 2M byte is connected to the SPI interface on the
CPU. Data is read and written byte by byte using internal Designed and manufactured
RAM buffers which is then transferred to FLASH while a in Australia by an Australian-
second buffer can then be used. More DataFLASH mem- owned company.
ory can be installed on the “Upstairs” connector.
Analog
links CPU
ATmega Xilinx Xilinx
103/104 XCS05 expansion Vreg
to
XCS30 port
FETs
JED AVR585 DataFLASH
8 Optional FETs
ISP prog LEDs
The CPU serial pins go into the Xilinx gate array so transceiver chip is moved between two overlapping sock-
they can be routed to additional serial devices upstairs, eted positions to change the port from DTE to DCE con-
e.g. a TTL-level GPS module. figuration. This uses one channel of the dual UART.
The serial ports use a combination of receiver/driver The DTR/DSR link can be jumpered to +9 RS232 level
chips: the SER1 DTE port uses a MAX213E with built-in if this is needed by external interfaces.
voltage generators, and the other two ports use a
MAX1406E passive device, stealing power from the SER3
MAX213E rails. The +/- inverter generated rail power can The SER3 RS232 port can be configured as either DTE
be closed down to conserve power in a sleeping system. or DCE, and supports TX and RX lines and loops back
All transceivers have full spec EMC suppression and DTR to DSR and CTS to RTS. The DTR/DSR link can be
15KV ESD ratings. jumpered to +9 RS232 level if this is needed by external
All three RS232 serial ports are provided with right- interfaces. The port DTE/DCE mode is reconfigured with
angled D-submin 9-pin female connectors with jack nuts a simple 4-way jumper. This port uses the CPU UART,
for cable locking. These are positioned along the top edge sharing it with the RS485 port.
of the card, allowing them to protrude through a panel. RS485/CAN
TCP/IP The CPU serial port is also used to communicate via a
Atmel has just released a TCP/IP toolkit for the half-duplex RS485 transceiver. This appears on a three-
ATmega103 to assist internet and networking applica- pin screw terminal connector on the card edge (A, B and
tions. JED will be seeking applications of this board into Gnd.). TX-ON function is facilitated by an end-of-
this type of applicaion. transmission interrupt in the CPU allowing correct timing
for TX turnoff at the end of a byte transmission. Steering
SER1 of the CPU serial port between SER3 RS232 and the
This port is always configured as a DTE port, and pro- RS485 port is controlled in the Xilinx gate array.
vides all eight standard lines to fully support connection to The UART in the CPU supports “9-bit mode”, a multi-
a modem (radio, GSM, Satellite terminal or POTS). This drop mode which uses a 9th bit in the data word to flag an
uses one channel of the dual UART. address byte. (This is sometimes called an “11-bit com-
SER2 munications system”, i.e. a START bit, 8 DATA bits, an
The SER2 RS232 port can be configured as either DTE address flag bit and a STOP bit.)
or DCE, and supports TX, RX, RTS/CTS and loops back The RS485 driver chip can be replaced with a header to
DTR to DSR. The port is reconfigured without links...the “Upstairs” where a CAN bus interface can use it to con-