Home

User`s Manual

image

Contents

1. VCC LCD 5 Q 5 5 z X6 a o O 4 BATTERY POWER o 1 lt 3 5 SE vo 3 p 0 88 PC5 AE st 99 5 51 R18 1 re TAL ADO PAO35 ke XTAL2 1 Go 47 54 3 9 8 frosc1 2 RIS 1 10 18 ADAE E DE 2 45 6 5 RXD PEO AD6 PAG 23 8 5 NENE 3 XD PE1 AD7 PA7 44 8 7 Le 5 hC 6 NC 3S R20 HDR 14 INT4 PE4 PCO 7 5 5 ag pc l 36 31 X3 8 47 614 1 2 6 6 10 2 37 24 ytac gt PFS 9 INT7 PE7 39 1 R21 2 X4 HDR 32 E oua A al 4 1 N S 40 T a gt 25 PDO INTO lt A13 PC z 2 id ISP 5 7 PD1 INT1 A14 PCG 75 7 re LS 1 S R10 6 27 PD2 INT2 A15 PC Ve 2 Ni 7 PF6 E 29 PD3 INT3 DDR 8 17 4 30 bps OC2 PB 7 1 D 31 1 16 10 55 HDR 32 4 vcc 15 E 9 HDR 10 oco pB4 14 32 VCC ST MISO PB3 13 Nm 31 i 7 5 60 ADCI PF1 MOS PB2 12 58 ADC2 PF2 SCK PB4 29 12 87 ADC3 PF3 55 0 10 La 27 2 ESO AKT E 27 ADCA PF4 27 IADC5 PF5 Ve 9 VCC Z GND 55 26 y O mm 4 ADC6 PF6 43 47 25 1 RM p 5 ADC7 PF7 78 PD7 o 47uH i ROD SA B 24 3 809 33 8 64 D 23 5 47 n 8 AVCC WD 22 f C11 21 R END 6 62 liyrer 03 La 5 0 1uF 19 5 63 GND 18 7 8 17 PB7 See 16 3 47 4 2K
2. X4 common ports Please note that the ports on the connector are not always numbered in AVRcard User Manual the same direction Table 5 Common Ports Connector Pinout Pin Function I O ESD Internal Connections 1 PC0 A8 i o v X6 11 2 PCI A9 i o Y X6 12 3 PC2 A10 i o Y X6 13 4 PC3 A11 i o Y X6 14 5 PC4 A12 i o Y X6 6 6 PC5 A13 i o Y X6 4 7 PC6 A14 i o Y X6 5 8 PC7 A15 i o Y data direction select for RS 485 9 PA7 AD7 i o Y 10 PAG AD6 i o Y 11 AD5 v 12 PA4 AD4 i o Y 13 PA3 AD3 i o Y 14 PA2 AD2 i o Y 15 1 AD1 i o Y 16 PAO ADO i o Y 17 ALE 18 RD 19 WR o 20 SQW 21 VCC pwr 22 VCC pwr 23 GND pwr 24 GND pwr 25 ADC7 i o Y 26 PF6 ADC6 i o v 27 ADC5 i o Y 28 PF4 ADC4 i o Y 29 ADC3 i o Y 30 ADC2 i o Y 31 PF1 ADC1 i o Y 32 PFO ADCO i o v page 11 19 Rev 1 1a 06 01 2004 www avrcard com Hardware Description X5 common ports Table 6 Common Ports Connector Pinout Pin Function 1 0 ESD Internal Connections 1 PEO RXD i o v 2 PE1 TXD i o Y 3 PE2 AC i o Y 4 PE3 AC i o Y 5 PE4 INT4 i o
3. Some of the ATMEGA128 ports are routed to more than one connector or used internally See chapter Available Connectors The FM24C256 is a 256 kilobit nonvolatile memory employing an advanced ferroelectric process ferroelectric random access memory or FRAM is nonvolatile and performs reads and writes like a RAM It provides reliable data retention for 10 years while eliminating the complexities overhead and system level reliability problems caused by EEPROM and other nonvolatile memories The FM24C256 performs write operations at bus speed No write delays are incurred The next bus cycle may commence immediately without the need for data polling In addition the product offers write endurance orders of magnitude higher than EEPROM Also FRAM exhibits much lower power during writes than EEPROM since write operations do not require an internally elevated power supply voltage for write circuits The DS1307 Serial Real Time Clock is a low power full binary coded decimal BCD clock calendar plus 56 bytes of NV SRAM Address and data are transferred serially via a 2 wire bi directional bus The clock calendar provides seconds minutes hours day date month and year information The end of the month date is automatically adjusted for months with fewer page 7 19 Rev 1 1a 06 01 2004 www avrcard com DC DC Converter RS 232 Driver RS 485 Driver Interfaces I2C Serial Communication AVRcard User Manual Hardware De
4. lt lt DDR gt REV 1 1 DATE 17 01 2003 ENG SK PROJECT AVR CARD VCC COMPANY ESS DEVELOPMENT AG ADDRESS WWW ESS CH CITY WORB COUNTRY SWITZERLAND INITIAL 8 11 2002 PAGE 2 nssnos2 gt Ji Z SP rL ROSES nel 368 F JU g R2 XTAL2 i s i e E perg gt d 2 8 20 EE MN ga 7 za etal 672 e xs o 3 D 25 B STA 20 HEN T s o PAS 18 x u 9 e B et RE 2 IN L2 e Eu n 5 rf 504 1 CD S LZ C4 KE Bill of Materials AVRcard User Manual Table 9 List of Parts Circuit Diagrams Qty DEVICE VALUE Refdes 1 128 24 1 3V 33 1 COIL 22uH L2 1 COIL 47uH Li 1 DS1307 36 1 ELCO 47uF C18 1 FM24C256 21 1 HDR 10 X3 1 HDR_14 X6 1 HDR 3 x1 1 HDR 4 X7 1 HDR 6 2 1 HDR 8 E J8 1 LM4040AIM U2 1 MAX1674 62 1 MAX202 01 1 485 E 55 1 MCP809
5. AVRcard Microcontroller Core Module User Manual Board Rev 1 1 Document Rev 1 1a Revision Date 06 01 2004 www avrcard com Product Overview Contents Section 1 4 Product Overview 4 Key se roe pt am Sn eee 4 Additional Resources uo na aa aa ua a 4 Section 2 5 Getting started 5 Handling Precaution Sissies en tet rer ed Ee 5 System 21 11 rna 5 Quick Start ser 5 Section 3 7 Hardware Description 7 F nctional Blocks uu eco d D o C C E e P 7 CPU 7 FRAM 7 RTC 7 DE DE Converte success ev tt EH Cet eR une 8 RS 232 DFIIVGE ua avstand endast 8 RS 485 Driver aaa on ee Gee Ce o C Gre 8 Interfaces too 8 I2C 8 Serial Communication auununnnnunnuunnnnnnnnnnnnnnnnnnnnnnnnnnnnnee 8 Port Connectors sss HC UH EH 9 Available Connectors 10 X1 battery power ss 10 X2 ISP 10 X3 JTAG11 common POMS reet ee lan 11 X5 COMMON POMS merkes eee rigen 12 X6 LCD 12 5485 nn anne e a C C C C 13 JUMPErS vate ele tte ua e eate ee datae Q waq hu ie a hh dtu 13 JT Select pates toe cedi RA elses 13 ADC reference voltage ss 14 Section 4 15 Programming 15 Programining ied MP e ER krenkes 15 Section 5 16 AVRcard User Manual page
6. 17 1 POT METER 10k R1 1 RESISTOR 100K R11 1 RESISTOR 1 0 R9 1 RESISTOR 4k7 R6 1 XTAL 16M XTAL1 1 XTAL 32 768KHz XTAL2 11 RARRAY 47 R14 R15 R16 R17 R18 R19 R20 R21 R22 R12 R23 12 CAPACITOR 0 1uF C12 C2 C13 C3 C14 C4 C15 C16 C17 C19 C11 C1 2 CAPACITOR 12pF C5 C6 2 HDR_32 X4 X5 2 RESISTOR 0 13 R24 2 RESISTOR 2k7 R7 R8 4 CAPACITOR 0 1nF C7 C8 C9 C10 5 RESISTOR 120 R2 R3 R4 R5 R10 page 17 19 Rev 1 1a 06 01 2004 www avrcard com Circuit Diagrams RS485 ESD The following circuit is recommended for RS 485 busses that go beyond protection the lab desk AVR CARD RS 466 BUS AVRcard User Manual page 18 19 Rev 1 1a 06 01 2004 www avrcard com Data Sheets Contact AVRcard User Manual ATMEGA128 FM24C256 SE DS1307 MAX202 MAX485 MAX1674 Elektronik Atelier Hans Kallen Steinackerweg 14 CH 3075 R fenacht Switzerland www avrcard com info avrcard com Phone 41 31 832 1441 Fax 41 31 832 1442 References Section 6 References www atmel com www ramtron com www maxim ic com page 19 19 Rev 1 1a 06 01 2004 www avrcard com
7. Y 6 PES INT5 i o Y 7 PE6 INT6 i o v 8 PE7 INT7 i o Y 9 PBO SS i o 10 PB1 SCK i o 11 PB2 MOSI i o 12 PB3 MISO i o 13 PB4 OCO i o Y 14 PB5 OC1A i o Y 15 PB6 OCIB i o Y 16 PB7 OC2 i o Y 17 PDO INTO i o Y SCL on FRAM and RTC 18 PD1 INT1 i o Y SDA on FRAM and RTC 19 PD2 INT2 i o Y 20 PD3 INT3 i o Y 21 PD4 IC1 i o Y 22 PD5 i o Y 23 PD6 T1 i o Y 24 PD7 T2 i o Y 25 VCC pwr 26 VCC VCC pwr 27 GND GND pwr 28 GND GND pwr 29 i 30 2 i Y 31 TX1 Y 32 TX2 Y X6 LCD Table 7 Standard LCD Connector Pinout Pin Function 1 0 ESD Internal Connection 1 GND pwr 2 VCC pwr 3 VO pwr 4 PC5 i o Y X4 6 5 PC6 i o Y X4 7 6 PC4 i o Y X4 5 7 8 9 10 11 PCO i o Y X4 1 12 PC1 i o Y X4 2 13 PC2 i o Y X4 3 14 PC3 i o Y X4 4 AVRcard User Manual page 12 19 Rev 1 1a 06 01 2004 www avrcard com X7 RS485 Jumpers RX1 select J1 RX TX select AVRcard User Manual Hardware Description Table 8 RS 485 Connector Pinout Pin Function I O ESD prot Description 1 GND no 2 B no 3 A no 4 x no 1200 bus termination resistor Bus can be terminated by placing a bridge on external connector pin4 to pin 2 at far end node Jumpers are installed on the AVRcard to select the different possible combinations of serial transmission and reception supplied by the two UARTs on the ATmega128 RS 232 RS 485 and serial port with TTL level
8. 2 19 Rev 1 1a 06 01 2004 www avrcard com Author Keywords Product Overview Circuit Diagrams 16 Bill of Materials nme mense nnn 17 RS485 ESD 0 04 2 22 4 0 18 Section 6 19 References 19 Data SECTS EO 19 CohtaCcE oec mE dh eddie 19 Figures Figure 1 Functional Blocks of the AVRcard 7 Figure 2 Header dimensions 9 Figure 3 Available Connectors enne 10 Figure 4 Serial Port Configuration Jumpers 13 Figure 5 Location of ADC Reference Voltage Regulator 14 Tables Table 1 Commands of the preloaded terminal monitor 6 Table 2 Battery Connector nennen nn 10 Table 3 ISP Connector Pinout sise 10 Table 4 JTAG Connector Pinout ss 11 Table 5 Common Ports Connector Pinout 6 11 Table 6 Common Ports Connector Pinout 1 12 Table 7 Standard LCD Connector 0 2 12 Table 8 RS 485 Connector Pinout Rss 13 Table 9 List 1 66 66 17 Hans Kallen AVRcard ATmega128 prototyping RS 485 LCD FM24C256 This document is originally distributed by AVRcard com and may be dist
9. 7 aT 15 5 6 14 7 8 gt 27 PDO 24 13 s L x 12 lt 5 R9 11 amp LE gt 10 PB0 9 6 E 9 4 R16 2 PE7 7 SQW 8 3 4 7 6 8 1 Ri7 2 al 36 DS1307 IN 5 PROJECT AVR CARD ES 33 3V 5 3 47 Mee o 5 s COMPANY ESS DEVELOPMENT AG 23 8 END 5 3 ADDRESS WWWESS CH COUNTRY SWITZERLAND END BATT gt BATT 3 3 SELECTION a x a 1674 1 L2 22uH 2 B OUT 3 BI L ILOWBATT lt lt 4 OLBO GN REF SHDN 62 C15 aj 0 1uF ND C16 fo gt VCC 0 1uF 4TuF REV 1 1 DATE 17 01 2003 ENG SK PROJECT AVR CARD COMPANY ESS DEVELOPMENT AG ADDRESS WWW ESS CH CITY WORB COUNTRY SWITZERLAND INITIAL 8 11 2002 PAGE 3 VCC ver vec gt u o GND D GND GND a 0 1uF 0 1uF gt gt T1 OUT lt lt Tri OUT T1 IN T2 OUT p 2 OUT T2 IN lt lt T2 IN R1 IN gt lt lt T1 IN R2 IN gt gt R2 OUT gt gt R1 OUT 0 1nF 0 1nF 0 1nF CN CO st jo C7 x ac a I GND RX TX SELECTOR A lt gt B BX gt
10. age i e LM4040AIM than the internal one you can solder this element manually as needed The footprint of U2 fits to a TO 92 case Figure 5 Location of ADC Reference Voltage Regulator LM4040 orientation top view page 14 19 Rev 1 1a 06 01 2004 www avrcard com Programming Section 4 Programming Programming For programming you can use the ISP connecter as well as the JTAG connector It is advised to refer to datasheets of ATmega128 and your programmer as well as this document for the exact connection method Pin allocation matches ATMEL starter kit programmer as well as ISP JTAG programmers manufactured by e Lab www e Lab de Never use battery power supply while programming The step up convertor can be damaged due reverse current flow as VCC is also provided on programming connectors AVRcard User Manual page 15 19 Rev 1 1a 06 01 2004 www avrcard com AVRcard User Manual Circuit Diagrams Section 5 Circuit Diagrams These diagrams are also availabe as a separate document Main circuit Power Communication Parts Placement page 16 19 Rev 1 1a 06 01 2004 www avrcard com
11. can be selected Jumpers are standard 0 1 Figure 4 Serial Port Configuration Jumpers RX2 select TX2 select 2 RS232 RS485 Serial port 1 can be configured for RS 232 only For serial port 2 RS 232 or RS 485 can be selected RX1 select In transmit direction the TTL signal is routed from the ATMEGA128 to the RS232 transceiver X5 pin31 TX1 as well as to the TTL port X5 pin2 PE1 So that the receive direction signal from the RS232 transceiver X5 pin29 RX1 does not interfere with the TTL port signal X5 pin1 PEO this jumper should be set accordingly jumper on RS232 RX jumper off TTL RX 1 page 13 19 Rev 1 1a 06 01 2004 www avrcard com ADC reference voltage AVRcard User Manual Hardware Description RX2 select In receive direction the serial port 2 can accept it s signal from TTL X5 pin19 PD2 RS232 X5 pin30 RX2 or RS485 X7 inputs 1 RS232 RX jumper off TTL RX jumper left RS232 RX ELE jumper right RS485 RX 1 RS485 RX TX2 select In transmit direction the serial port 2 can be connected to TTL X5 pin10 PD3 RS232 X5 pin32 TX2 or RS485 X7 outputs RS232 and TTL TX jumper off jumper left jumper right TTL TX only RS232 and TTL TX RS485 and TTL TX RS485 TX The 128 provides several internal analog to digital converters Whenever you want to use a more precise or a different reference volt
12. limited allowing it to transmit up to 2 5Mbps These transceivers draw between 120uA and 500uA of supply current when unloaded or fully loaded with disabled drivers The device operates from a single 5V supply Drivers are short circuit current limited and are protected against excessive power dissipation by thermal shutdown circuitry that places the driver outputs into a high impedance state The receiver input has a fail safe feature that guarantees a logic high output if the input is open circuit Internal FRAM and RTC use I2C bus on PDO SCL and PD1 SCA These lines are pulled up to VCC by 2K7 resistors This allows external I2C devices to be attached directly The DS1307 limits bus speed to 100kHz The two serial interfaces of the Atmega128 can be configured in various ways Serial port 1 PEO 1 transmits to TTL and RS 232 simultainously Receives from TTL Serial port 1 receives from RS 232 Serial port 2 PD2 PD3 transmits to TTL and simultainously to RS 232 Serial port 2 transmits to TTL and RS 485 Serial port 2 receives from TTL Serial port 2 receives from RS 232 Serial port 2 receives from RS 485 Note Whenever reception from RS 232 or RS 485 is selected no TTL input signal must be connected to the corresponding pins on the AVRcard as it would interfer with the signal from transceivers Refer to chapter Jumpers page 8 19 Rev 1 1a 06 01 2004 www avrcard com Hardware Description Port C
13. onnectors Connectors have to be soldered onto the AVRcard according to the application s requirements Standard headers grid 0 1 should be used Figure 2 Header dimensions 1 T Pin number 1 is marked on the AVRcard for each connector Pins are numbered as follows 24 Numbering 123 sa 13355 AVRcard User Manual page 9 19 Rev 1 1a 06 01 2004 www avrcard com Hardware Description Available The following connectors are available Connectors Figure 3 Available Connectors m LL X1 battery power X2 ISP in circuit programming X3 JTAG X4 CPU and additional ports X5 CPU and additional ports X6 LCD X7 RS 485 X1 battery power Table 2 Battery Connector Pinout Pin Function Description 1 BATT 2 5V battery power input 2 BATT OV battery GND 3 LOWBATT is pulled low if battery voltage drops below 1 3V X2 I SP Table 3 I SP Connector Pinout Pin Function I O Description 1 PE1 TXD i o 2 VCC pwr 3 PB1 SCK i o 4 PEO RXD i o 5 RST i 6 GND pwr AVRcard User Manual page 10 19 Rev 1 1a 06 01 2004 www avrcard com X3 JTAG Table 4 JTAG Connector Pinout Hardware Description Pin Function I O Description 1 PF5 i o 2 VCC pwr 3 PF4 i o 4 PF7 i o 5 RST i 6 GND pwr 7 PF6 8 not connected 9 not connected 10 not connected
14. ributed reproduced and modified without restrictions Updates and additional design notes can be found at www avrcard com under Resources AVRcard User Manual page 3 19 Rev 1 1a 06 01 2004 www avrcard com Product Overview Section 1 Product Overview The AVRcard has been designed to enable developers to rapidly prototype AVR based applications The board features the most powerful 8 bit RISC CPU to date from Atmel The board has been designed by ESS Development AG It supports rapid development of applications for the ATmega128 8 bit RISC CPU by providing a multitude of useful hardware features Key Features Additional Resources AVRcard User Manual ATmega128 8 bit RISC CPU 32Kbytes 2 wire serial ferromagnetic RAM FM24C256 SE for persistent data storage without backup power 2 wire serial real time clock providing additional square wave output 1 32KHz DS1307 3V lithium battery keeping time and date up to 5 years RS 485 driver for two wire networking up to 1 5 km MAX485 RS 232 driver supporting two serial interfaces MAX202 Step up voltage converter for 2 5V battery power supply or long supply wiring MAX1674 all SMD assembly except analog voltage reference and header connectors which can be soldered manually according to the user s requirements CPU ports routed directly to connectors for unrestricted use ESD protected by series resistors connector for standard LCD with adjustable nega
15. scription than 31 days including corrections for leap year The clock operates in either the 24 hour or 12 hour format with AM PM indicator The DS1307 has a built in power sense circuit that detects power failures and automatically switches to the battery supply The MAX1674 step up DC DC converter features a built in synchronous rectifier which improves efficiency and reduces size and cost by eliminating the need for an external Schottky diode Quiescent supply current is only 16uA The input voltage ranges from 0 7V to Vout where Vout can be set from 2V to 5 5V Start up is guaranteed from 1 1V inputs The MAX1674 has a preset pin selectable output for 5V or 3 3V On the AVRcard the output voltage is preset to 5V by R13 R24 is omitted Note The MAX1674 may not be reversely fed Therefore never use battery power supply and external supply simultainously The step up converter can be damaged The MAX202E line driver receiver is designed for RS 232 and V 28 communications in harsh environments Each transmitter output and receiver input is protected against 15kV electrostatic discharge ESD shocks without latchup The drivers and receivers meet all EIA TIA 232E and CCITT V 28 specifications at data rates up to 120kbps when loaded in accordance with the EIA TIA 232E specification The MAX485 is a low power transceiver for RS 485 communication Each part contains one driver and one receiver The driver slew rates of the MAX485 is not
16. sted and shipped with the terminal software loaded You can test basic functions of the board by using this preloaded software 1 Connect a regulated 5VDC power supply to the AVRcard 2 Connect a cable for serial communications between the serial port 1 of the AVRcard and your PC Connect these signals to a female 9 pin D Sub connector which plugs into the COM port of your PC as follows Pin 2 TXD1 Pin 3 RXD1 Pin 5 GND 3 Set jumper RX1 select 4 Start your terminal program with the settings 19200 bps 8 bits no parity 1 stop bit no flow control 5 Switch on the power supply The AVRcard will report the command prompt gt Now you can send commands according to the table below Enter Return to get a help text describing all the available commands page 5 19 Rev 1 1a 06 01 2004 www avrcard com Getting started Table 1 Commands of the preloaded terminal monitor ctrl q serial port transparent mode on off show i o port write i o port data direction format cr format virtual disk vref cr set reference voltage for adc AVRcard User Manual page 6 19 Rev 1 1a 06 01 2004 www avrcard com Functional Blocks CPU FRAM RTC AVRcard User Manual Hardware Description Section 3 Hardware Description Figure 1 shows the board and its different functional areas These areas are detailed in the following sections Figure 1 Functional Blocks of the AVRcard
17. tive contrast voltage output ISP connector JTAG connector 5V supply credit card size 87 x 54mm Product Information All updated product information can be retrieved at the Web Site www avrcard com Application Support Please check the Resources pages regularly at www avrcard com for design notes and application hints Further support is available by email from supportQavrcard com Custom Designs Custom versions of the product are available For inquiries please contact info avrcard com page 4 19 Rev 1 1a 06 01 2004 www avrcard com Handling Precautions System Requirements Quick Start AVRcard User Manual Getting started Section 2 Getting started Most of the CPU ports on the AVRcard are protected by series resistors against electrostatic discharge Please note that this is not a 100 protection and does not apply to all port pins Always observe ESD protection standards while working with the board Especially the RS 485 transceiver chip is sensitive to electrostatic discharge Therefore an external protection circuit should be considered in rough environments Refer to chapter RS485 ESD protection Never use battery power supply and external supply simultainously The step up converter can be damaged due to reverse current flow Power Supply 5VDC 10 PC with terminal software 19 200 bit s 8 data bits no parity Cable for serial communications Your AVRcard has been factory te

Download Pdf Manuals

image

Related Search

Related Contents

取扱説明書 エア・カプラー  Manual de instruções  Guia do Usuário do Cliente Linux/Mac do GroupWise 8  nrgMax 9103i V2.0 User's Guide and Manual  Bedienungsanleitung downloaden    rêve et silence  東芝換気扇(ダク トソをきる  FAST LJ150-2 - Ovelha Negra  

Copyright © All rights reserved.
Failed to retrieve file