background image

 

AVR364 

8377B-AVR-11/11 

4 Connectors 

The Atmel MEGA-1284P Xplained kit has five 10-pin, 100mil headers. Two headers 
have a fixed communication interface (J1 and J4). One header has analog 
functionality (J2), and the last header (J3) has general purpose digital I/O. 

The 90° angled header is thdebugging header. 

For the location of the respective headers, refer to 

Figure 3-1

4.1 Programming headers 

The 

programming/debugging tool to the JTAG pin header. The pin header has a standard 
JTAG programmer pin-out (refer to online help in the 

), enabling 

tools like thedirectly to the header. 

The grey, female, 10-pin header on th must be used when 

connecting to the kit. A scoring in the board is made to fit the orientation tab on 
the header. 

A standoff adapter (nr. 1) is needed when using th 

Pin 1 on the JTAG header is at the top right corner. This is rotated 180° 
compared to the other headers (J1, J2, J3, and J4). 

Table 4-1. 

MEGA-1284P Xplained programming and debugging interface – JTAG. 

Pin JTAG 

(1)

 

1 TCK 

2 GND 

3 TDO 

4 VCC 

5 TMS 

6 nSRST 

7 - 

8 - 

9 TDI 

10 GND 

Note: 

1.  Standard pin-ou and other Atmel programming tools 

The 

loader is evoked by shorting the two holes marked 

BOOTLOADER BOARD 

CONTROLLER

 on the bottom side of the board before applying power to the board. 

The two holes have 100mil spacing, enabling the user to solder in a two-pin header 
and use a jumper to easily enter the boot loader. Programming is performed through 
the boot loader programmer targ

Alternatively, the 

programming tool, such as the 

, to the 10 holes marked 

JTAG 

BOARD CONTROLLER

 on the bottom side of the board. The holes have 100mil 

spacing, letting the user solder in a 10-pin header to program the board controller.

 

Summary of Contents for AVR364

Page 1: ...y Atmel AT45DB series DataFlash serial flash Atmel AT25DF series industrial standard serial data flash Touch One Atmel QTouch button 1 Introduction The Atmel MEGA 1284P Xplained evaluation kit is a hardware platform for evaluating the ATmega1284P MCU The kit offers a large range of features that enable the megaAVR user to get started using megaAVR peripherals right away and to get an understanding...

Page 2: ...ng tool http atmel com dyn products tools_card asp tool_id 3891 category_id 163 family _id 607 subfamily_id 760 Atmel AVR JTAGICE mkII on chip programming and debugging tool http atmel com dyn products tools_card asp tool_id 3353 category_id 163 family _id 607 subfamily_id 760 Atmel AVR ONE on chip programming and debugging tool http atmel com dyn products tools_card asp tool_id 4279 category_id 1...

Page 3: ...visions of the product For earlier revisions please refer to the schematics which is the only documentation available for these revisions The Atmel MEGA 1284P Xplained kit is intended to demonstrate the ATmega1284P and the hardware that relates to the Atmel AT32UC3B1256 board controller is therefore not covered in detail in this document Figure 3 1 Overview of the MEGA 1284P Xplained kit ...

Page 4: ...example of how to use the light sensor to dim the four onboard LEDs It also includes a boot loader AVROSP which allows the user to reprogram the ATmega1284P without using an external programmer Please refer to the Atmel application note AVR370 MEGA 1284P Xplained Getting Started Guide for more details regarding the preprogrammed firmware The preprogrammed AT32UC3B1256 firmware offers features such...

Page 5: ...asurement header is the only connection between the VCC_P3V3 common power plane and the VCC_MCU_P3V3 power plane By replacing the jumper with an ammeter it is possible to determine the ATmega1284P current consumption To locate the power measurement header please refer to Figure 3 1 Do not power the board without having the jumper or an ammeter mounted If this is done the board might be powered thr...

