
6
AVR481
The dataflash is connected to the mega1281’s USART0, which can operate in SPI
master mode. The USART0 SPI master communication uses port E, pins 0 to 2. Port
G, pin 5, is used as Chip Select (Slave Select) for the dataflash.
The dataflash is programmed through the mega1281. Please refer to the application
note AVR482 for more information.
2.8 Programming and debugging interface
The mega1281 can be programmed using either the JTAG or ISP interface.
JTAG programming and debugging can be performed by connecting a JTAGICE mkII
to the 90 degrees pin header J101.
ISP programming can be performed by connecting an ISP enabled AVR programming
tool to the 90 degrees pin header J100. AVR tools like STK500, AVRISP mkII, AVR
Dragon and JTAGICE mkII can be used for this.
Figure 2-6. Pin headers for JTAG (J100) and SPI programming (J101).
2.9 Real time clock
A 32kHz crystal is connected to the asynchronous timer of the mega1281. This allows
an application to implement a real time clock (RTC) to keep track of time though sleep
modes are used to reduce the power consumption.
2.10 GPIO pins
The mega1281 is a high pin count device, and a number of pins are not used. These
are available along the lower edge of the PCB. Be aware that these do NOT have
level converters and should thus not be connected directly to an application board
running on a different voltage level than the DB101.
Table 2-1
. Mapping of available IO pins on PCB connectors.
ATmega1281 port pin PCB connection
PORTB5 J103
PORTB6 J104
PORTD5 J108
PORTD6 J107
PORTD7 J105
PORTC2 J106
8073B-AVR-09/07
Kommentare zu diesen Handbüchern