ATEVK527 Atmel, ATEVK527 Datasheet - Page 14

no-image

ATEVK527

Manufacturer Part Number
ATEVK527
Description
KIT EVAL PWM AVR USB 4 SERIES
Manufacturer
Atmel
Series
AVR®r
Datasheet

Specifications of ATEVK527

Main Purpose
Power Management, Battery Charger
Embedded
Yes, MCU, 8-Bit
Utilized Ic / Part
ATmega16U4, ATmega32U4
Primary Attributes
1 Cell- Li-Ion
Secondary Attributes
Graphical User Interface, USB Interface
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
4.4.1 Initialize()
4.4.2 BatteryControl()
14
AVR146
State functions are described in the following sections.
The initialisation function is the first state function that will be executed after device
reset. The flow chart of the function is shown in the figure below.
Figure 4-3. Flow chart of initialisation function
The initialisation function always exits with the same return code, pointing to the state
function for battery control.
The battery control function verifies that jumpers are set correctly and then checks to
see if there are any enabled batteries present that require charging. The program flow
is illustrated in the figure below.
Label
PREQUAL
PREQUAL_CTRL
SLEEP
CCURRENT
CCURRENT_CTRL
CVOLTAGE
CVOLTAGE_CTRL
ENDCHARGE
DISCHARGE
ERROR
Related Function
Charge()
Charge()
Charge()
Charge()
Charge()
Charge()
Charge()
Discharge()
Error()
Sleep()
Description
Raise battery voltage, safety check
Waiting end of PREQUAL
Low power consumption mode
Charge with constant current
Waiting end of CCURRENT
Charge with constant voltage
Waiting end of CVOLTAGE
End of successful charge
Go to BATCON state (ready for further
implementation)
Resolve error, if possible
7801A-AVR-06/08

Related parts for ATEVK527