ATMEGA103-6AI Atmel, ATMEGA103-6AI Datasheet - Page 2

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

ATMEGA103-6AI

Manufacturer Part Number
ATMEGA103-6AI
Description
IC MCU 128K 6MHZ A/D IT 64TQFP
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheets

Specifications of ATMEGA103-6AI

Core Processor
AVR
Core Size
8-Bit
Speed
6MHz
Connectivity
SPI, UART/USART
Peripherals
POR, PWM, WDT
Number Of I /o
32
Program Memory Size
128KB (64K x 16)
Program Memory Type
FLASH
Eeprom Size
4K x 8
Ram Size
4K x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
64-TQFP, 64-VQFP
For Use With
ATSTK501 - ADAPTER KIT FOR 64PIN AVR MCU
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATMEGA103-6AI
Manufacturer:
ATMEL
Quantity:
586
Part Number:
ATMEGA103-6AI
Manufacturer:
Atmel
Quantity:
10 000
9. Wrong Clearing of EXTRF in MCUSR
8. Reset during EEPROM Write
7. SPI Interrupt Flag Can be Undefined after Reset
6. Skip Instruction with Interrupts
5. Signature Bytes
2
The EXTRF flag in MCUSR will be cleared when clearing the PORF-flag. The flag does not get cleared by writing a “0”
to it.
Problem Fix/Workaround
Finish the test of both flags before clearing any of them. Clear both flags simultaneously by writing “0” to both PORF
and EXTRF in MCUCR.
If reset is activated during EEPROM write, the result is not what should be expected. The EEPROM write cycle com-
pletes as normal, but the address registers are reset to 0. The result is that both the address written and address 0 in
the EEPROM can be corrupted.
Problem Fix/Workaround
Avoid using address 0 for storage, unless you can guarantee that you will not get a reset during EEPROM write.
In certain cases when there are transitions on the SCK pin during reset, or the SCK pin is left unconnected, the start-up
value of the SPI interrupt flag is unknown. If the flag is not reset before enabling the SPI interrupt, a pending SPI inter-
rupt may be executed.
Problem Fix/Workaround
Clear the SPI interrupt flag before enabling the interrupt.
A skip instruction (SBRS, SBRC, SBIS, SBIC, CPSE) that skips a two-word instruction needs three clock cycles. If an
interrupt occurs during the first or second clock cycle of this skip instruction, the return address will not be stored cor-
rectly on the stack. In this situation, the address of the second word in the two-word instruction is stored. This means
that on return from interrupt, the second word of the two-word command will be decoded and executed as an instruc-
tion. The ATmega103 has four two-word instructions: LDS, STS, JMP, and CALL.
Notes:
1. This can only occur if all of the following conditions are true:
2. This will only cause problems if the address of the following LDS or STS command points to an address beyond
Problem Fix/Workaround
For assembly program, avoid skipping a two-word instruction if interrupts are enabled.
The following C-compilers handles this sequence correctly:
- IAR Compiler, version 1.40b or higher
- Image Craft compiler, all versions
- Codevision Compiler, version 1.0.0.5 or higher
The signature bytes of the first few lots of the ATmega103 have been shipped with wrong signature bytes. Also in the
datasheet, the wrong signature bytes have been given. The correct signature bytes are: $1E $97 $01.
Problem Fix/Workaround
Programmers must allow both $1E $97 $01 and $1E $01 $01 as valid signature bytes.
- A skip instruction is followed by a two-word instruction.
- The skip instruction is actually skipping the two-word instruction.
- Interrupts are enabled, and at least one interrupt source can generate an interrupt.
- An interrupt arrives in the first or second cycle of the skip instruction.
400 Hex.
ATmega103(L) Errata
1436C–09/01

Related parts for ATMEGA103-6AI