SH3000EK [SEMTECH]

Reset Management and Clock Management Support IC for Microcontrollers; 重置微控制器管理和时钟管理支持IC
SH3000EK
型号: SH3000EK
厂家: SEMTECH CORPORATION    SEMTECH CORPORATION
描述:

Reset Management and Clock Management Support IC for Microcontrollers
重置微控制器管理和时钟管理支持IC

微控制器 时钟
文件: 总22页 (文件大小:354K)
中文:  中文翻译
下载:  下载PDF数据表文档文件
SH3002 MicroBuddy™  
Reset Management and Clock Management  
Support IC for Microcontrollers  
SYSTEM MANAGEMENT  
Description  
Features  
The programmable SH3002 MicroBuddy™ (µBuddy™)  
Highly integrated IC  
provides mandatory microcontroller support functions:  
- 3 mm x 3 mm x 0.9 mm 16-lead MLP (QFN) package  
CPU Supervisor  
CPU Supervisor  
Clock Management System  
Auxiliary functions  
- Low VDD reset programmable from 2.3 V to 4.3 V  
- Both active-high and active-low reset outputs  
Clock Management System  
Three components make a complete system: any  
microcontroller, the SH3002, and a bypass capacitor.  
This low-cost system would consume very little power and  
have clock-frequency accuracy of ± 0.5%.  
- Replaces high-frequency (HF) crystal or resonator  
- Programmable clock output from 32.768 kHz to 16 MHz  
- Speed shift between multiple clock frequencies  
- Adjustable spectrum spreading for EMI reduction  
- Directly supports microcontroller STOP function  
- Deep sleep with instantaneous auto-wakeup  
Operates from 2.3 V to 5.5 V  
The SH3002 can operate completely stand-alone, or  
under control of the microcontroller. A single-wire  
interface handles both bi-directional communications and  
the interrupt / wake-up signal from the SH3002. The  
SH3002 stores all configuration, calibration, parameters,  
and status information in a 36-byte bank of control  
registers. On reset, most of these are reloaded with  
defaults from the factory-set nonvolatile memory. The  
microcontroller can change any settings on the fly. If  
some of the settings must remain fixed, a comprehensive  
set of write-protect bits is provided for several related  
groups of registers (with both permanent write-inhibit and  
lock/unlock capabilities).  
- Ideal for battery-operated devices  
IDD <850 µA / 2 MHz, <3 mA / 16 MHz, <10 µA / standby  
Pin Configuration  
16 15 14 13  
Applications  
1
2
3
4
12  
11  
10  
9
TEST (VSS)  
RST  
NRST  
VSS  
VREG  
VDD  
Home automation and security  
Consumer products  
µBTM  
Portable/handheld computers  
Industrial equipment  
SH3002  
NC  
RREF  
Any microcontroller-based product  
5
6
7
8
V+  
VDD  
CBYPASS  
XIN  
XOUT  
3mm MLP (QFN) Package  
GPIO WITH INT  
NRESET  
1
12  
11  
10  
9
µBTM  
µController  
2
3
4
SH3002  
GND  
Covered by US Patent No. 6,903,986  
Typical Application Circuit  
Semtech, the Semtech logo, MicroBuddy, µBuddy, and µB are  
marks of Semtech Corporation. All other marks belong to their  
respective owners.  
2005-08-08 Copyright ©2002-2005 Semtech Corporation 1  
SH3002 data sheet V1.20 www.semtech.com  
SH3002 MicroBuddy™  
SYSTEM MANAGEMENT  
Description  
Ordering Information  
SH3002IMLTR  
IC  
MLP 3 x 3 mm, 16 pins, temp. range -40° C to +85° C  
EVK-SH3000USB SH3000 evaluation kit  
SH3000EK.pdf  
SH3000UM.pdf  
SH3000 Evaluation Kit User Guide  
SH3000 Reference Manual  
Block Diagram  
Microcontroller  
32.768  
VDD  
XIN  
XOUT  
RESET  
I/O PIN  
KHZ  
V+  
2
3
13  
16  
15  
NC  
4
Clock Driver &  
Regulators  
Start/Stop Logic  
Nonvolatile Memory  
Post-scaler  
HF Oscillator  
& FLL  
Calibration &  
VSS  
1
Default Settings  
Voltage  
VSS  
8
RST  
11  
Reference  
Reset Drivers  
& Logic  
VDD Monitor  
LF Oscillator  
NC  
NRST  
5
10  
NC  
6
TEST  
12  
Control Logic  
VSS  
7
Periodic Interrupt  
/ Wake-up Timer  
Interrupt  
IO/INT  
RREF  
9
14  
RC  
Serial I/O  
Oscillator  
SH3002 µBuddy™  
Copyright ©2002-2005 Semtech Corporation  
2
V1.20 www.semtech.com  
SH3002 MicroBuddy™  
SYSTEM MANAGEMENT  
Pin Descriptions  
Pin  
Name  
Type  
Function  
1
VSS  
Power  
Ground, 0 V. All VSS pins and TEST (VSS) pin must be connected together.  
Output of internal Voltage Regulator, 2.2 V nominal. This pin can power external loads  
of <5 mA. If load is “noisy” it requires a bypass capacitor. May be left unconnected or  
used as a high logic level signal for CLKSEL pin (see below).  
Main power supply, +2.3 to +5.5 V.  
2
VREG  
Power  
Power  
3
4
5
6
7
8
VDD  
NC  
Not connected - reserved  
NC  
Not connected - reserved  
Not connected - reserved  
Ground, 0 V. All VSS pins and TEST (VSS) pin must be connected together.  
Ground, 0 V. All VSS pins and TEST (VSS) pin must be connected together.  
Optional 1 MOhm external bias resistor for the internal 32.768 kHz RC oscillator. Can  
be used to set, trim or modulate the internal RC oscillator. Keep open if not used.  
Active low system reset output. Asserted with a strong low state when a reset condition  
NC  
VSS  
VSS  
Power  
Power  
9
RREF  
Analog  
10  
NRST  
Digital Out occurs. Weakly pulled to VDD internally when not active. This signal is valid for VDD as  
low as 1 V. Keep open if not used.  
Active high system reset output. Asserted with a strong high state when a reset  
Digital Out condition occurs. Weakly pulled to VSS internally when not active. This signal is valid  
for VDD as low as 1 V. Keep open if not used.  
11  
RST  
12 TEST (VSS) Digital In Factory test enable. All VSS pins and TEST (VSS) pin must be connected together.  
Buffered internal 32.768 kHz clock, derived according to the CLKSEL pin setting. This pin  
uses backup power for the buffer when VDD is not present. When driving high, this signal  
is either at VBAK or VDD (if VDD is higher than the reset threshold). When enabled, this  
13  
CLK32  
Digital Out  
I/O  
signal runs continuously independent of CLKOUT activity. Minimize the external load to  
reduce power consumption during backup operations. When disabled, this pin is driven  
to VSS. Keep open if not used.  
Serial communications interface and interrupt output pin. This pin is internally weakly  
pulled to the opposite of the programmed interrupt polarity. For example, if interrupt is  
programmed to be active low, this pin is weakly pulled to VDD when inactive. Keep  
open if not used.  
14  
15  
IO/INT  
CLKIN  
Clock activity sense input. Used to detect when the target microcontroller enters stop  
Digital In mode (which disables its clock). Connect to the microcontroller’s clock output or  
oscillator output pin. Connect to VSS when not used. CLKIN must not be left open.  
Programmable high frequency clock output. Connect to the target microcontroller’s clock  
16 CLKOUT Digital Out  
input or oscillator input pin. Keep open if not used.  
Copyright ©2002-2005 Semtech Corporation  
3
V1.20 www.semtech.com  
SH3002 MicroBuddy™  
SYSTEM MANAGEMENT  
The SH3002 is a particularly desirable integration  
because the built-in features interact and meld to  
produce more useful system level functions.  
For example, on power up, the SH3002 can quickly  
release the reset lines on its CPU Supervisor module  
because the clock signal from the Clock Management  
System is guaranteed to be running and stabilized. An  
ordinary reset circuit must hold reset active for a long  
time to allow an unknown crystal to start up and  
stabilize.  
The SH3002 offers several ways to minimize system  
power consumption, such as allowing the target  
processor to enter deep sleep by stopping its clock  
completely, and to wake up as often as necessary with  
no external support. The clock can be programmed to  
start up at a given frequency, and software can adjust it  
dynamically to manage power consumption and different  
operating modes.  
Functional Description  
The SH3002 is a single-chip support system for  
microcontrollers, microprocessors, DSPs and ASICs. It  
consists of four major functional blocks, each block  
having numerous enhancements over alternative  
solutions.  
The major modules are the CPU Supervisor, the  
Clock Management System, and the Auxiliary functions.  
The entire chip is controlled by the set of internal  
registers and accessed via the single-pin serial interface.  
All of the settings, configuration, and calibration or  
operating parameters are programmable and re-  
programmable at any time. All of the parameters  
required for stand-alone operations are initialized on  
reset from the built-in factory-programmed nonvolatile  
memory. This allows the SH3002 to operate  
autonomously for most of its supervisory functions. The  
stand-alone operations do not require the use of the  
serial interface or any of the initialization and control  
operation, but without these, the full potential benefit of  
the SH3002 might not be realized.  
In the preferred configuration, where the SH3002 is  
tightly coupled to the target micro, the SH3002 offers an  
unprecedented level of design flexibility in clock and  
power usage management.  
Users should consider the interactions of the major  
functional blocks to gain the maximum advantage from  
the SH3002.  
The individual functional blocks are described in the  
following sections.  
Copyright ©2002-2005 Semtech Corporation  
4
V1.20 www.semtech.com  
SH3002 MicroBuddy™  
SYSTEM MANAGEMENT  
The default VBO value is loaded on power-up from the  
factory-programmed nonvolatile memory. It can be re-  
programmed at any time or it can be permanently  
protected from any changes by setting the VBO Lock flag  
or a write-protect flag.  
On power up both the active-high and active-low  
reset signals are driven active. These outputs are  
typically valid for a VDD level of at least 0.5 V, and  
guaranteed to be valid for a VDD level of 1.0 V.  
The reset outputs remain active until VDD rises and  
stays above the level of (VBO + VHYST), where VHYST is  
a small fixed amount of hysteresis, nominally 50 mV,  
added to prevent nuisance reset activations (when VDD  
slowly changes near the level of VBO and some noise or  
power glitching is present).  
At the level of (VBO + VHYST) the power supply is  
considered valid. In case of the initial power-up, the  
reset is then driven inactive once 6 ms of valid power  
have elapsed. In the case of brownout, the reset is  
released after a delay of 6 ms (but no less than 12 ms  
from the beginning of the brownout).  
Such a fast reset is possible because the SH3002  
provides a fast-starting clock that is free of crystal start-  
up time requirements. This gives the SH3002 an  
advantage over most external reset circuits, which must  
have a long reset pulse duration to accommodate long  
and unpredictable crystal start-up times.  
The SH3002 guarantees that a valid and stable  
clock is available 2 ms before the reset signals are  
negated, so that internal synchronous reset and  
initialization of the target micro can proceed normally.  
CPU Supervisor  
The SH3002 has two supervisory functions that  
manage the reset of the target processor, a low VDD  
monitor (Brownout Detector), see Figure 1.  
Both functions are integrated with the Clock  
Management System to provide a more complete  
system solution than stand-alone components.  
The SH3002 has both active high and active low  
reset output pins. Both are driven strong to the active  
state and weak to the inactive state. This eliminates the  
need for external pull-ups and allows various reset  
sources to be connected together in a wire-OR  
configuration. (This makes it simple to set up a manual  
reset circuit.)  
A set of flags in the register map indicates the  
source of the reset to the system software.  
Low VDD Reset  
The SH3002 drives the reset pins active whenever  
VDD is below the value of VBO, the brownout reset  
threshold, programmable from 2.3 V to 4.3 V in average  
steps of 33 mV, see Table 1.  
Table 1. Programmable VBO Values  
Parameter  
Min  
Typ  
2.3  
Max  
2.33  
Units  
V
VBO for min code  
2.27  
(000000)  
VBO for max code  
(111111)  
4.2  
4.3  
33  
4.4  
V
Step resolution  
mV  
RESET  
VDD  
Noise Filter  
32.768kH  
Reset Logic  
&
1
RST  
11  
z
VDD  
PWROK  
Minimum  
Duration Timer  
20
K  
20
K  
NRST  
UNDERFLOW 10  
RESET  
10  
4.40 V  
2.30 V  
Temperature-  
compensated  
VHITGHhreshold  
Voltage  
D/A  
VLOW  
Reference  
Hysteresis  
50mV TYP.  
Write-once  
Lock Logic  
Initialization Logic  
6-bit Value  
From / To  
Serial I/O  
Figure 1. CPU Supervisor --- Low VDD / Brownout Detector, Watchdog, Reset logic & Drivers  
Copyright ©2002-2005 Semtech Corporation  
5
V1.20 www.semtech.com  
SH3002 MicroBuddy™  
SYSTEM MANAGEMENT  
Since the clock is only active for the last 1 or 2 ms of  
the reset interval, when VDD has already been valid for  
some time, energy savings are realized and the startup  
of the whole system is made easier. The commonly  
used reset approach forces the processor to turn the  
oscillator on and to run at full speed (thus consuming full  
power) during the critical time when the (possibly  
depleted) battery is trying to raise VDD to an acceptable  
level. In contrast, the SH3002 allows the power source  
to charge the bypass capacitors and raise the level of  
VDD with little additional load. Only when power has  
stabilized is the target micro permitted to start expending  
energy.  
12ms minimum  
VBO + VHYST  
VBO  
1V  
VDD  
RST  
3-5ms  
6ms  
Undefined  
NRST  
When a brownout event occurs, the SH3002  
continues to provide the clock to the target processor,  
but at a reduced frequency between 500 kHz and  
1.0 MHz. After a delay of 2 ms this clock is stopped,  
automatically lowering the energy consumption of the  
whole system, see Figure 2.  
1 ms  
2 ms  
2 ms  
Normal  
FOUT  
Reduced FOUT  
0.5-1.0 MHz  
CLKOUT  
Figure 2. Operations of low VDD / Brownout Detector  
A Noise Filter (see Figure 1) prevents reset  
activations from noise and small power glitches on the  
VDD line. A typical behavior is shown in Figure 3 for the  
VDD level just above VBO and various amplitudes and  
durations of the negative-going spikes.  
Duration  
10  
5
When VDD is falling, both reset lines are guaranteed  
to activate within 5 µs from the time VBO is crossed over.  
Guaranteed reset  
Guaranteed NO reset  
0
0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5  
Amplitude, V  
Figure 3. Response to negative voltage spikes  
Copyright ©2002-2005 Semtech Corporation  
6
V1.20 www.semtech.com  
SH3002 MicroBuddy™  
SYSTEM MANAGEMENT  
Clock Generator Operation  
Clock Management System  
The frequency synthesizer in the SH3002 is  
constructed from the 2:1 tunable 8.0–16.0 MHz HF  
oscillator followed by a programmable “power-of-two”  
post-divider (see Figure 4).  
The Clock Source selector and the programmable  
post-scale divider allow instantaneous switching  
between the 32.768 kHz internal clock and divided-down  
HF oscillator output. There is no settling or instability  
when the switch occurs.  
This is a preferred method for clock control in  
computing systems, when the large ratio between high  
and low frequency of operations allows for  
correspondingly large and instantaneous savings in  
power consumption.  
When the HF oscillator is operating alone, it can set  
the frequency of the clock on the CLKOUT pin to  
± 0.025%, and maintain it to ± 0.5% over temperature.  
This compares favorable with the typical ± 0.5% initial  
clock accuracy and ± 0.6% overall temperature stability  
of ceramic resonators. The SH3002 replaces the typical  
resonator, using less space and providing better  
performance and functionality.  
The SH3002 provides a flexible tool for creating and  
managing clocks, a versatile and accurate “any  
frequency” clock synthesizer (see Figure 4).  
It is capable of generating any frequency in the  
range of 62.5 kHz to 16.0 MHz, with worst-case  
resolution of 0.0256% (256 ppm). The internal  
32.768 kHz clock can also be routed to the CLKOUT pin  
(and HF oscillator stopped for energy savings).  
The objectives, features, and behavior of the Clock  
Management System are aimed towards the systems  
that utilize a microcontroller, a microprocessor, a DSP or  
an ASIC.  
The SH3002 permits the automatic sensing of the  
intentions of the host processor, an industry first. The  
SH3002 shuts down its clock output when it senses that  
the host processor issued a STOP instruction.  
Subsequently, the SH3002 idles, consuming less than  
10 µA. As soon as the host exits the STOP mode, the  
SH3002 instantaneously starts to supply a stable clock  
(<2 µs wake-up).  
A typical system, constructed with a ceramic  
resonator or a crystal as the frequency determining  
element, must wait at least several hundred  
The HF oscillator can also be locked to the internal  
32.768 kHz signal. The absolute accuracy and stability  
of the HF clock depends on the quality of the 32.768 kHz  
internally generated clock; the low-frequency (LF)  
Oscillator System is described later in this document.  
microseconds (for a resonator), or as much as 100 ms or  
more (for a HF crystal), to re-start the oscillator. The  
SH3002 allows the response to and service of an event  
to finish with a speed previously unattainable for a  
simple microprocessor. A system with a traditional clock  
approach can be as much as 100x – 10,000x slower.  
Clock Source  
Clock On  
CLKOUT  
16  
CLKIN  
1
32.768 kHz  
Clock Buffer  
0
Post-scaler  
and Glue  
(Divide by 1, 2, 4,  
8, 16, 32, 64, 128)  
FLL On  
Logic  
15  
START/STOP  
Force  
18-bit  
HF Digitally  
Controlled  
Oscillator  
8-16 MHz  
DCO On  
Frequency Locked Loop  
DCO Code  
Register  
2048 Hz  
Logic  
÷ 16  
13-bit  
8-bit Pseudo  
Spectrum  
Spreading  
Controls  
Frequency  
Set value  
Random Noise  
Generator  
From / To  
Serial I/O  
Figure 4. Simplified HF Oscillator System  
Copyright ©2002-2005 Semtech Corporation  
7
V1.20 www.semtech.com  
SH3002 MicroBuddy™  
SYSTEM MANAGEMENT  
The SH3002 offers a technique for reducing the  
EMI. It can be a part of the initial design strategy, or it  
can be applied in the prototype stage to fix problems  
identified during compliance testing. This feature of the  
SH3002 can greatly reduce the requirements for  
radiofrequency shielding, and permits the use of simple  
plastic casings in place of expensive RFI-coated or  
metal casings.  
The SH3002 employs Programmable Spectrum  
Spreading in order to reduce the RF emissions from the  
processor’s clock. There are five (5) possible settings;  
please see Table 2 for operating and performance  
figures in the 8-16 MHz range.  
Spectrum Spreading is created by varying the  
frequency of the HF oscillator with a pseudo-random  
sequence (with a zero-average DC component). The  
Maximum-Length Sequence (MLS) 8-bit random number  
generator, clocked by 32.768 kHz, is used. Only 4, 5, 6,  
or 7 bits of the generated 8-bit random number are used,  
according to the configuration setting.  
The SH3002 employs a Frequency Locked Loop  
(FLL) to synchronize the HF clock to the 32.768 kHz  
reference. This architecture has several advantages  
over the common PLL (Phase Locked Loop) systems,  
including the ability to stop and re-start without  
frequency transients or instability, and with instant  
settling to a correct frequency. The conventional PLL  
approach invariably includes a Low-Pass Filter that  
requires a long settling time on re-start.  
The primary purpose of the FLL is the maintenance  
of the correct frequency while the ambient temperature  
is changing. As the temperature drift of the HF oscillator  
is quite small, any corrective action from the FLL system  
is also small and gradual, commensurate with the  
temperature variation.  
The FLL system in the SH3002 is unconditionally  
stable.  
To set a new frequency for the FLL, the host  
Table 2. EMI reduction with Spectrum Spreading  
Maximum fluctuations of the frequency depend on  
the selected frequency range and the position within the  
range. Selecting the HF oscillator frequency to be near  
the high end of the range limits the peak variations to  
± 0.1%, ± 0.2%, ± 0.4%, or ± 0.8% (corresponding to the  
configuration setting).  
Spreading Peak EMI Peak EMI  
Setting  
Bandwidth Reduction Reduction  
(guaranteed) (measured)  
kHz  
Off  
32  
db  
0
db  
0
En CFG1 CFG0  
0
1
1
1
1
X
0
0
1
1
X
0
1
0
1
Special Operating Modes  
-3  
-3  
The SH3002 can operate stand-alone, without  
connections to the In and Out terminals of the host’s  
oscillator. For example, a bank of SH3002 chips can  
generate several different frequencies for simultaneous  
use in the system, all controlled by a single micro (and  
possibly sharing one 32.768 kHz crystal by chaining the  
CLK32 pin to XIN pin on the next device). In this case  
the CLKIN pin should be connected to VSS. The clock  
output on the CLKOUT pin is continuous; the correct  
operating mode is automatically recognized by the  
SH3002.  
64  
-6  
-7  
128  
256  
-9  
-10  
-15  
-12  
processor writes the 13-bit Frequency Set value. The  
resulting output frequency is calculated using simple  
formulas [1] and [2] (reference frequency is 32.768 kHz):  
A microcontroller might not have a STOP command.  
With the SH3002, this controller can do a “simulated”  
STOP by issuing an instruction to the SH3002 to stop  
the clock. This command is accepted only if the Periodic  
Interrupt / Wakeup Timer has started (otherwise, once  
the system is put to sleep, it would never wake up  
again). This mode of operations is only possible if the  
host processor is capable of correct operations with  
clock frequency down to zero, and keeps all of the  
internal RAM alive while the clock is stopped.  
FOSC = 2048 Hz * (Frequency Set value + 1) [1]  
FOUT = FOSC / (Post-divider setting) [2]  
For example, a post-divider setting of ÷8 and the  
Frequency Set value of 4000 (0x0FA0) produce an  
output frequency of 1.024 MHz.  
Programmable Spectrum Spreading  
Most commercial electronic systems must pass  
regulatory tests in order to determine the degree of their  
Electromagnetic Interference (EMI) affecting other  
electronic devices. In some cases compliance with the  
EMI standards is costly and complicated.  
Copyright ©2002-2005 Semtech Corporation  
8
V1.20 www.semtech.com  
SH3002 MicroBuddy™  
SYSTEM MANAGEMENT  
Low Frequency (LF) Oscillator System  
This module provides the 32 kHz clock to all internal  
circuits and to the dedicated output pin, CLK32.  
If enabled, the CLK32 output continues normal  
operations when VDD is absent and backup power is  
available.  
Just like the VBO value for the Reset circuit, the  
default calibration values for the RC oscillator are loaded  
on power-up from the factory-programmed nonvolatile  
memory. They can be re-programmed at any time or  
they can be permanently protected from any changes by  
setting the Lock flag or a write-protect flag. Factory  
calibration brings the frequency of the RC oscillator  
within ±3 % of the 32768 Hz for the internal reference  
resistor, and ± 2% for the external 1 M1% resistor,  
over the entire temperature and supply voltage range.  
The frequency of the RC oscillator can be tuned or  
modulated by varying the external reference resistor,  
which should be located as close as possible to RREF,  
pin 9.  
CLK32 ON  
CLK32  
13  
INTERNAL  
RREF ON  
RREF  
9
RC  
Oscillator  
Internal  
32.768 kHz  
Clock  
Internal RREF  
External  
Reference  
Resistor  
VSS  
8
VSS  
1
Lock / Unlock  
Logic  
4-bit Value  
6-bit Value  
4-bit Value  
Lock Logic  
1 M1% or  
From / To  
Serial I/O  
variable  
Figure 5. Simplified LF Oscillator System  
Copyright ©2002-2005 Semtech Corporation  
9
V1.20 www.semtech.com  
SH3002 MicroBuddy™  
SYSTEM MANAGEMENT  
Periodic Interrupt / Wakeup Timer  
When the 32-bit comparator detects a match, an  
interrupt is generated and the counter is reset and starts  
Simple and versatile, the Periodic Interrupt / Wakeup  
Timer can be used to create very accurate recurring  
interrupts for use by the host micro. With some minimal  
software support from the host processor, it can also be  
used to create alarms, with practically unlimited duration.  
While the timer is running, the host processor can be  
halted, consuming no energy. The interrupt wakes up  
the processor, which can perform the requisite task and  
go back to sleep, until the next periodic interrupt.  
the next timing cycle.  
Although the counter cannot be written to, the  
current value from the counter can be read at any time.  
The whole 32-bit value is loaded into the 32-bit Current  
Timer Value latch when the least significant byte is read.  
This prevents errors stemming from the finite time  
between the readings of individual bytes of the current  
value.  
This mode of operation can achieve extremely low  
average power consumption.  
Auxiliary functions  
A 32-bit counter clocked by 32.768 kHz, producing a  
minimum interval of 30.5 µs and the maximum interval of  
36.4 hours, creates the Timer.  
After reset, the Timer is stopped until the new value  
for the time interval is written into the 4-byte Time  
Interval register. When the least significant byte (LSB) is  
written, the whole value is moved to the Time Interval  
latch, the counter is reset and starts to increment with  
the 32.768 kHz clock.  
Voltage Regulator  
Pin VREG can be used as a nominal 2.20 V reference  
voltage or a supply source for small loads (<2 mA). A  
bypass capacitor might be necessary between this pin  
and VSS if the load generates large current transients or  
a low ripple reference is required.  
Current Timer  
LSB  
MSB  
Value  
LOAD  
32-bit Latch  
32.768 kHz  
32-bit Counter  
RESET  
IO/INT  
14  
Interrupt  
Logic  
32-bit Comparator  
Serial I/O  
LOAD  
32-bit Latch  
32-bit Time Interval  
LSB  
MSB  
Figure 6. Periodic Interrupt / Wakeup timer  
Copyright ©2002-2005 Semtech Corporation  
10  
V1.20 www.semtech.com  
SH3002 MicroBuddy™  
SYSTEM MANAGEMENT  
Two parity bits: The first parity bit is high when there  
are an odd number of bits in the read/write, address and  
data fields; the second parity bit is the inverse of the first.  
For write streams only, a guard bit is appended to  
the stream (to allow safe turnaround), and then two  
acknowledge bits, which are a direct copy of the parity  
bits, are driven back to the host to indicate a successful  
write access.  
Interrupt and Serial Interface  
A single line is used to convey bi-directional  
information between the SH3002 and the processor, and  
as the interrupt line to the processor.  
The polarity of the interrupt signal is programmable.  
The SH3002 and the host microcontroller  
communicate using a single wire, bi-directional  
asynchronous serial interface. The bit rate is  
automatically determined by the SH3002. . At the  
fastest possible rate, a read or write access of a single  
byte from the register bank takes 5 µs.  
The SH3002 contains 36 addressable registers  
located at 0x00–0x1F. Some of these registers are  
accessed through a page operation. Pin 14, IO/Int, is  
the serial communications interface and interrupt output  
pin. This pin is internally weakly pulled to the opposite of  
the programmed interrupt polarity. For example, if  
interrupt is programmed to be active low, this pin is  
weakly pulled to VDD when inactive.  
Two guard bits are appended to the end of the  
access stream (read or write). The host can not start the  
next access before receiving these bits.  
The interface is self-timed based on the duration of  
the start bit field, and communication can take place  
whenever CLKOUT is active, either at 32.768 kHz or at a  
higher frequency. If the host microcontroller is running  
synchronously to the CLKOUT generated by the SH3002  
(which should generally be the case), then a minimum of  
4 CLKOUT cycles per bit are required to maintain  
communication integrity. If the host’s serial interface is  
asynchronous to CLKOUT, then a minimum of 52 cycles  
per bit are necessary. A maximum of 1024 CLKOUT  
cycles per bit field is supported.  
As shown in Figure 7, the SH3002 and the host  
communicate with serial data streams. The host always  
initiates communication. A data stream consists of the  
following (in this order):  
Table 3 displays the minimum and maximum bit  
periods for the serial communications for CLKOUT  
frequencies of 16 MHz, 8 MHz, and 2 MHz.  
3-bit start field  
3-bit read/write code  
5-bit address field  
1 guard bit  
8-bit data field  
2 parity bits  
Table 3: Minimum/Maximum Serial Bit Timing  
Minimum Bit  
Period  
Minimum Bit Maximum Bit  
CLKOUT  
Period  
(host  
Period  
Frequency  
(host  
synchronous asynchronous  
to CLKOUT)  
Plus, for write streams only:  
to CLKOUT)  
16 MHz  
8 MHz  
2 MHz  
250 ns  
500 ns  
2 µs  
3.25 µs  
6.5 µs  
26 µs  
63.9 µs  
127 µs  
511 µs  
1 guard bit  
2 acknowledge (ACK) bits  
The 3-bit start field (1,0,1 or 0,1,0, depending on  
interrupt polarity) uses the middle bit to determine the bit  
period of the serial data stream.  
The 3-bit read/write code consists of 1,1,0 for a  
read, or 0,1,1 for a write. This protects against early  
glitches that might otherwise put the interface into an  
invalid read or write access mode.  
Interrupt Interface  
The serial communications line to the SH3002 (Pin  
14, IO/Int) also serves as the interrupt to the host  
microcontroller. The polarity of the interrupt is software  
programmable using the interrupt polarity bit (bit 6) of the  
IPol_RCtune register (R0x11). This pin is asserted for  
four cycles of CLKOUT, and then returns to the inactive  
state.  
The interrupt line is used by the Periodic  
Interrupt/Wake-up Timer to interrupt the host when it  
reaches its end of count.  
The 5-bit address field contains the address of the  
register.  
A single guard bit gives the interface a safe period in  
which to change data direction. The value of a guard bit  
does not matter.  
The 8-bit data field is written to (read from) the  
register.  
Copyright ©2002-2005 Semtech Corporation  
11  
V1.20 www.semtech.com  
SH3002 MicroBuddy™  
SYSTEM MANAGEMENT  
Figure 7: Serial Communication Timing Diagram  
Copyright ©2002-2005 Semtech Corporation  
12  
V1.20 www.semtech.com  
SH3002 MicroBuddy™  
SYSTEM MANAGEMENT  
Electrical Specifications  
Absolute Maximum Ratings  
Note: The SH3002 is ESD-sensitive.  
Description  
Symbol  
VDD  
VIN1  
VIN2  
IIN1  
IIN2  
TOP  
TSTG  
Min  
-0.5  
-0.5  
-0.5  
Max  
5.5  
VDD + 0.5  
VREG + 0.5  
10  
150  
85  
160  
Units  
V
V
Supply voltages on VDD relative to ground  
Input voltage on CLKIN, IO/INT, TEST  
Input voltage on CLKSEL  
Input current on any pin except VREG  
Input current on VREG  
V
mA  
mA  
ºC  
Ambient operating temperature  
Storage temperature  
-40  
-55  
ºC  
Operating Characteristics  
Typ  
Parameter  
Symbol Min  
Max  
+85  
5.5  
3
Units  
Notes  
Case temperature  
Supply voltage  
Supply current, CLKOUT = 16 MHz*  
Supply current, CLKOUT = 8 MHz*  
Supply current, CLKOUT = 2 MHz*  
TOP  
VDD  
IDD  
–40  
2.3  
°C  
V
mA  
mA  
mA  
1.8  
0.9  
IDD  
IDD  
CLK32  
Standby current, 32.768 kHz RC oscillator**  
ISB  
10  
µA  
disabled  
*Note: Assuming load on CLKOUT < 20 pf  
**Note: Assuming temperature < 60ºC  
Copyright ©2002-2005 Semtech Corporation  
13  
V1.20 www.semtech.com  
SH3002 MicroBuddy™  
SYSTEM MANAGEMENT  
Operating characteristics of 32.768 kHz RC oscillator  
Parameter  
Symbol  
Min  
Typ  
32.768  
32.768  
Max  
Units  
kHz  
kHz  
%
External 1 MOhm referenced nominal frequency  
Internal 1 MOhm referenced nominal frequency  
CLK32 duty cycle  
Fext  
Fint  
DC  
40  
60  
Programmed frequency accuracy at 25°C  
Fst  
-1.5  
+1.5  
%
Absolute accuracy over temperature and supply  
Fde  
±2  
±3  
%
(external 1 MOhm)  
Absolute accuracy over temperature and supply  
(internal 1 MOhm)  
Frequency temperature stability (ext. 1 MOhm)  
Frequency temperature stability (int. 1 MOhm)  
Power on startup time  
CLK32 cycle to cycle jitter  
Fdi  
%
Fse  
Fsi  
Tst  
J
100  
200  
70  
ppm/°C  
ppm/°C  
µs  
0.1  
%
Operating characteristics of programmable reset  
Parameter  
Symbol  
Vbo(min) 2.27  
Min  
Typ  
2.3  
Max  
2.33  
Units  
V
VDD switching threshold for Min code  
(Start-up default = 2.3 V)  
VDD switching threshold for Max code  
Vbo(max) 4.2  
Vres  
Vhys  
Td  
Tdac  
4.3  
33  
50  
2.5  
4
4.4  
V
VDD threshold resolution  
VDD hysteresis  
Falling VDD threshold switch delay  
Threshold digital-analog converter (DAC) settling time  
Minimum VDD for valid nRST  
mV  
mV  
µs  
ms  
V
VDDmin  
1
Copyright ©2002-2005 Semtech Corporation  
14  
V1.20 www.semtech.com  
SH3002 MicroBuddy™  
SYSTEM MANAGEMENT  
Operating characteristics of the high-frequency oscillator (HFO)  
Parameter  
Symbol  
Fmin  
Fmax  
Fres  
Fst  
Fdrift  
J
Tstart  
Tsett  
Min  
16.8  
-0.3  
Typ  
5.6  
21  
2
Max  
8
Units  
MHz  
MHz  
kHz  
%
%
%
µs  
µs  
Minimum operating frequency (Start-up default = 2 MHz)  
Maximum operating frequency  
Frequency resolution  
Programmed frequency accuracy at 25°C  
Frequency drift over temperature and supply  
CLKOUT cycle to cycle jitter (spread spectrum off)  
Startup time from standby  
+0.3  
±0.5  
0.1  
2
Settling time to 0.1% after HF digitally-controlled oscillator  
10  
(DCO) code change  
CLKOUT duty cycle  
DC  
40  
60  
%
Frequency temperature stability  
Short term frequency stability  
Fts  
Fs  
SSmin  
SSmax  
Trf  
100  
0.5  
32  
256  
3
ppm/°C  
%/sec  
kHz  
kHz  
ns  
Minimum spread spectrum range  
Maximum spread spectrum range  
CLKOUT rise/fall time (20 pF load)  
CLKOUT logic output low (4 mA load)  
CLKOUT logic output high (4 mA load)  
Vol  
Voh  
0.25  
-0.25  
0.4  
V
-0.4  
Ref VDD  
Copyright ©2002-2005 Semtech Corporation  
15  
V1.20 www.semtech.com  
SH3002 MicroBuddy™  
SYSTEM MANAGEMENT  
Free Running HF DCO Frequency Deviation over Temperature for All Frequencies  
4000  
2000  
0
-60  
-40  
-20  
0
20  
40  
60  
80  
100  
120  
140  
-2000  
-4000  
-6000  
-8000  
-10000  
-12000  
-14000  
-16000  
Temp. ºC  
Internal 32.768 kHz Oscillator Frequency over Temperature  
33400  
33200  
33000  
32800  
32600  
32400  
32200  
32000  
31800  
-60  
-40  
-20  
0
20  
40  
60  
80  
100  
120  
140  
Temperature (ºC)  
Copyright ©2002-2005 Semtech Corporation  
16  
V1.20 www.semtech.com  
SH3002 MicroBuddy™  
SYSTEM MANAGEMENT  
StandbyCurrent over Temperature (VDD = 5 V)  
25.0  
20.0  
15.0  
Internal 32.768 kHz  
10.0  
5.0  
0.0  
-60  
-40  
-20  
0
20  
40  
60  
80  
100  
120  
140  
Temperature (ºC)  
Standby current over VDD (Temp. = 25ºC)  
10  
9
8
7
Internal 32.768 kHz  
6
5
4
2.5  
3
3.5  
4
4.5  
5
5.5  
VDD (V)  
Copyright ©2002-2005 Semtech Corporation  
17  
V1.20 www.semtech.com  
SH3002 MicroBuddy™  
SYSTEM MANAGEMENT  
VDD Current vs CLKOUT Frequency (VDD = 5.5 V, Temp. = 25ºC)  
3500  
3000  
2500  
2000  
1500  
1000  
500  
0
0
2
4
6
8
10  
12  
14  
16  
18  
Frequency (MHz)  
Operating VDD Current over VDD (CLKOUT = 16 MHz, Temp = 25ºC)  
3200  
3000  
2800  
2600  
2400  
2200  
2000  
2.5  
3
3.5  
4
4.5  
5
5.5  
VDD (V)  
Copyright ©2002-2005 Semtech Corporation  
18  
V1.20 www.semtech.com  
SH3002 MicroBuddy™  
SYSTEM MANAGEMENT  
Free Running HF DCO Short Term Frequency Stability (CLKOUT = 8 MHz)  
300  
200  
100  
0
-500  
500  
1500  
2500  
3500  
4500  
5500  
6500  
-100  
-200  
-300  
-400  
Time (seconds)  
FLL Locked HF DCO Jitter over Jitter Bandwidth (CLKOUT = 12.8 MHz)  
100000  
10000  
1000  
100  
10  
0.1  
1
10  
100  
1000  
10000  
100000  
Jitter Bandwidth (kHz)  
Copyright ©2002-2005 Semtech Corporation  
19  
V1.20 www.semtech.com  
SH3002 MicroBuddy™  
SYSTEM MANAGEMENT  
Package Outline Drawing MLP 3 x 3 mm 16 pins  
Copyright ©2002-2005 Semtech Corporation  
20  
V1.20 www.semtech.com  
SH3002 MicroBuddy™  
SYSTEM MANAGEMENT  
For sales information and product literature,  
contact:  
Semtech Corporation  
Human Interface Device (HID)  
and System Management Division  
200 Flynn Road  
Camarillo, CA 93012-8790  
sales@semtech.com  
http://www.semtech.com/  
(805)498-2111 Telephone  
(805)498-3804 Fax  
Copyright ©2002-2003 Semtech Corporation. All rights  
reserved. Semtech, the Semtech logo, MicroBuddy, µBuddy,  
and µB are marks of Semtech Corporation. All other marks  
belong to their respective owners.  
LIMITED LICENSE GRANTED: NO WARRANTIES MADE  
This specification is provided "as is" with no warranties  
whatsoever including any warranty of merchantability, fitness  
for any particular purpose, or any warranty otherwise arising  
out of any proposal, specification or sample. Any suggestions  
or comments by Semtech concerning use of this product are  
opinion only, and Semtech makes no warranty as to results to  
be obtained in any specific application. A license is hereby  
granted to reproduce and distribute this specification for  
internal use only. No other license, expressed or implied to  
any other intellectual property rights is granted or intended  
hereby. Authors of this specification disclaim any liability,  
including liability for infringement of proprietary rights, relating  
to the implementation of information in this specification.  
Authors of this specification also do not warrant or represent  
that such implementation(s) will not infringe such rights.  
Copyright ©2002-2005 Semtech Corporation  
21  
V1.20 www.semtech.com  
Filename:  
Directory:  
Template:  
sh3002.doc  
U:\working file\nathan\08_09_05  
C:\Documents and Settings\lcarey\Application  
Data\Microsoft\Templates\Normal.dot  
Title:  
SH3002 MicroBuddy™ data sheet  
Subject:  
Reset Management and Clock Management Support IC for  
Microcontrollers  
Author:  
Semtech Corporation  
Keywords:  
Comments:  
Creation Date:  
Change Number:  
Last Saved On:  
Last Saved By:  
Total Editing Time:  
Last Printed On:  
1/24/2003 10:42 AM  
75  
8/8/2005 9:40 AM  
NJohn  
260 Minutes  
8/9/2005 2:34 PM  
As of Last Complete Printing  
Number of Pages: 21  
Number of Words: 4,388 (approx.)  
Number of Characters:  
25,012 (approx.)  

相关型号:

SH3000IMLTR

Low-Power Programmable Multifunction Support IC for Microcontrollers
SEMTECH

SH3000IMLTRT

Low-Power Programmable Multifunction Support IC for Microcontrollers
SEMTECH

SH3000UM

Reset Management and Clock Management Support IC for Microcontrollers
SEMTECH

SH3001

Real-Time Clock and Clock Management Support IC for Microcontrollers
SEMTECH

SH3001IMLTRT

Real Time Clock, CMOS, 3 X 3 MM, 0.90 MM HEIGHT, LEAD FREE, MLP-16
SEMTECH

SH3002

Reset Management and Clock Management Support IC for Microcontrollers
SEMTECH

SH3002-DC70A

Near edge thermal printhead (with thermal historical control)
ROHM

SH3002-DC80A

Near edge thermal printhead (with thermal historical control)
ROHM

SH3002-DC90A

Near edge thermal printhead (300 dots / inch)
ROHM

SH3002-DC90A_09

Near edge type thermal printhead(11.81dots / mm)
ROHM

SH3002HCQR

Multiplexers/Switches, 1 Func, CBCY10,
FAIRCHILD

SH3002HM

Multiplexers/Switches, 1 Func, CBCY10,
FAIRCHILD