AVR-M32 User Manual

AVR-M32 User Manual
AVR- M32 development board
Users Manual
All boards produced by Olimex are ROHS compliant
Rev. C, January 2005
Copyright(c) 2009, OLIMEX Ltd, All rights reserved
Page1
INTRODUCTION
AVR-M32 is header board with JTAG connector and Atmega32 – 8-bit
Microcontroller with 16K Bytes In-System Programmable Flash.
BOARD FEATURES
–
JTAG 5x2 pin connector for in-circuit programming and debugging with AVRJTAG-L or AVR-JTAG-USB
–
pin to pin compatible to AT90S8535 and may be used with AVR-P40B-8535xMhz prototype boards
–
ATMega32-16AC avr microcontroller
–
power supply filtering capacitors
–
extension pin headers for each uC pin
–
FR-4, 1.5 mm (0,062"), green soldermask, white silkscreen component print
–
dimensions 51x19 mm (2"x0.73")
ELECTROSTATIC WARNING
The AVR-M32 board is shipped in protective anti-static packaging. The board must
not be subject to high electrostatic potentials. General practice for working with
static sensitive devices should be applied when working with this board.
BOARD USE REQUIREMENTS
Cables: The cable you will need depends on the programmer/debugger you use. If
you use AVR-JTAG you will need RS232, if you use AVR-USB-JTAG you will need
1.8 m A-B USB cable.
Hardware: One of OLIMEX Programmers/Debuggers – AVR-JTAG, AVR-USBJTAG, or other compatible Programmer/Debugger.
Software: AVR C compiler.
Page2
PROCESSOR FEATURES
AVR-M32 board use High-performance, Low-power AVR® 8-bit Microcontroller
– ATmega32 from Atmel Corporation with these features:
–
–
Advanced RISC Architecture
–
131 Powerful Instructions – Most Single-clock Cycle Execution
–
32 x 8 General Purpose Working Registers
–
Fully Static Operation
–
Up to 16 MIPS Throughput at 16 MHz
–
On-chip 2-cycle Multiplier
High Endurance Non-volatile Memory segments
–
32K Bytes of In-System Self-programmable Flash program memory
–
1024 Bytes EEPROM
–
2K Byte Internal SRAM
–
Write/Erase Cycles: 10,000 Flash/100,000 EEPROM
–
Data retention: 20 years at 85°C/100 years at 25°C
–
Optional Boot Code Section with Independent Lock Bits
In-System Programming by On-chip Boot Program
True Read-While-Write Operation
–
–
–
Programming Lock for Software Security
JTAG (IEEE std. 1149.1 Compliant) Interface
–
Boundary-scan Capabilities According to the JTAG Standard
–
Extensive On-chip Debug Support
–
Programming of Flash, EEPROM, Fuses, and Lock Bits through the
JTAG Interface
Peripheral Features
–
Two 8-bit Timer/Counters with Separate Prescalers and Compare
Modes
–
One 16-bit Timer/Counter with Separate Prescaler, Compare Mode,
and Capture Mode
–
Real Time Counter with Separate Oscillator
–
Four PWM Channels
–
8-channel, 10-bit ADC
8 Single-ended Channels
7 Differential Channels
2 Differential Channels with Programmable Gain at 1x, 10x, or 200x
–
Byte-oriented Two-wire Serial Interface
–
Programmable Serial USART
Page3
–
–
Master/Slave SPI Serial Interface
–
Programmable Watchdog Timer with Separate On-chip Oscillator
–
On-chip Analog Comparator
Special Microcontroller Features
–
Power-on Reset and Programmable Brown-out Detection
–
Internal Calibrated RC Oscillator
–
External and Internal Interrupt Sources
–
Six Sleep Modes: Idle, ADC Noise Reduction, Power-save, Powerdown, Standby and Extended Standby
–
32 Programmable I/O Lines
–
Operating Voltages
–
–
4.5 - 5.5V
Speed Grades
–
0 - 16 MHz
Page4
BLOCK DIAGRAM
Page5
MEMORY MAP:
Page6
Page7
20
1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
PB0
PB1
PB2
PB3
PB4
PB5
PB6
PB7
RST
VCC
GND
XTAL2
XTAL1
PD0
PD1
PD2
PD3
PD4
PD5
PD6
100n
C1
R1
10K
VCC
Page8
100n
C5
28
AGND
100n
C2
39
18
6
38
17
5
27
AVCC
VCC
29
8
7
4
AREF
RST
ATMEGA32
GND2
GND1
GND
VCC2
VCC1
VCC
AGND
AVCC
AREF
XTAL1
XTAL2
RESET
U1
(OC2)PD7
(ICP)PD6
(OC1A)PD5
(OC1B)PD4
(INT1)PD3
(INT0)PD2
(TXD)PD1
(RXD)PD0
(TOSC2)PC7
(TOSC1)PC6
PC5(TDI)
PC4(TDO)
PC3(TMS)
PC2(TCK)
PC1(SDA)
PC0(SCL)
(SCK)PB7
(MISO)PB6
(MOSI)PB5
(SS)PB4
(AIN1)PB3
(AIN0)PB2
(T1)PB1
(T0)PB0
(ADC7)PA7
(ADC6)PA6
(ADC5)PA5
(ADC4)PA4
(ADC3)PA3
(ADC2)PA2
(ADC1)PA1
(ADC0)PA0
PA7
PA6
PA5
PA4
PA3
PA2
PA1
PA0
PB7
PB6
PB5
PB4
PB3
PB2
PB1
PB0
PC7
PC6
PC5
PC4
PC3
PC2
PC1
PC0
PD7
PD6
PD5
PD4
PD3
PD2
PD1
PD0
30
31
32
33
34
35
36
37
3
2
1
44
43
42
41
40
26
25
24
23
22
21
20
19
16
15
14
13
12
11
10
9
PD7
PC5
PC2
PC4
PC3
VCC
1
3
5
7
9
JTAG
2
4
6
8
10
RST
VCC
GND
http://www.olimex.com/dev
COPYRIGHT(C), 2005
Rev. C
AVR-M32
PA0
PA1
PA2
PA3
PA4
PA5
PA6
PA7
AREF
AGND
AVCC
PC7
PC6
PC5
PC4
PC3
PC2
PC1
PC0
PD7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
40
SCHEMATIC
BOARD LAYOUT
POWER SUPPLY CIRCUIT
The board is power supplied from header connector (1-20) pin 10 and pin 11 with
5V DC.
RESET CIRCUIT
AVR-M32 reset circuit is made with RC group (R1 and C1) and includes pin 6 of
JTAG connector, pin 9 of header connector (1-20), and ATmega32 pin 4.
JUMPER DESCRIPTION
There are no jumpers on this board.
CONNECTOR DESCRIPTIONS
JTAG
Pin #
Signal Name
1
PC2
2
GND
3
PC4
4
+5V
5
PC3
6
RST
7
+5V
8
NC
9
PC5
10
GND
Page9
HEADER CONNECTOR (1-20)
Pin #
Signal Name
Pin #
Signal Name
1
PB0
2
PB1
3
PB2
4
PB3
5
PB4
6
PB5
7
PB6
8
PB7
9
RST
10
+5V
11
GND
12
XTAL2
13
XTAL1
14
PD0
15
PD1
16
PD2
17
PD3
18
PD4
19
PD5
20
PD6
HEADER CONNECTOR (21-40)
Pin #
Signal Name
Pin #
Signal Name
21
PD7
22
PC0
23
PC1
24
PC2
25
PC3
26
PC4
27
PC5
28
PC6
29
PC7
30
AVCC
31
AGND
32
AREF
33
PA7
34
PA6
35
PA5
36
PA4
37
PA3
38
PA2
39
PA1
40
PA0
Page10
MECHANICAL DIMENSIONS
All measures are in Inches.
Page11
AVAILABLE DEMO SOFTWARE
n. a.
Page12
ORDER CODE
AVR-M32 – Fully assembled and tested with ATmega32-16AC microcontroller
How to order?
You can order to us directly or by any of our distributors.
Check our web www.olimex.com/dev for more info.
Revision history:
REV. C
- create January 2005
Page13
Disclaimer:
© 2009 Olimex Ltd. All rights reserved. Olimex®, logo and combinations thereof, are registered trademarks of
Olimex Ltd. Other terms and product names may be trademarks of others.
The information in this document is provided in connection with Olimex products. No license, express or implied
or otherwise, to any intellectual property right is granted by this document or in connection with the sale of
Olimex products.
Neither the whole nor any part of the information contained in or the product described in this document may be
adapted or reproduced in any material from except with the prior written permission of the copyright holder.
The product described in this document is subject to continuous development and improvements. All particulars
of the product and its use contained in this document are given by OLIMEX in good faith. However all warranties
implied or expressed including but not limited to implied warranties of merchantability or fitness for purpose are
excluded.
This document is intended only to assist the reader in the use of the product. OLIMEX Ltd. shall not be liable for
any loss or damage arising from the use of any information in this document or any error or omission in such
information or any incorrect use of the product.
Page14
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertisement