ADUC7033BCPZ-8L Analog Devices Inc, ADUC7033BCPZ-8L Datasheet - Page 70

no-image

ADUC7033BCPZ-8L

Manufacturer Part Number
ADUC7033BCPZ-8L
Description
IC MCU FLASH 96K ANLG I/O 48LFCS
Manufacturer
Analog Devices Inc
Type
Battery Managementr
Datasheets

Specifications of ADUC7033BCPZ-8L

Input Type
Logic
Output Type
Logic
Interface
UART, SPI
Current - Supply
20mA
Mounting Type
Surface Mount
Package / Case
48-LFCSP
For Use With
EVAL-ADUC7033QSPZ - EVAL DEV QUICK START ADUC7033
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
ADuC7033
User code then reads back the value of the low power oscillator
calibration counter. There are three possible scenarios:
When the OSC0TRM is changed, the routine should be run
again and the new frequency checked.
Using the internal, precision 131 kHz oscillator, it takes
approximately 4 ms to execute the calibration routine. If the
external 32.768 kHz crystal is used, the time increases to 16 ms.
Prior to the clock calibration routine being started, it is required
that the user switch to either the precision 131 kHz oscillator or
the external 32.768 kHz watch crystal to serve as the PLL clock
source. If this is not done, the PLL can lose lock each time
OSC0TRM is modified. This increases the length of time it
takes to calibrate the low power oscillator.
OSC0VAL0 = OSC0VAL1. No further action is required.
OSC0VAL0 > OSC0VAL1. The low power oscillator is
running slow. OSC0TRM must be decreased.
OSC0VAL0 < OSC0VAL1. The low power oscillator is
running fast. OSC0TRM must be increased.
OSC0VAL0 < OSC0VAL1
INCREASE
OSC0TRM
Figure 30. OSC0TRM Calibration Routine
NO
OSC0VAL0 = OSC0VAL1
IS ERROR WITHIN
DESIRED LEVEL?
OSC0STA[0] = 1
CALIBRATION
CALIBRATION
ROUTINE
ROUTINE
BEGIN
WHILE
END
YES
OSC0VAL0 > OSC0VAL1
DECREASE
OSC0TRM
Rev. B | Page 70 of 140
OSC0TRM Register
Name:
Address:
Default
Value:
Access:
Function:
Table 47. OSC0TRM MMR Bit Designations
Bit
7 to 4
3 to 0
OSC0CON Register
Name:
Address:
Default
Value:
Access:
Function:
Table 48. OSC0CON MMR Bit Designations
Bit
7 to 5
4
3
2
1
0
OSC0TRM
0xFFFF042C
0xX8
Read/write
This 8-bit register controls the low power
oscillator trim.
Description
Reserved. Should be written as zeros.
User Trim Bits.
OSC0CON
0xFFFF0440
0x00
Read/write
This 8-bit register controls the low power
oscillator calibration routine.
Description
Reserved. Should be written as 0.
Calibration Source.
Set to select external 32.768 kHz crystal.
Cleared to select internal precision 131 kHz
oscillator.
Calibration Reset. Set to reset the calibration
counters and disable the calibration logic.
Set to Clear OSC0VAL1.
Set to Clear OSC0VAL0.
Calibration Enable.
Set to begin calibration.
Cleared to abort calibration.

Related parts for ADUC7033BCPZ-8L