background image

Atmel Corporation

1600 Technology Drive, San Jose, CA 95110 USA

T: 

(+1)(408) 441.0311

F: 

(+1)(408) 436.4200

|

www.atmel.com

© 2014 Atmel Corporation. / Rev.: 42381A-MCU-10/2014

Atmel

®

, Atmel logo and combinations thereof, Enabling Unlimited Possibilities

®

, AVR

®

, and others are registered trademarks or trademarks of Atmel Corporation in

U.S. and other countries. Other terms and product names may be trademarks of others.

DISCLAIMER: The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or otherwise, to any intellectual property right is granted

by this document or in connection with the sale of Atmel products. EXCEPT AS SET FORTH IN THE ATMEL TERMS AND CONDITIONS OF SALES LOCATED ON THE ATMEL WEBSITE,

ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY WARRANTY RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED

TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT,

INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL OR INCIDENTAL DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS AND PROFITS, BUSINESS INTERRUPTION,

OR LOSS OF INFORMATION) ARISING OUT OF THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF ATMEL HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

Atmel makes no representations or warranties with respect to the accuracy or completeness of the contents of this document and reserves the right to make changes to specifications and products

descriptions at any time without notice. Atmel does not make any commitment to update the information contained herein. Unless specifically provided otherwise, Atmel products are not suitable

for, and shall not be used in, automotive applications. Atmel products are not intended, authorized, or warranted for use as components in applications intended to support or sustain life.

SAFETY-CRITICAL, MILITARY, AND AUTOMOTIVE APPLICATIONS DISCLAIMER: Atmel products are not designed for and will not be used in connection with any applications where the failure

of such products would reasonably be expected to result in significant personal injury or death (“Safety-Critical Applications”) without an Atmel officer's specific written consent. Safety-Critical

Applications include, without limitation, life support devices and systems, equipment or systems for the operation of nuclear facilities and weapons systems. Atmel products are not designed

nor intended for use in military or aerospace applications or environments unless specifically designated by Atmel as military- grade. Atmel products are not designed nor intended for use in

automotive applications unless specifically designated by Atmel as automotive-grade.

Summary of Contents for ATmega168PB Xplained Mini

Page 1: ...d The ATmega168PB Xplained Mini evaluation kit is a hardware platform to evaluate the Atmel ATmega168PB microcontroller The evaluation kit comes with a fully integrated debugger that provides seamless...

Page 2: ...Using mEDBG 4 1 5 3 Programming the Target Using an External Programmer 5 1 5 4 Programming the ATmega32U4 Using an External Programmer 5 1 5 5 Programming the ATmega32U4 Using a Bootloader 6 1 5 6 H...

Page 3: ...ositions J200 J201 J202 and J203 Arduino shields can be mounted 1 3 3 Standalone Node The ATmega168PB Xplained Mini board can be used as a standalone node use the 4xAAA or 2xAAA battery pack available...

Page 4: ...W_1C00 BOOTRST RSTDISBL DWEN SPIEN X WDTON EESAVE BODLEVEL DISABLE CKDIV8 CKOUT SUT_CKSEL EXTCLK_6CK_14CK_65MS Note If any other cpu clk than the external clk supplied by the mEDBG is used the debugWI...

Page 5: ...ing a debugging session because the RESET line is actively used by the debugWIRE interface 1 5 3 Programming the Target Using an External Programmer How to program the target ATmega168PB using the AVR...

Page 6: ...Note CKOUT must be enabled the provide clock to the target 1 5 5 Programming the ATmega32U4 Using a Bootloader This section describes how to use the bootloader to program the ATmega32U4 1 Install the...

Page 7: ...6 Available Example Code The ATmega168PB is preprogrammed with a demo program ReMorse Source code is available in Atmel Spaces 3 When the CDC COM port is connected to a terminal window the text you wr...

Page 8: ...ATmega168PB Xplained Mini User Guide USER GUIDE 42381A MCU 10 2014 8 Any Morse code transmitted by using the switch will be displayed as text in the terminal window...

Page 9: ...n The ATmega32U4 mEDBG has an external 16MHz XTAL The ATmega32U4 provides an external 16MHz clock to the ATmega168PB target 2 3 Headers and Connectors The board headers and connectors 2 3 1 JTAG J100...

Page 10: ...ailable on J104 USART header The mEDBG CDC COM port is connected to these signals Table 2 3 J104 USART Header J104 pin ATmega32U4 ATmega168PB Function 1 UART TXD PD3 PD1 TxD from ATmega32U4 2 UART RXD...

Page 11: ...er system Table 2 7 J202 Power Header J202 pin Signal Description 1 NC 2 VCC_TARGET ATmega168PB supply voltage 3 RESET_SENSE RESET from external source monitored by the mEDBG if pulled low the target...

Page 12: ...Board Power Supply Selection J301 pin Signal Description 1 VCC_P5V0 Board external power source as selected by J300 by default connected to VCC_BOARD via R301 2 VCC_BOARD Power supply for ATmega32U4...

Page 13: ...can be found in the selected Extension board documentation Table 2 12 Xplained Pro Extension Header Pin Name Typical C signal Typical grid pin Extension signal description 1 ID NC Communication line t...

Page 14: ...of Serial peripheral interface 17 SPI_MISO PB4 MISO J6 to J5 5 Master in slave out line of Serial peripheral interface 18 SPI_SCK PB5 SCK J9 to J10 Clock for Serial peripheral interface 19 GND I6 to G...

Page 15: ...ATmega168PB pin SW200 User defined high signal press to ground negate 8 PB7 2 5 Factory Programmed Data The ATmega168PB Xplained Mini board comes with a demo program preprogrammed in the ATmega168PB F...

Page 16: ...ATmega168PB Xplained Mini User Guide USER GUIDE 42381A MCU 10 2014 16 3 Document Revision History Document revision Date Comment 42381A 10 2014 Initial document release...

Page 17: ...EN IF ATMEL HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES Atmel makes no representations or warranties with respect to the accuracy or completeness of the contents of this document and reserves...

Reviews: