Home

AVR-MT-128 User Manual

image

Contents

1. 128 development board Users Manual Rev A July 2008 Copyright c 2008 OLIMEX Ltd All rights reserved INTRODUCTION AVR MT128 is simple but powerful board which uses the MCU 128 from Atmel With its LCD buttons relay and variety of interfaces such as RS232 two variants 4 pins and DB9 JTAG ISCP Dallas etc this board is suitable for different embedded systems applications BOARD FEATURES MCU ATMegal128 16AI with128K Bytes Program Flash Bytes data EEPROM 4K Bytes RAM JTAG connector for in circuit programming and debugging with AVR JTAG ICSP 5x2 10 pin STKxxx compatible connector for in circuit programming with AVR PG1B or AVR PG2B 65232 connector with TTL levels 65232 interface circuit with Tx Rx signals RS232 DB9 female connector Dallas touch button port Frequency input LCD 16x2 display Status LED Five buttons Buzzer Power supply circuit 5V 78105 with plug in power jack and diode bridge 32 768 Hz oscillator crystal 16 MHz crystal oscillator Power supply filtering capacitor RESET supervisor ZM33064 RELAY with 10A 250VAC NO and NC contacts with screw terminals Extension headers for unused in the schematic ports available for external connection PCB FR 4 1 5 mm 0 062 green soldermask white silkscreen component print Four mounting holes mm 0 13 Dimensions 120x38 mm 4 7x1 5 ELECTROSTATIC
2. PB PDO Pad Data Memory Program Memory Memory Configuration A Memory Configuration B 0000 0000 001F 0000 001F 0020 005F 0020 005F 0060 00FF 0060 Intemal 4000 x 8 Application Flash Section 0FFF 1000 Boot Flash Section FFFF BOARD LAYOUT RELAY COPYRILHT C 2003 NI 9 IL B 1 919 4 CIE ETE DI h r REL CI 1 HY Feeceecereaeangar HHH OLIMEX COM DEU Toner I 4290 PWR JTAG ADC EXT 1 SCHEMATIC AN PWR 2 12VDC 9VAC AVR MI 128 COPYRIGHT C 2008 OLIMEXLTD HTTP WWW OLIMEX COM DEV 5V C5 Dol 4 Q2 23 16MHz i 22p Q1 5 32768Hz P 2 XCKO AINO OC3A AIN1 OC3B INT4 OC3C INT5 T3 INT6 IC3 INT7 m nid SCL INTO SDA INT1 28 RXD 2 TXD 9 2d J XCK1 30 3 T1 31 5VA 2 R5 BC856 1 10K DB9 RS232 1 4148 mm C7 10uF 25VDC 5V R9 4 7K D10 R3 R15 R16 R17 R8 eer 22K 22K 22K 22K 22K DALLAS DALLAS B1 B2 B3 B4 B5 1 e 2 HI sH sH SHI H 2 5 1 ey 100n C10 SDA INT 1 SCL INTO 100n IC3 INT7 T3 INT6 N U2 OC3C INT5 OC
3. extension EXIT s s em s mmm EXT2 s e see s m PWR You should apply 9 VAC or 12VDC on pin 1 MECHANICAL DIMENSIONS SS gat l g S n N D SP fos N d QR COIN 00 a an idi maze Oo 2 d 8 PYRIGHT lt C gt 2883 g _ O I e N N D N QN 9 E e N N N o N e 0M 6665 2 4092 m 32 13 mm eh juoogoonooooooo A aS FN 28 58 mm e gt 02 1384 21 59 ar TISSUE 3x O O 02 15 24 mm T i E Tera EP d 5 0 Quit 22855888 8555555 10055000 AEA mI OO S48 O 0 00 mm ERGA ERSA OOOOOO Ec gt E aiti 0 00 6 99 32 38 mm 48 90 23 03 83 19 mm 92 84 mm 93 34 measures mm AVAILABLE DEMO SOFTWARE Check for available demo software for AVR MT128 on our website www olimex com dev ORDER CODE AVR MTT128 assembled and tested no kit no soldering required 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 Petes Sen All boards produced by Olimex are
4. ROHS compliant Revision history REV A created September 2008 Disclaimer 2008 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
5. WARNING The AVR MT128 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 RS232 straight male to female cable Note this is not a null modem cable Hardware Programmer AVR PG1 AVR PG2 AVR ISP500 AVR ISP500 TINY AVR ISP500 ISO or other compatible tool Debugger AVR JTAG AVR JTAG USB or other compatible tool Software AVR Studio WinAVR free compiler and debugger be downloaded at avrfreaks org web site IAR IW for AVR is a commercial software for development of embedded systems software PROCESSOR FEATURES AVR MT128 uses 128 MCU from Atmel with the following features High performance Low power AVR 8 bit Microcontroller Advanced RISC Architecture O O O 9 133 Powerful Instructions Most Single Clock Cycle Execution 32 x 8 General Purpose Working Registers Peripheral Control Registers Fully Static Operation Up to 16 MIPS Throughput at 16 MHz On chip 2 cycle Multiplier Nonvolatile Program and Data Memories 128K Bytes of In System Reprogrammable Flash Endurance 10 000 Write Erase Cycles Optional Boot Code Section with Independent Lock Bits In System Programming by On chip Boot Program True Read While Write Operation 4K Bytes EEPROM Endurance 100 000 Write Erase Cycles 4K Bytes Internal SRAM Up t
6. 3B INT4 RESET OC3A AIN1 XCKO AINO XTAL1 XTAL2 bi Bi P BI mp TOSC2 PG3 a LCD PA3 AD3 a7 B5 10K RXDO PDIPEO PA4 ADA DL TXDO PDO PE1 PA5 AD5 5 PALLAS XCKO AINO PE2 L4 PAT ADT OC3A AIN1 PE3 PA7 AD7 OC3B INT4 PE4 bo RS OC3C INT5 PE5 TUNTOES 10 PC3 A11 PC3 A11 Bo pa SCL INTO PDO 12 SDA INT1 PD1 13 MENS RXD1 INT2 PD2 EEN TXD1 INT3 PD3 PC7 A15 2 __ 07 __ IC1 PD4 XCK1 PD5 47 OC2 OC1C T1 PD6 PB7 OC2 OC1C T2 PD7 PB6 OC1B 15 OCIA ADOO PFO 13 5 ADC1 PF1 5 MOSI ADC2 PF2 SE ADC3 PF3 10 EXI2 ADCA TCK PFA PA7 AD7 43 PC3 A11 ADC5 TMS PF5 2 1 12 11 ADC6 TDO PF6 ADCTITDIPET 43 PG2 ALE 9 7 PG1 RD MISO 8 7 33 PGO WR SS 6 5 PG2 ALE 1 5V PGIRD 4 3 PGO WR AV REF R4 2 1 10K 5V 128 12 REL CON LED 3 gt x D12 R10 REL 1N4004 T3 R11 RELAY 5V T BC846 4K D13 1N4148 cue R19 22K 1N4148 100K POWER SUPPLY CIRCUIT The power supply of AVR MT128 is taken from Power jack connector You should apply 9 VAC or 12 VDC at the positive central pin The consumption of the board is about 30 mA RESET CIRCUIT AVR MT128 reset circuit is made with ZM33064 with typical threshold 4 5V When the voltage falls bellow that m
7. DO OutputTest Data Out This is the serial data output for the shift register Data is shifted out of the device on the negative edge of the TCK signal TMS Input Test Mode Select The TMS pin selects the next state in the TAP state machine TCK Input Test Clock This allows shifting of the data in on the TMS and TDI pins It is a positive edge triggered clock with the TMS and TCK signals that define the internal state of the device ICSP INIT gt 17 3 5 7 9 This connector allows programming via 1 AVR PG2 or other compatible tool PDI Input Program Data In This pin is serial data input for the MCU PDO OutputProgram Data Out This pin is serial data output from the MCU SCK I O Serial Synchronization Clock This is the synchronization signal DB9 RS232 oe S e TXD OutputTransmit Data This is the asynchronous serial data output for the RS232 interface Input Receive Data This is the asynchronous serial data input for the RS232 interface RS232 RELAY CONNECTOR This connector provides the user with access to the contact plates of the relay External input frequency is applied at pin 1 DALLAS 1 2 Signal DALLAS jw Signal from Dallas chips is applied at pin 1 of the Dallas interface ADC Signal 6 5 2 Some of Analog to Digital Converter signals are grouped into
8. d Packages 53 Programmable I O Lines 64 lead TQFP and 64 MLF Operating Voltages 4 5 5 5V for ATmegal28 Speed Grades 0 16 MHz for ATmegal28 BLOCK DIAGRAM du _ 4 PRO PAO PAT PCO 0 E x 5 7T d 1 d d FE T FL TT T To 7777777 P em Q possano nem M VOR I al al i E FETTET Li PORTF DRIVERS PORTA DRIVERS DRIVERS DATA REGISTER DATA DIR DATA REGISTER DATA DIR DATA REGISTER DIR PORTF REG PORTF PORTA REG PORTA PORTE REG POHTC amp BIT DATA BUS __ _ TTE GALIB AGND OSCILLATOR AREF PROGRAM STACK WATCHDOG JTAG COUNTER POINTER TIMER L1 PROGRAM MCU CONTROL TIMINGS AND FLASH REGISTER CONTROL im BOUNDARY INSTRUCTION REGISTER SE COUNTERS REGISTERS PEN a INSTRUCTION 7 INTERRUPT 4 DECODER UNIT E E wd ____ _ von STATUS REGISTER T Aa E DATA DIR DATAREG REG PORTO PORTS PORTE DRIVERS PORTE DRIVERS PORTD DRIVERS PORTS DRIVERS EE LH DATA REGISTER DIA REGISTER DATA DIR REGISTER DATA DIR FORTE REG PORTE PORTE REG PORTE IRTE REG PORTG ANALOG MPARATOR a
9. inimum the MSU resets CLOCK CIRCUIT Quartz crystal 16MHz for maximum performance 15 connected 10 128 23 XTAL2 and pin 24 XTAL1 Additional 32 768 Hz tact generator is connected to ATMegal28 pin 18 TOSC2 PG3 and 19 TOSC1 PG4 and supplies the Real Time Clock JUMPER DESCRIPTION J nan This jumper supplies the input user frequency FREQ to either pin 31 T1 PD6 or pin 32 T2 PD7 When 1 2 is shorted the input frequency pin 1 2 3 is connected to 2 When 2 3 is shorted the input frequency is connected to T1 Default state is 1 2 shorted INPUT OUTPUT Status LED red connected to the relay Relay with name REL connected to 128 pin 45 PA6 AD6 Trimmer LED_TR connected to the LCD Liquid crystal display Buzzer with name BUZZ connected to ATMegal28 pin 6 OC3B INT4 PE4 and pin 7 OC3C INT5 PE 5 User button B1 connected to 128 pin 51 PAO ADO User button B2 connected to 128 pin 50 PA1 AD1 User button connected to 128 pin 49 PA2 AD2 User button B4 connected to 128 pin 48 PA3 AD3 User button B5 connected to ATMegal128 pin 47 PA4 AD4 CONNECTOR DESCRIPTIONS TAG sem se This connector allows programming and debugging via AVR JTAG or other compatible tools TDI Input Test Data In This is the serial data input for the shift register T
10. o 64K Bytes Optional External Memory Space Programming Lock for Software Security SPI Interface for In System Programming JTAG IEEE std 1149 1 Compliant Interface O O e 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 O O Two 8 bit Timer Counters with Separate Prescalers and Compare Modes Two Expanded 16 bit Timer Counters with Separate Prescaler Compare Mode and Capture Mode Real Time Counter with Separate Oscillator Two 8 bit PWM Channels 6 PWM Channels with Programmable Resolution from 2 to 16 Bits Output Compare Modulator 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 Dual Programmable Serial USARTs Master Slave SPI Serial Interface Programmable Watchdog Timer with On chip Oscillator On chip Analog Comparator Special Microcontroller Features O Power on Reset Programmable Brown out Detection Internal Calibrated RC Oscillator External and Internal Interrupt Sources Six Sleep Modes Idle ADC Noise Reduction Power save Power down Standby and Extended Standby o Software Selectable Clock Frequency ATmegal03 Compatibility Mode Selected by a Fuse o Global Pull up Disable I O an

Download Pdf Manuals

image

Related Search

Related Contents

Air King 4CH68G User's Manual  Husky H4430 Installation Guide  Panthers Report H0767 User's Manual  Canon 3170 Series All in One Printer User Manual  Manual de Usuario  huawei g3512 gsm handset product description  Limited Product Warranty  AKG Acoustics CU400 Battery Charger User Manual  OPERADOR E SEGURAN ÇA  

Copyright © All rights reserved.
Failed to retrieve file