Home
AVR-H128-CAN
Contents
1. CONTROL LINES STATUS REGISTER EEPROM USARTO USART1 TWO WIRE SERIAL INTERFACE PEO PB7 PBO Pages PD7 PDO PG4 PGO DATA DIR REG PORTG MEMORY Program Memory 0x0000 Flash end Data Memory Data Memory 0x0000 0x0020 0x005F 0x0060 ISRAM start Internal SRAM ISRAM size ISRAM end XMem start External SRAM XMem size SCHEMATIC FPWR E jd 1N4148 78 05 T ICSP 6 GND P RESET RI i jos Sui T 1 4 7K L 5V s 1 2 EDO 3 1 RESET TMS 5 6 RESET Ci XTAL1 2 20pF ait X 16 000MHz 20pF E i 0 E 20pF TOSC1 19 rosca 16 AD2 PA2 E T AD3 PA3 E PEO AD4 PA4 oe BAG e AD5 PA5 PAG 5V 6 6 GND PES BIO AD7 PA7 a PCO TDO NT A8 PCO PC TMS BET 1 2 SES 10 2 PC3 PF3 PDO A11 PC3 PCA PF2 e 12 5 PF1 em PD2 13 5 PC6 PFO ey PD3 28 A14 PC6 AREF A15 PC7 GND 5 PD4 OC2 PB7 PB6 OC1B PB6 PBS CON3 CON2 PFO OC1A PB5 PB4 WR 1 OC0 PB4 I Rb TOSC
2. AVR H128 CAN development board Users Manual Petree Geen boards produced by Olimex are ROHS compliant Rev A January 2005 Copyright c 2009 OLIMEX Ltd All rights reserved Pagel INTRODUCTION AVR H128 CAN is inexpensive way to develop and prototype circuits with AT90CAN128 without need to deal with SMD soldering All microcontroller pins are available on extension header with 0 1 and power supply oscillators ICSP JTAG are wired so all you need to do is to connect your additional components to the AVR ports as the step is 0 1 these headers perfectly fit the prototype sea of pad boards with 0 1 step BOARD FEATURES AT9IODCAN128 16AU microcontroller with 128KB Flash 4KB RAM 4KB EEPROM CAN controller 5 5x2 pin connector for in circuit programming with AVR PG1 or AVR PG2 or STK500 compatible programmer 5x2 pin connector for in circuit debugging with AVR JTAG L AVR JTAG USB 16MHz scillator circuit 82768 Hz oscillator circuit Reset IC ZM33064 5V voltage regulator LM78L05 power supply filtering capacitors extension pin headers for each uC pin 4 1 5 mm 0 062 green soldermask white silkscreen component print dimensions 47x47 mm 1 85x1 85 ELECTROSTATIC WARNING AVR H128 CAN board is shipped in protective anti static packaging The board must not be subject to high electrostatic potentials General practice for working with static sensitiv
3. TAG Pagell CONI 12345267 8 9 10 11 12 13 14 15 16 CON2 17 18 19 20 21 Pin Signal Name Pin Signal Name 1 PEN 2 PEO 3 1 4 5 6 7 PES 8 PE6 9 PE7 10 PBO 11 1 12 PB2 13 PB3 14 PB4 15 PBS 16 PB6 22 23 24 25 26 27 28 29 30 31 32 Pin Signal Name Pin Signal Name 17 PB7 18 TOSC2 19 TOSC1 20 RESET 21 5V 22 GND 23 XTAL2 24 25 PDO 26 PD1 27 PD2 28 PD3 29 PD4 30 PD5 31 PD6 32 PD7 Page12 CON3 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 Pin Signal Name Pin Signal Name 33 WR 34 RD 35 PCO 36 37 2 38 39 40 5 41 PC6 42 PC7 43 ALE 44 PA7 45 PA6 46 PAS 47 PA4 48 CON4 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 Pin Signal Name Pin Signal Name 49 PA2 50 PA1 51 PAO 52 5V 53 GND 54 TDI 55 TDO 56 TMS 57 TCK 58 PF3 59 PF2 60 PF1 61 PFO 62 AREF 63 GND 64 5V POWER CONNECTOR Pin Signal Name 1 2 GND Page13 MECHANICAL DIMENSIONS 46 84 mm 92 929 99858982 50 ATmega128 HEADER BOARD 51 COPYRIGHT C 2005 OLIMEX LTD 0 00 mm 0 00 mm Page14 AVAILABLE DEMO SOFTWARE Blinking LED C source for WinAVR UART initiali
4. 2 MSO PB3 2 ol MOSFPB2 PB1 PC1 4 RESET SCK PB1 es SS PBO 5 6 GND TMS 5 XTAL2 TDO 5V TDI ALE C5 8 XIALA ae PDO RD WR 1K PC7 10 WR PEN 11 zs 12 ae 100n ze 14 PA GN pu 15 PD ATMEGA128CAN COPYRIGHT C 2005 http www olimex com dev Page8 BOARD LAYOUT CF 2708 4 UNE NE GERE NEUE ND Ett 5e Tmegal28 HEADER BOARD 31 F 51 copvhIGHT C 20e5 oLinEX LTD 3917 7162 UT TPs OLIMEX COM DEU B T at Quartz crystal gt J 41111 S j Q PORAAREEREBRRERE X LCSP 1 35 8 JE E M gp CON1 Page9 POWER SUPPLY CIRCUIT The board is power supplied from POWER connector pin 1 and pin 2 with 9 12 V DC RESET CIRCUIT AVR H128 CAN reset circuit includes pin 6 of JTAG connector pin 5 of ICSP connector Extension connector CON2 pin 4 and AT90CAN128 pin 20 CLOCK CIRCUIT Quartz crystal 16MHz is connected to ATIOCAN128 pin 23 XTAL2 and pin 24 XTAL1 Quartz crystal 32kHz is connected to AT90CAN128 pin 18 TOSC2 and 19 TOSC1 JUMPER DESCRIPTION EPWR Enable target power supply 10 CONNECTOR DESCRIPTIONS
5. e 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 or 1 you will need RS232 if you use AVR USB JTAG or AVR ISP500 TINY ISO you will need 1 8 m A B USB cable if you use AVR 2 you will need LPT cable Hardware One of OLIMEX Programmers Debuggers AVR JTAG AVR USB AVR ISP500 AVR ISP500 TINY AVR ISP500 ISO AVR PG1 AVR PG2 Software AVR C compiler Page2 PROCESSOR FEATURES AVR H128 CAN board use High performance Low power AVR 8 bit Microcontroller ATIOCAN128 from Atmel Corporation with these features Advanced RISC Architecture 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 Non volatile 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 Selectable Boot Size 1K Bytes 2K Bytes 4K Bytes or 8K Bytes In System Programming by On Chip Boot Program CAN UART True Read While Write Operation 4K Bytes EEPROM Endurance 100 000 Write Erase Cycles Bytes Internal SRAM Up to 64K Bytes Optional External Memory Space Programming Lock for Software S
6. ecurity JTAG IEEE std 1149 1 Compliant Interface Boundary scan Capabilities According to the JTAG Standard Programming Flash Hardware ISP EEPROM Lock amp Fuse Bits Extensive On chip Debug Support CAN Controller 2 0A amp 2 0B ISO 16845 Certified 15 Full Message Objects with Separate Identifier Tags and Masks Transmit Receive Automatic Reply and Frame Buffer Receive Modes 1Mbits s Maximum Transfer Rate at 8 MHz Time stamping TTC amp Listening Mode Spying or Autobaud Peripheral Features Programmable Watchdog Timer with On chip Oscillator 8 bit Synchronous Timer Counter 0 10 bit Prescaler External Event Counter Output Compare or 8 bit PWM Output Page3 8 bit Asynchronous Timer Counter 2 10 bit Prescaler External Event Counter Output Compare or 8 Bit PWM Output 32Khz Oscillator for RTC Operation Dual 16 bit Synchronous Timer Counters 1 amp 10 bit Prescaler Input Capture with Noise Canceler External Event Counter 3 Compare or 16 Bit PWM Output Output Compare Modulation 8 channel 10 bit SAR ADC 8Single ended Channels 7 Differential Channels 2 Differential Channels With Programmable Gain at 1x 10x or 200x On chip Analog Comparator Byte oriented Two wire Serial Interface Dual Programmable Serial USART Master Slave SPI Serial Interface Programming Flash Hardware ISP Special Microcontroller Features Power on Reset and P
7. rising from the use of any information in this document or any error or omission in such information or any incorrect use of the product 17
8. rogrammable Brown out Detection Internal Calibrated RC Oscillator 8 External Interrupt Sources 5 Sleep Modes Idle ADC Noise Reduction Power save Power down amp Standby Software Selectable Clock Frequency Global Pull up Disable Operating Voltages 2 7 5 5V Operating temperature Industrial 40 C to 85 C Maximum Frequency 8 MHz at 2 7V 16 MHz at 4 5V 53 Programmable I O Lines Page4 BLOCK DIAGRAM Hi PFO i 1 1 DRIVERS pe Hil lH DATA REGISTER DATA DIR PORTF REG PORTF dm AVCC AGND Ape AREF JTAG TAP PAO PORTA DRIVERS DATA REGISTER PORTA POR BOD RESET DATA DIR REG PORTA 8 BIT DATA BUS PC7 PCO amp x PORTC DRIVERS DATA REGISTER DATA DIR PORTC REG PORTC XTAL2 RESET PROGRAM COUNTER ON CHIP DEBUG BOUNDARY SCAN PROGRAMMING LOGIC PROGRAM FLASH INSTRUCTION REGISTER STACK POINTER GENERAL PURPOSE REGISTERS INTERNAL OSCILLATOR WATCHDOG TIMER CONTROLLER MCU CONTROL REGISTER gt TIMING AND CONTROL TIMER COUNTERS INTERRUPT 4 UNIT lt
9. zation C source for WinAVR 15 ORDER CODE AVR H128 CAN assembled and tested board includes 90 128 16 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 A create January 2005 16 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 a
Download Pdf Manuals
Related Search
AVR H128 CAN
Related Contents
Samsung F2380 Felhasználói kézikönyv Miia Phone 4,7” Altavoz Inalámbrico para Interiores/Exteriores Samsung WB210 Felhasználói kézikönyv Folleto - Marine Vision SL Audiovox VM9114 Owner's Manual Garmin nuvi 1350 Declaration of Conformity HP 2000 C2N21UA notebook American Standard One 2064.451 User's Manual Copyright © All rights reserved.
Failed to retrieve file