ATAVRSB202 Atmel, ATAVRSB202 Datasheet - Page 266

no-image

ATAVRSB202

Manufacturer Part Number
ATAVRSB202
Description
KIT BATT MGMT FOR ATMEGA32HVB
Manufacturer
Atmel
Datasheets

Specifications of ATAVRSB202

Main Purpose
*
Embedded
*
Utilized Ic / Part
*
Primary Attributes
*
Secondary Attributes
*
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
38. Errata
38.1
38.1.1
38.1.2
38.2
38.2.1
38.2.2
8042B–AVR–06/10
ATmega16HVB
ATmega32HVB
Rev. B
Rev. A
Rev. B
Rev. A
Stack Pointer initial value
The stack pointer in ATmega16HVB is incorrectly initialized to 0x08ff instead of 0x04ff.
TWI bus can get stuck if TWI STOP condition bit is set in slave mode
If the TWSTO bit in TWCR is set while the TWI starts to receive data in slave mode, it can result
in pulling the SCL pin low and then the TWI bus will get stuck. To release the SCL pin and get
out of this situation the TWI module needs to be disabled and then re-enabled.
Not sampled.
No known errata.
Not sampled.
Problem Fix/Workaround
Initialize the stack pointer in software before the stack is used. Most C-compilers does initial-
ize the stack pointer without manual intervention.
Assembly Code Example:
ldi r16,high(RAMEND) ; Main program start out SPH,r16 ; Set Stack Pointer to top of RAM
ldi r16,low(RAMEND) out SPL,r16 C Code Example (if required): SP = RAMEND;
Problem Fix/Workaround
While in slave mode the TWSTO bit should be written only to recover from an error condition
and then cleared before a data transfer starts.
ATmega16HVB/32HVB
266

Related parts for ATAVRSB202