AT90S/LS4434 and AT90S/LS8535
3
allows the program memory to be reprogrammed in-system
through an SPI serial interface or by a conventional nonvolatile memory programmer. By combining an 8-bit RISC
CPU with In-System Programmable Flash on a monolithic
chip, the Atmel AT90 S4434/853 5 is a powerful micro controller that provides a highly flexible and cost effective solution to many embedded control applications.
The AT90S4434/853 5 AVR is su pported wi th a full suite of
program and system development tools including: C compilers, macro assemblers, program debugger/simulators,
in-circuit emulators, and evaluation kits.
Comparison between AT90S4434 and AT90S8535
The AT90S4434 has 4K bytes of In -S yste m Pr og ramma bl e
Flash, 256 bytes of EEPROM, and 256 bytes of internal
SRAM.
The AT90S8535 has 8K bytes of In -S yste m Pr og ramma bl e
Flash, 512 bytes of EEPROM, and 512 bytes of internal
SRAM.
Table 1 summarizes the dif ferent memory size s for the tw o
devices.
Pin Descriptions
VCC
Digital supply voltage
GND
Digital ground
Port A (PA7..PA0)
Port A is an 8-bit bi-directional I/O port. Port pins can provide internal pull-up resistors (selected for each bit). The
Port A output buffers can sink 20mA and can drive LED displays directly. When pins PA0 to PA7 are used as inputs
and are externally pulled low, they will source cur rent if the
internal pull-up resistors are activated.
Port A also se rves as the analog inp uts to the A/D Converter.
Port B (PB7..PB0)
Port B is an 8-bit bi-directional I/O pin s with inte rnal pu ll-up
resistors. The Port B output buffers can sink 20 mA. As
inputs, Port B pins t hat a re ex ternal ly pu ll ed l ow wi ll s our ce
current if the pull-up resistors are activated.
Port B also serves the fu nction s of vario us speci al featur es
of the AT90S4434/8535 as listed on page 52.
Port C (PC7..PC0)
Port C is an 8-bit bi-directional I/O port with internal pullup
resistors. The Port C output buffers can sink 20 mA. As
inputs, Port C pins that are external ly pul le d low will s ourc e
current if the pu ll-up res istors are activated . Two Port C
pins can alternatively be used as oscillator for
Timer/Counter2.
Port D (PD7..PD0)
Port D is an 8-bit bidirectional I/O port with internal pull-up
resistors. The Port D output buffers can sink 20 mA. As
inputs, Port D pins that are external ly pul le d low will s ourc e
current if the pull-up resistors are activated.
Port D also serves th e fu nctions of various special fe atur es
of the AT90S4434/8535 as listed on page 59.
RESET
Reset input. A low on t his pi n for two machi ne cy cles wh ile
the oscillator is running resets the device.
XTAL1
Input to the inverting os cillator ampli fier and input to th e
internal clock operating circuit.
XTAL2
Output from the inverting oscillator amplifier
AVCC
This is the supply voltage pin for the A/D Converter. It
should be externally connected to VCC via a low-pass filter.
See page 47 for details on operation of the ADC.
AREF
This is the analog reference input for the A/D Converter.
For ADC operations, a voltag e in the r ange A GND to AV
CC
must be applied to this pin.
AGND
Analog ground. If the board has a separate analog ground
plane, this pin should be connected to this ground plane.
Otherwise, connect to GND.
Crystal Oscillators
XTAL1 and XTAL2 are input and output, respectively, of an
inverting amplifier which can be configured for use as an
on-chip oscillator, as shown in Figure 1. Either a quartz
crystal or a ceramic resonator may be used. To drive the
device from an external clock source, XTAL2 should be left
unconnected while XTAL1 is driven as shown in Figure 2.
For the Timer Oscillator pins, PC6(OSC1) and PC7(OSC2),
the crystal is connected directly between the pins. No
external capac itors ar e neede d. The osci llator i s optim ized
for use with a 32,768 Hz watch crystal. An external clock
signal applied to t his pin g oes through th e same am plifier
having a bandwidth of 256 kHz. The external clock si gnal
should therefore be in the interval 0 Hz - 256 kHz.
Table 1.
Memory Size Summary
Part Flash EEPROM SRAM
AT90S4434 4K bytes 256 bytes 256 bytes
AT90S8535 8K bytes 512 bytes 512 bytes