Page 6: ...ndoff adapter nr 1 is needed when using the AVR ONE Pin 1 on the JTAG header is at the top right corner This is rotated 180 compared to the other headers J1 J2 J3 and J4 Table 4 1 MEGA 1284P Xplained programming and debugging interface JTAG Pin JTAG 1 1 TCK 2 GND 3 TDO 4 VCC 5 TMS 6 nSRST 7 8 9 TDI 10 GND Note 1 Standard pin out for the AVR JTAGICE mkII and other Atmel programming tools The Atmel ...

Page 7: ...TWI SCL PC0 Header J4 board controller 3 USART RXD0 PD0 Header J4 4 USART TXD0 PD1 Header J4 5 SPI SS 1 PB4 Board controller 6 SPI MOSI 1 PB5 Header J4 DataFlash board controller 7 SPI MISO 1 PB6 Header J4 DataFlash board controller 8 SPI SCK 1 PB7 Header J4 DataFlash board controller 9 GND 10 VCC_P3V3 Note 1 These signals can be disconnected from the board controller by cutting the cut straps mar...

Page 8: ...tom side of the board 2 Pin 10 of header J3 is connected to the USB voltage VCC_P5V0 Table 4 5 MEGA 1284P Xplained I O expansion header J4 Pin J4 ATmega1284P pin Shared with onboard functionality 1 TWI SDA PC1 Header J1 board controller 2 TWI SCL PC0 Header J1 board controller 3 USART RXD1 PD2 Board controller 4 USART TXD1 PD3 Board controller 5 SPI SS1 PD4 Header J3 GPIO4 DataFlash 6 SPI MOSI 1 P...

Page 9: ...ietary serial DataFlash device The footprints share the same SPI lines including the chip select and it is therefore not possible to mount devices on both footprints at the same time Table 5 1 Compatible devices for the footprints Atmel AT45DB Atmel AT25DF AT45DB64D2 CNU AT25DF641A SH AT45DB321D MWU AT25DF321A SH AT45DB161D SS AT25DF161 SH AT45DB081D SS AT25DF081 SSH AT45DB041D SS AT25DF021 SSH AT...

Page 10: ...ff any button press will light up the LED The Atmel MEGA 1284P Xplained also has one dual LED mounted near the USB connector This is the power and status LED which is connected to the board controller This LED will be green when power is applied and will toggle between green and orange when communication over USB is ongoing 6 3 Analog I O An RC filter a light sensor and an NTC are connected to ADC...

Page 11: ...2 ATmega1284P and board controller communication interface Interface ATmega1284P pin Atmel AT32UC3B1256 pin UART RX 1 PD2 PA24 UART TX 1 PD3 PA23 TWI SCL PC0 PA09 TWI SDA PC1 PA10 SPI SS 2 PB4 PA16 SPI MOSI 2 PB5 PA14 SPI MISO 2 PB6 PA25 SPI SCK 2 PB7 PA17 Notes 1 This represents the RX and TX on the ATmega1284P The RX is connected to TX on the other device and vice versa 2 These signals can be di...

Page 12: ...te AVR370 MEGA 1284P Xplained Getting Started Guide 8 Revision history The kit revision can be identified by a barcode sticker on the bottom side of the kit For example A09 1164 4 indicates that the product number for this kit is A09 1164 and the revision is 4 8 1 Revision 4 Revision 4 of the MEGA 1284P Xplained kit is the first revision released ...

Page 13: ...ty and liability for proper and safe handling of the goods Further the user indemnifies Atmel from all claims arising from the handling or use of the goods Due to the open construction of the product it is the user s responsibility to take any and all appropriate precautions with regard to electrostatic discharge and any other technical or legal concerns EXCEPT TO THE EXTENT OF THE INDEMNITY SET F...

Page 14: ...r consumption 5 3 4 Communication through the USART to USB gateway 5 4 Connectors 6 4 1 Programming headers 6 4 2 I O expansion headers 7 5 Memories 9 6 Miscellaneous I O 10 6 1 Mechanical buttons 10 6 2 LEDs 10 6 3 Analog I O 10 6 4 Touch 10 6 5 Board controller 11 7 Included code example 12 8 Revision history 12 8 1 Revision 3 12 9 EVALUATION BOARD KIT IMPORTANT NOTICE 13 10 Table of contents 14...

Page 15: ... 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 CONSEQUE...

Reviews: