background image

 

ATmega168PB Xplained Mini User Guide [USER GUIDE]

42381A-MCU-10/2014

14

Pin Name

Typical µC

signal

Typical

grid

pin

Extension signal description

10

SPI_SS_B/

GPIO

 

 

Slave select for SPI and/or general purpose I/O. Wake up

interrupt to RF extension (SLP_TR).

11

TWI_SDA

PC4/SDA

M6 to

Q12

Data line for two-wire interface.

12

TWI_SCL

PC5/SCL

M9 to

R12

Clock line for two-wire interface.

13

USART_RX

PD0/RXD

L6 to

A12

USART Input Pin from extension board, remove R107 if

used.

14

USART_TX

PD1/TXD

L9 to

B12

USART Output Pin to extension board, remove R108 if

used.

15

SPI_SS_A

PB2/SS

K6 to

K5.5

Slave select for Serial peripheral interface.

16

SPI_MOSI

PB3/MOSI

K9 to

K10

Master out slave in line 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

GND

Ground.

20

VCC

 

I9 to

VCC

Power for extension board.

A number of Xplained PRO Extensions can be found at 

http://www.atmel.com/products/microcontrollers/avr/

xplainedpro

.

Using Pin 11 to 20 enables connection of the 10-pin connector used on the RZ600 wireless modules and the

10-pin Xplained sensor modules.

2.4

Board GUI

2.4.1

LEDs

There are One LED available for use by the application SW and one for the mEDBG.

Table 2-13. LEDs

LED

Function

D100 - Green

mEDBG, will light during enumeration.

D200 -

Yellow

ATmega168PB pin 17 - PB5, also connected to mEDBG SCK for ISP programming, in 3-

state when not used by the ATmega32U4.

.

2.4.2

Button

A button is available for general use by application SW.

Содержание ATmega168PB Xplained Mini

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Отзывы: