AVR-TLCD-128CAN development board
Users Manual
Rev.A, July 2008
Copyright(c) 2008, OLIMEX Ltd, All rights reserved
INTRODUCTION:
AVR-TLCD-128CAN adds cool LCD and touchscreen interface to your next
project. There is AT90CAN128 on board with all microcontroller pins
available for plug-in additional boards
BOARD FEATURES:
−
−
−
−
−
−
−
−
−
−
−
−
−
MCU:
AT90CAN128
128KB Flash memory, 4096B RAM, 4096B
EEPROM
TOUCH SCREEN LCD 160x160 dots B/W 81x60 mm view area
Stainless steel front panel (102x85 mm 4x3.35'') with easy to mount x4
3 mm fixing screws
JTAG connector for programming and debugging with AVR-JTAG-L or
AVR-JTAG-USB
ICSP connector for programming with AVR-PG1 or AVR-GP2
SD/MMC card connector
CAN driver and connector
UEXT connector for connection to other Olimex modules like MOD-MP3,
MOD-NRF24Lx, MOD-GPS and many others
8 MHz crystal
Extension connectors for all AT90CAN128 ports
+(4.5–6.0) battery connector
PCB: FR-4, 1.5 mm (0,062''), soldermask, silkscreen component print
Dimensions 102x85 mm (4 x 3.35")
ELECTROSTATIC WARNING:
The AVR-TLCD-128CAN 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:
1.8 meter USB A-B cable to connect AVR-JTAG-USB to USB
host on PC. If you use AVR-JTAG(-L) or AVR-PG1, you will
need RS232 cable. If you use AVR-PG2 you will need LPC
cable. Other cables might be required in case of other
programming/debugging tools.
Programmer/Debugger –
AVR-JTAG(-L), AVR-JTAG-USB,
AVR-PG1, AVR-PG2
or 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/
. For programming with
AVR-PG1 you could use
PonyProg
and for programming with
AVR-PG2 you could use
PonyProg, AVR Dude
or other
compatible tools.
Hardware:
Software:
PROCESSOR FEATURES:
AVR-TLCD-128CAN
board use MCU
AT90CAN128
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
Selectable Boot Size: 1K Bytes, 2K Bytes, 4K Bytes or 8K
Bytes
o
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 (AT90CAN32/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 & Fuse Bits
- Extensive On-chip Debug Support
CAN Controller 2.0A & 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 & 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
o
32Khz Oscillator for RTC Operation
- Dual 16-bit Synchronous Timer/Counters-1 & 3
o
10-bit Prescaler
o
Input Capture with Noise Canceler
o
External Event Counter
o
3-Output Compare or 16-Bit PWM Output
o
Output Compare Modulation
- 8-channel, 10-bit SAR ADC
o
8 Single-ended 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
& Standby
- Software Selectable Clock Frequency
- Global Pull-up Disable
I/O and Packages
- 53 Programmable I/O Lines
- 64-lead TQFP 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
o