IC MCU 128K 6MHZ A/D IT 64TQFP

ATMEGA103-6AI

Manufacturer Part NumberATMEGA103-6AI
DescriptionIC MCU 128K 6MHZ A/D IT 64TQFP
ManufacturerAtmel
SeriesAVR® ATmega
ATMEGA103-6AI datasheets
 


Specifications of ATMEGA103-6AI

Core ProcessorAVRCore Size8-Bit
Speed6MHzConnectivitySPI, UART/USART
PeripheralsPOR, PWM, WDTNumber Of I /o32
Program Memory Size128KB (64K x 16)Program Memory TypeFLASH
Eeprom Size4K x 8Ram Size4K x 8
Voltage - Supply (vcc/vdd)4 V ~ 5.5 VData ConvertersA/D 8x10b
Oscillator TypeInternalOperating Temperature-40°C ~ 85°C
Package / Case64-TQFP, 64-VQFPFor Use WithATSTK501 - ADAPTER KIT FOR 64PIN AVR MCU
Lead Free Status / RoHS StatusContains lead / RoHS non-compliant  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
Page 111
112
Page 112
113
Page 113
114
Page 114
115
Page 115
116
Page 116
117
Page 117
118
Page 118
119
Page 119
120
Page 120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
Page 113/141

Download datasheet (3Mb)Embed
PrevNext
Serial Downloading
Serial Programming
Algorithm
0945I–AVR–02/07
Both the Flash and EEPROM memory arrays can be programmed using the serial inter-
face while RESET is pulled to GND, or when PEN is low during Power-on Reset. The
serial interface consists of pins SCK, RXD/PDI (input) and TXD/PDO (output). After
RESET is set low, the Programming Enable instruction needs to be executed first before
program/erase instructions can be executed.
For the EEPROM, an auto-erase cycle is provided within the self-timed Write instruction
and there is no need to first execute the Chip Erase instruction. The Chip Erase instruc-
tion turns the content of every memory location in both the Program and EEPROM
arrays into $FF.
The Program and EEPROM memory arrays have separate address spaces: $0000 to
$FFFF for Program memory and $0000 to $0FFF for EEPROM memory.
Either an external clock is supplied at pin XTAL1 or a crystal needs to be connected
across pins XTAL1 and XTAL2. The minimum low and high periods for the serial clock
(SCK) input are defined as follows:
Low: > 2 XTAL1 clock cycles
High: > 2 XTAL1 clock cycles
Figure 77. Serial Programming
INSTR. IN
DATA OUT
CLOCK IN
Note:
Instruction in and data out is not using the SPI pins as on other AVR devices. SCK uses
the SPI pin as usual.
When writing serial data to the ATmega103(L), data is sampled by the ATmega
103/103L on the rising edge of SCK. When reading data from the ATmega103(L), data
is clocked on the falling edge of SCK. See Figure 78 for an explanation. To program and
verify the ATmega103(L) in the Serial Programming mode, the following sequence is
recommended (See 4-byte instruction formats in Table 44.):
1. Power-up sequence: Apply power between V
are set to “0”. The RESET signal must be kept low during the complete serial
programming session. If a crystal is not connected across pins XTAL1 and
XTAL2, apply a clock signal to the XTAL1 pin. In some systems, the programmer
cannot guarantee that SCK is held low during Power-up. In this case, RESET
must be given a positive pulse of at least two XTAL1 cycles duration after SCK
has been set to “0”.
ATmega103(L)
ATmega103(L)
VCC
PE0 (PD1/RXD)
PE1 (PD0/TXD)
PB1 (SCK)
XTAL1
RESET
GND
and GND while RESET and SCK
CC
113