EasyManua.ls Logo

Atmel ATmega168 User Manual

Atmel ATmega168
16 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #2 background image
ATmega168 Xplained Mini User Guide [USER GUIDE]
42250A-MCU-02/2014
2
Table of Contents
Introduction .................................................................................... 1
1. Getting Started ........................................................................ 3
1.1. Features .............................................................................. 3
1.2. Design Documentation and Related Links .................................. 3
1.3. Board Assembly .................................................................... 3
1.3.1. In Customer Development Assembly ............................. 3
1.3.2. Connecting an Arduino Shield ..................................... 3
1.3.3. Standalone Node ...................................................... 3
1.4. Connecting the Kit ................................................................. 3
1.4.1. Atmel Studio ............................................................ 3
1.4.2. Connect the ATmega168 UART to the mEBDG COM
Port ........................................................................ 3
1.5. Programming and Debugging .................................................. 3
1.5.1. Programming the Target Using mEDBG ......................... 3
1.5.2. Debugging the Target Using mEDBG ............................ 4
1.5.3. Programming the Target Using an External
Programmer ............................................................. 4
1.5.4. Programming the ATmega32U4 Using an External
Programmer ............................................................. 5
1.5.5. Bootloader ............................................................... 5
1.5.6. How to Install the "Bootloader PC tool" .......................... 6
1.6. Available Example Code ......................................................... 9
2. Hardware User Guide ........................................................... 10
2.1. Board Overview .................................................................. 10
2.2. Clock Distribution ................................................................. 10
2.3. Headers and Connectors ...................................................... 10
2.3.1. JTAG (J100) ........................................................... 10
2.3.2. USB (J101) ............................................................ 11
2.3.3. USART (J102) ........................................................ 11
2.3.4. ATmega168 Digital I/O (J200 and J201) ....................... 11
2.3.5. ATmega168 Analogue I/O (J203) ................................ 12
2.3.6. Power (J202) .......................................................... 12
2.3.7. ATmega168 ISP (J204) ............................................ 12
2.4. Board GUI .......................................................................... 13
2.4.1. LEDs ..................................................................... 13
2.4.2. Button ................................................................... 13
2.5. Factory Programmed Data .................................................... 13
3. Document Revision History ................................................... 14
Question and Answer IconNeed help?

Do you have a question about the Atmel ATmega168 and is the answer not in the manual?

Atmel ATmega168 Specifications

General IconGeneral
ArchitectureAVR
CPU8-bit AVR
Flash Memory16 KB
SRAM1 KB
EEPROM512 Bytes
Operating Voltage1.8 - 5.5 V
Digital I/O Pins23
PWM Channels6
ADC Channels8
Timers3
Clock Speed20 MHz
CategoryMicrocontroller
CoreAVR
Bit Size8-bit
Communication InterfacesUSART, SPI, I2C
PackageTQFP
ManufacturerMicrochip Technology

Summary

Getting Started

Features

Overview of the ATmega168 Xplained Mini evaluation board's capabilities.

Design Documentation and Related Links

Links to relevant documents and software for the evaluation board.

Board Assembly

Information on how to assemble the Xplained Mini board for various uses.

Connecting the Kit

Instructions on how to connect the evaluation board.

Atmel Studio

Guide to connecting the ATmega168 Xplained Mini to Atmel Studio.

Connect the ATmega168 UART to the mEBDG COM Port

Steps to connect the ATmega168 UART to the PC via mEBDG COM port.

Programming and Debugging

Guidance on how to program and debug the Xplained Mini board.

Programming the Target Using mEDBG

Instructions for programming the ATmega168 via the SPI bus using mEDBG.

Debugging the Target Using mEDBG

Steps for debugging the ATmega168 using the onboard mEDBG debugger.

Programming the Target Using an External Programmer

How to program the ATmega168 using external AVR programmers like JTAGICE.

Programming the ATmega32U4 Using an External Programmer

Instructions for programming the ATmega32U4 with external programmers.

Bootloader

Guide on how to use the bootloader to program the ATmega32U4.

How to Install the "Bootloader PC tool"

Steps to download and install the FLIP tool for bootloader programming.

Available Example Code

Information on the demo program and source code availability.

Hardware User Guide

Board Overview

Visual overview of the ATmega168 Xplained Mini board and its components.

Clock Distribution

Details on the clock sources and distribution for the ATmega32U4 and ATmega168.

Headers and Connectors

Description of the various headers and connectors on the board.

JTAG (J100)

Details about the JTAG programming header (J100).

USB (J101)

Information on the USB 2.0 connector (J101) for PC connection.

USART (J102)

Details on the UART signals available on the J102 connector.

ATmega168 Digital I/O (J200 and J201)

Mapping of ATmega168 digital I/O pins to connectors J200 and J201.

ATmega168 Analogue I/O (J203)

Details on the ATmega168 analogue I/O pins accessible via J203.

Power (J202)

Information regarding VCC and RESET signals available on J202.

ATmega168 ISP (J204)

Details on the ISP connector (J204) for programming and SPI connection.

Board GUI

Overview of the Graphical User Interface elements on the board.

LEDS

Description of the LEDs (D100, D200) and their functions.

Button

Information about the user-accessible button (SW200) and its function.

Factory Programmed Data

Details about the preprogrammed demo program and mEDBG firmware.

Document Revision History

Related product manuals