Home
AVR-CAN development board
Contents
1. 52 02 21 3 21 3 2 725 2 a 92 21 3 2 1 3 21 3 2 97 21 3 8 5 ZT Z1X3 1 amp 1 6 1 3 5 55 87 21 3 93978117950 5 01 11 3 E 3d 1NI a 20 5 E 11 3 ST 2 TE T1X3 204 294 5 ZT T1X3 TT Gas Sag 672 2042 402 62 1 cat T TLX3 TE 82 1 0 bud ake ST TLX3 22 1 3 09 ta 9Z T1X3 209 29 91 22501 2 1 3 peor ae 2 3 1915 19 138388 677155 nst ns Veo 1 nee 9020 2 TLX3 92 8 e 055 inota 2 NIZL 10021 NITL LAOTL JONES 06 31022 2712 00006015 744473 1992440 BOARD LAYOUT button extension sv ae creat gs 4 gt 09 ante a Cops CS aL Rev A TION EpaurEr E N P 97 24 ie 21 523
2. AVR CAN development board Users Manual Rev A July 2008 Copyright c 2008 OLIMEX Ltd All rights reserved INTRODUCTION AVR CAN is inexpensive way to learn AT9O0CAN128 microcontroller from Atmel It s in very compact form 60x55mm and the presence of both CAN and RS232 allows the customer to make a bridge between UART and CAN networks All AVR pins are available on extension connectors and the board can be easily a snap on prototype or other mother board where additional circuits are built BOARD FEATURES MCU 9 128 128Kb Flash 4Kb EEPROM 4Kb SRAM 52 GPIO 32 working registers a CAN controller Real Time Clock four Timer Counters with PWM 2 UARTs Two wire Serial Interface an 8 channel 10 bit ADC Watchdog Timer SPI serial port JTAG interface five selectable power saving modes 5 2 JTAG connector for programming and debugging with AVR JTAG L or AVR JTAG USB 6232 DB9 female connector and driver controller and interface User button Status LED 16 MHz oscillator circuit 32768 Hz oscillator circuit Reset button and circuit board voltage regulator 5V Power supply LED Power supply connector Extension pin headers for every uC pin FR 4 1 5 mm 0 062 green soldermask white silkscreen component print Dimension 60 50 mm 2 36x1 96 ELECTROSTATIC WARNING The AVR CAN board is shipped in protective anti static packaging The bo
3. Section Flash end Data Memory 32 Registers 0 0000 0 001 64 I O Registers 0 0020 0 005 0 0060 OxOOFF ISRAM start ISRAM end XMem start SCHEMATIC NAQ WOD XAWT10 7 dL LH aNngy a 6 BIN 2 20619 22 1 9144903 gk 2 3 33809 22 ENT N 2 65 yaon T1X3 239 101 2909 amp 2 1 t Z1X3 930700179300 55 ii 22 T1x3 YN 6 21 3 moroa 8 21 3 21 3 55 30743171309 52 Si 02 71 3 85 21 3 2 55 6T TLX3 ing 9 Z1X3 gt ng ZE Z1X3 23 2909 8 er 21 3 21 3 OSIW Ead Tad TO 2T TLX3 gt 21 3 a 21 9220 8 038 0909 9T TLX3 1 19 E Z1X3 62 21 3 12 21 aar 2 82 21 3 8730 98 204 01 6 21 3 24 T Z1X3 l 22 21 3 120 9820 484 a Z Z1X3 ou GOd THOX NYSKL 2 21 3 4 5 22 21 3 9 TLX4 TT Z1X3 0d 1NI TOXL 1 Ast 3 4 gt 21 21 3 ZOd ZLNI TOXY ma bz Z1x3 21 3
4. 2 42 2 5 6 6 181650 POWER SUPPLY CIRCUIT Power should be applied to CON2PV2 2 5MM connector AVR CAN could be powered by applying up to 9VDC 5 to 9 VDC to EXT1 1 and EXT1 2 and GND to EXT1 3 and EXT1 4 or if you supply 5 to 9 VDC to CON2PV2 2 5MM 2 VIN and GND to CON2PV2 2 5MM pin 1 The consumption of AVR CAN is about 40 50 mA RESET CIRCUIT AVR CAN reset circuit is made with R6 10k pull up button RST and the voltage supervisory device MCP120 T which on RST button pressed resets the 9 128 CLOCK CIRCUIT Quartz crystal 16 MHz is connected to AT9OCAN128 pin 24 XTAL1 and 23 XTAL2 Quartz crystal 32 768 kHz is connected to 90 128 pin 19 TOSC1 PG4 and pin 18 TOSC2 PG3 and supplies the internal Asynchronous Timer Counter Timer Counter2 asynchronous operation JUMPER DESCRIPTION CAN_D CAN Disable If this jumper is closed the CAN is disabled Default state is open _ This jumper assures correct work of the CAN At each end of the bus it should be closed This means that if you have only two devices with CAN the jumpers of both devices should be closed If you have more than two devices only the two end devices should be closed Default state is closed AVREF_E This jumper when closed supplies reference to A
5. VREF If jumper is open the desired reference voltage should be applied at EXT2 3 Default state is open INPUT OUTPUT Status LED red with name STAT connected to 9 128 pin 6 OC3B INT4 PE4 Power on LED red with name PWR_LED this LED shows that 5V is applied to the board User button with name BUT connected to AT9OCAN128 pin 7 OC3C INTS PES Reset button with name RST connected to AT9OCAN128 20 RESET EXTERNAL CONNECTORS DESCRIPTION TAG Signal 1 3 5 7 9 TDI Input Test Data In This is the serial data input for the shift register TDO 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 JTAG is used to to program and debug the MCU 5232 Signal Name RXDO TXDO NC not connected through R14 to pin 6 NC not connected through R14 to 4 NC not connected through R13 to pin 8 NC not connected through R13 to pin 7 C TXDO OutputTransmit Data This is the asynchronous serial data output RS232 for the shift register on the UART controller RXDO Inp
6. ard 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 Hardware Software 5232 cable in case you want to use the RS232 and or interface You might need other cables depending on the programming debugging tool you use Programmer Debugger AVR JTAG L AVR JTAG USB other compatible programming debugging tool AVR Studio 4 13 or later WinAVR latest version or IAR AVR AVR Studio and WinAVR are free to download and use Take a note that AVR Studio 4 13 has a bug and doesn t read the fuses correctly On our request to Atmel support they had confirmed the bug and had suggested to fix the bug by AVR Studio 4 13 SP2 JTAGICE Fix available from http www atmel no beta_ware PROCESSOR FEATURES AVR CAN board use MCU 9 128 from Atmel with these features High performance Low power AVR 8 bit Microcontroller 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 o Endurance 10 000 Write Erase Cycles Optional Boot Code Section with Independent Lock Bits o Sel
7. ectable Boot Size 1K Bytes 2K Bytes 4K Bytes or 8K Bytes In System Programming by On Chip Boot Program CAN UART o True Read While Write Operation 4K Bytes EEPROM Endurance 100 000 Write Erase Cycles 4K Bytes Internal SRAM 2 64 128 Up to 64K Bytes Optional External Memory Space Programming Lock for Software Security 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 o 10 bit Prescaler o External Event Counter o Output Compare or 8 bit PWM Output 8 bit Asynchronous Timer Counter 2 o 10 bit Prescaler o External Event Counter o Output Compare or 8 Bit PWM Output 32Khz Oscillator for RTC Operation Dual 16 bit Synchronous Timer Counters 1 amp 3 o 10 bit Prescaler o Input Capture with Noise Canceler o External Event Counter 3 Output Compare 16 Bit PWM Output o Output Compare Modulation 8 channel 10 bit SAR ADC o 8 Single e
8. k our web www olimex com dev_ for more info Pote Geen AJ boards produced by Olimex are RoHS compliant Revision history REV A created July 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
9. nded Channels o 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 o Programming Flash Hardware ISP Special Microcontroller Features Power on Reset and Programmable 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 I O and Packages 53 Programmable I O Lines 64 lead and 64 lead QFN 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 BLOCK DIAGRAM BOUNDARY SCAN PROGRAMMING LOGIC PORTF DRIVERS HIP DEBUG DATA DIR REG PORTF INSTRUCTION REGISTER DATA DIR REG PORTE PORTE DRIVERS PAT PAD PORTA DRIVERS DATA REGISTER DATA DIR PORTA REG PORTA STATUS REGISTER DATA REGISTER PORTB DATA DIR REG PORTB PORTS DRIVERS 8 DATA BUS DATAREGISTER PORTD PORTC DRIVERS DATA REGISTER DATA DIR PORTC REG PORTC INTERFACE DATA DIR REG PORTD PORTD DRIVERS WO WIRE SERIAL PORTG DRIVERS Program Memory 0x0000 Boot Flash
10. ut Receive Data This is the asynchronous serial data input RS232 for the shift register on the UART controller CAN CANL CANH either deferential input or differential output depending on the function of the MCP2551 CAN controller receiving or transmitting data PWR 1 2 Signal VIN Voltage you should supply 9 VDC EXT1 ewer ww ADC3 PF3 ADC4 TCK PF4 ADC5 TMS PF5 ADC6 TDO PF6 2 ADC7 TDI PF7 2 EXT2 246 8 10 12 14 16 18 20 22 24 26 28 30 32 34 2 ee TO PD7 RXCAN T1 PD6 TXCAN XCK1 P5 ICP1 PD4 TXD1 INT3 PD3 RXD1 INT2 PD2 SDA INT1 PD1 SCL INTO PDO PB7 OCOA OC1C PB6 OC1B MECHANICAL DIMENSIONS 49 84 mm 200000 10000 10 525205222255 0 00 Q 6 measures mm AVAILABLE DEMO SOFTWARE You could download AVR CAN software form www olimex com dev AVR CAN Blinking LED demo code source and HEX AVR CAN Button read demo code source and HEX AVR CAN RS232 demo code source and HEX ORDER CODE AVR CAN assembled and tested no kit no soldering required How to order You can order to us directly or by any of our distributors Chec
Download Pdf Manuals
Related Search
Related Contents
Gainward 4260183361367 GeForce GTS 450 1GB graphics card Operating Instructions DVD Recorder Model No. DMR Untitled - Lidl Service Website Manual de instrucciones Copyright © All rights reserved.
Failed to retrieve file