V3023 EMMICRO [EM Microelectronic - MARIN SA], V3023 Datasheet - Page 12

no-image

V3023

Manufacturer Part Number
V3023
Description
Very Low Power 8-Bit 32 kHz RTC Module with Digital Trimming, User RAM and High Level Integration
Manufacturer
EMMICRO [EM Microelectronic - MARIN SA]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
V3023 28S
Manufacturer:
VISAHY
Quantity:
20 000
The IRQ output is used by 4 of the V3023's features.
These are:
1. Pulse,
2. Alarm to provide an interrupt to the microprocessor at
3. Timer, to provide an interrupt to the microprocessor
4. Frequency
The first 3 features listed are similar in the way they
provide interrupts to the microprocessor. Each o the 3
has an enable / disable bit, a flag bit, and an interrupt
mask bit.
select a feature or not. A set flag bit indicates that an
enable feature has reached its interrupt condition.
Software must clear the flag bit. The interrupt mask bit
allows or disallows the IRQ output to become active
when the flag bit is se. The IRQ output becomes active
whenever any interrupt flag is set which also has its mask
bit set. for all sources of maskable interrupts within the
V3023, the IRQ output will remain active until software
clears the interrupt flag. the IRQ output is the logical OR
of all the unmasked interrupt flags. The IRQ output is
open drain so an external pullup to V
standby ( PF active) the IRQ output will be active if the
alarm mask bit (addr, 01 hex, bit 1) is set and the alarm
flag is also set. The timer or the pulse feature cannot
cause the IRQ output to become active while in standby.
Snychronization
There are 3 ways to synchronize the V3023. It can be
synchronized to 50 Hz, the nearest second, or the nearest
minute. Synchronization mode is selected by setting one
of the bits 5 to 7 at addr. 02 hex, in accordance with Table
8. If more than one bit is set then all the synchronization
bits are disabled. If the SYNC input is set low for longer
than 200 µs, while in the synchronization mode, the clock
will synchronize to the falling edge of the signal.
Synchronization to the nearest second implies that the
1/100 seconds are cleared to zero and if the contents
were > 50, the seconds register is incremented.
Synchronization to the nearest minute implies that the
seconds are cleared to zero and if the contents were > 30,
the minutes register is incremented. Fractions of seconds
are cleared.
Pulse
There are 4 programmable pulse frequencies available on
the V3023, these are every 10 ms, 100 ms, second or
minute. The pulse feature is activated by setting the pulse
enable / disable bit at address 00, bit 1.
frequency is selected by setting one of the bit 0 to 3 at
address 02 hex (see Table 8). If more than one of the
pulse bits is set then the feature is disabled.
selected interval the pulse flag bit (addr. 01 hex, bit 4) is
set. If the pulse mask bit (addr. 01 hex, bit 0) is set then
the IRQ pin goes active.
software the source of the interrupt.
active until software acknowledges the interrupt by
Copyright © 2004, EM Microelectronic-Marin SA
IRQ
microprocessors at pre-programmed intervals;
a pre-programmed time and date;
when the time rolls over from 23:59:59:99 to
00:00:00:00; and
Trimming").
The enable / disable bit allows software to
to
R
provide
trimming
periodic
(see
The pulse flag indicates to
section
interrupts
DD
IRQ will remain
is needed. In
"Frequency
The pulse
to
At the
the
clearing the pulse flag.
while in standby.
feature is enabled if enabled prior to standby. See also
the section "Frequency Tuning".
Note: The user should ensure that a time lapse of at least
60 microseconds exists between the falling edge of the
Time Set Lock
The time set lock control bit is located at address 00 hex,
bit 5 (see Table 6).
disables any transfer from the RAM to the reserved clock
and timer area as well as inhibiting any write to the digital
trimming register at address 10 hex. When the time set
lock bit is set the following transfer operations are
disabled:
A set bit prevents unauthorized overwriting of the
reserved clock and timer area. Reading of the reserved
clock and timer area, using the commands, is not affected
by the time set lock bit. Clearing the time set lock bit by
software will re-enable the above listed commands. On
initialisation the time set lock bit is cleared. The time set
lock bit does not affect the user RAM (addr. 50 to 5F hex).
Frequency Tuning
The V3023 offers a key feature called "Digital Trimming",
which is used for the clock accuracy adjustment. Unlike
the traditional capacitor trimming method which tunes the
crystal oscillator, the digital trimming acts on the divider
chain, allowing the clock adjustment by software. The
oscillator frequency itself is not affected.
The Principle of Digital Trimming
With the digital trimming disabled (ie. digital trimming
register set to 00 hex), the oscillator and the first stages of
the divider chain will run slightly too fast (typ. 210 ppm:
ppm = parts per million), and will generate a 100 z signal
with a frequency of typically 100.021 Hz. To correct this
frequency, the digital trimming logic will inhibit every 31
seconds, a number of clock pulses, as set in the digital
trimming register.
corresponds to 1'015'808 oscillator cycles, the digital
trimming has a resolution of 0.984 ppm. In other words
every increment by 1 of the digital trimming value will slow
down the clock by 0.984 ppm, which permits the accuracy
of ± 0.5 ppm to be reached. Note that a 1 ppm error will
result in a 1 second difference after 11.5 days, or a 1
minute difference after 694 days ! The trimming range of
the V3023 is from 0 to 251 ppm. The 251 ppm correction
is obtained by writing 255 (FFhex) into the digital trimming
register.
IRQ and the clearing of the pulse flag.
12
The clock command followed by write,
the timer command followed by write,
the clock and timer command followed by write, and
writing to the digital trimming register
Since the duration of 31 seconds
Upon power restoration the pulse
When set by software, this bit
The pulse feature is disabled
www.emmicroelectronic.com
V3023

Related parts for V3023