SH3003 SEMTECH | Alldatasheet
Document overview
- Manufacturer or author: Provided By ALLDATASHEET.COM(FREE DATASHEET DOWNLOAD SITE)
- PDF pages: 30
Technical content
1 www.semtech.com MicroBuddy® Support IC for Microcontrollers POWER MANAGEMENT SH3003 May 23, 2006 Three components make a complete system: any microcontroller, the SH3003, and a bypass capacitor. This low-cost system would consume very little power and have clock-frequency accuracy of ± 0.5%. A fourth component, a 32.768kHz crystal, raises the clock frequency accuracy The SH3003 can operate completely stand-alone, or un- der control of the microcontroller. A single-wire interface handles both bi-directional communications and the in- terrupt/wake-up signal from the SH3003. The SH3003 stores all confi guration, calibration, parameters, and sta- tus information in a 36-byte bank of control registers. On reset, most of these are reloaded with defaults from the factory-set non-volatile memory. The microcontroller can change any settings on the fl y. If some of the settings must remain fi xed, a comprehensive set of write-protect bits is provided for several related groups of registers (with both permanent write-inhibit and lock/unlock capabilities). A backup power source may also be connected to the SH3003. The IC can directly accommodate 2/3-cell zinc- carbon/alkaline, 2/3-cell mercury, 2/3/4-cell NiCd/NiMH, one cell Li/Li+ batteries, or a super cap. The programmable SH3003 MicroBuddy® ( μBuddy®) provides all mandatory microcontroller support functions: CPU Supervisor Clock Management System Real-Time Support Auxiliary Functions Home automation and security Consumer products Portable/handheld computers Industrial equipment Any microcontroller-based product Highly integrated IC - 3mm x 3mm x 0.9mm, 16-lead MLP (QFN) package CPU Supervisor Low VDD reset programmable from 2.3V to 4.3V Watchdog timer with programmable time out periods Both active-high and active-low reset outputs Clock Management System Replaces high-frequency (HF) crystal or resonator Programmable clock output from 32.768kHz to 16MHz Speed shift between multiple clock frequencies Adjustable spectrum spreading for EMI reduction Directly supports microcontroller STOP function Deep sleep with instantaneous auto-wakeup Real-Time Support 179 year real-time clock, battery-backup capable Dedicated 32.768kHz buffered clock output Built-in trim for 32.768kHz oscillator to ±4ppm Programmable periodic interrupt/wakeup timer Auxiliary Functions 4-byte (32-bit) scratchpad RAM, loaded on reset with factory-set value (zero or optional ID code) All settings programmable in real time, defaults restored from nonvolatile memory on reset Operates from 2.3V to 5.5V IDD < 850μA /2MHz, < 3mA / 16MHz, <10μA/ standby - I BUP < 2μA / IBSB <50nA (battery back up/standby) Description Features
Applications
2©2006 Semtech Corp. SH3003 www.semtech.com Not authorized for release outside of Semtech - DRAFTPOWER MANAGEMENT Typical Application Circuit SH3003 VDD X IN X OUT GPIO with INT N RESET GND C Bypass μBTM μController Typical Application Circuit with High Clock Accuracy
©2006 Semtech Corp. www.semtech.com POWER MANAGEMENT SH3003 POWER MANAGEMENT Parameter Symbol Min Max Units Supply voltages on VDD or VBAK relative to ground V DD -0.5 5.5 V Input voltage on CLKIN, IO/INT, TEST V IN1 -0.5 VDD + 0.5 V Input voltage on CLKSEL V IN2 -0.5 VREG + 0.5 V Input current on any pin except VREG IIN11 0 m A Input current on VREG IIN2 150 mA Ambient operating temperature T OP -40 85 ºC Storage Temperature T STG -55 60 ºC IR Refl ow temperature - SH3003IMLTR TIRRT 240 ºC IR Refl ow temperature - SH3003IMLTRT TIRRT 260 ºC Parameter Symbol Min Typ Max Units Notes Case temperature T OP –40 +85 ºC Supply voltage V DD 2.3 5.5 V Supply current, CLKOUT = 16 MHz(1) IDD 3m A Supply current, CLKOUT = 8 MHz (1) IDD 1.8 mA Supply current, CLKOUT = 2 MHz(1) IDD 0.9 mA Standby current, 32.768kHz crystal(2) ISB 8 μA CLK32 disabled Standby current, 32.768kHz RC oscillator(2) ISB 10 μA CLK32 disabled Backup supply voltage(2) VBAK 2.3 5.5 V Backup current, 32.768kHz crystal(2) IBUP 2 μA CLK32 disabled Backup current, 32.768kHz RC oscillator(2) IBUP 8 μA CLK32 disabled Backup standby current(2) IBSB 50 nA VDD > VBO Notes: 1) Assuming load on CLKOUT < 20pf 2) Assuming temperature < 60ºC
Electrical Characteristics
Exceeding the specifi cations below may result in permanent damage to the device or device malfunction. Operation outside of the parameters specifi ed in the Electrical Characteristics section is not recommended.
4©2006 Semtech Corp. SH3003 www.semtech.com Not authorized for release outside of Semtech - DRAFTPOWER MANAGEMENT Parameter Symbol Min Typ Max Units Crystal operating frequency F OP 32.768 kHz CLK32 duty cycle DC 25 75 % Start-up time T ST 3 secs XIN/XOUT padding capacitance after power-up C PUP 12.5 pF Minimum XIN/XOUT padding capacitance C MIN 10 pF Maximum XIN/XOUT padding capacitance C MAX 40 pF Padding capacitance resolution C RES 2p F XIN switching threshold V TH 0.6 V XIN to CLK32 delay T D 0.5 ppm/°C CLK32 frequency stability (crystal-dependent) F S 1 μs CLK32 cycle-to-cycle jitter J 0.05 % CLK32 rise/fall time (10pF load) T RF 10 ns CLK32 logic output low (0.5mA load) V OL 0.25 0.5 V CLK32 logic output high (0.5mA load) V OH -0.5 -0.25 Ref VDD* Crystal Oscillator *Note: VDD here is VDD during normal operation and VBAK during battery backup. Parameter Symbol Min Typ Max Units External 1MΩ referenced nominal frequency F EXT 32.768 kHZ Internal 1MΩ referenced nominal frequency F INT 32.768 kHZ CLK32 duty cycle* DC 40 60 % Programmed frequency accuracy at 25°C F ST -1 +1 % Absolute accuracy (temp. & supply external 1MΩ)F DE ±2 % Absolute accuracy (temp. & supply internal 1MΩ) F DI ±3 % Frequency temperature stability (ext. 1MΩ)F SE 100 ppm/°C Frequency temperature stability (int. 1MΩ)F SI 200 ppm/°C Power on start-up time T ST 70 μs CLK32 cycle-to-cycle jitter* J 0.1 % 32.768kHz RC Oscillator *Note: After power-up, pin CLK32 is disabled, pin RREF is also disabled, and the oscillator is set to operate without the external reference resistor. Electrical Characteristics (continued)
©2006 Semtech Corp. www.semtech.com POWER MANAGEMENT SH3003 POWER MANAGEMENT Parameter Symbol Min Typ Max Units VDD switching threshold after power-up V BO(PUP) 2.3 V VDD switching threshold for min code VBO(MIN) VBO(MIN) 2.27 2.3 2.33 V VDD switching threshold for max code V BO(MAX) 4.2 4.3 4.4 V VDD threshold resolution V RES 33 mV VDD hysteresis V HYS 50 mV Falling VDD threshold switch delay Td 2.5 μs Threshold DAC settling time TDAC 4 ms Minimum VDD for valid NRST and RST VDD(MIN) 1V Parameter Symbol Min Typ Max Units Minimum operating freq. (start-up default = 16MHz) F MIN 5.6 8 MHz Maximum operating frequency F MAX 16.8 21 MHz Frequency resolution F RES -0.3 2 kHz Programmed frequency accuracy at 25°C F ST +0.3 % Frequency drift over temperature and supply F DRIFT ±0.5 % CLKOUT cycle-to-cycle jitter (spread spectrum off) J 0.1 % Start-up time from standby T START 2 μs Settling time to 0.1% after HF digitally-controlled oscillator (DCO) code change TSETT 10 μs CLKOUT duty cycle DC 40 60 % Frequency temperature stability F TS 100 ppm/°C Short-term frequency stability F S 0.5 %/sec Minimum spread spectrum range* SS( MIN) 32 kHz Maximum spread spectrum range* SS( MAX) 256 kHz CLKOUT rise/fall time (20pF load) T RF 3n s CLKOUT logic output low (4mA load) V OL 0.25 0.4 V CLKOUT logic output high (4mA load) V OH -0.4 -0.25 Ref VDD High-Frequency Oscillator (HFO) *Note: After power-up, spectrum spreading of the high-frequency oscillator is disabled. Programmable Reset Electrical Characteristics (continued)
6©2006 Semtech Corp. SH3003 www.semtech.com Not authorized for release outside of Semtech - DRAFTPOWER MANAGEMENT Pin Pin Name Type Pin Function T Thermal pad - connect to ground 1V SS Power Ground, 0V - All V SS pins and TEST (VSS) pin must be connected together.
2 VREG Power
Output of internal Voltage Regulator, 2.2V nominal. This pin can power exter- nal loads of < 5mA. If load is “noisy” it requires a bypass capacitor. May be left unconnected or used as a high logic level signal for CLK SEL pin. 3V DD Power Main power supply, +2.3 to +5.5V 4V BAK Power This voltage can be higher or lower than VDD. Connect a backup battery or backup capacitor (with external recharge circuit). Connect to VDD if not used. 5X IN Analog In Oscillator pins for optional external low frequency crystal, typically 32.768kHz crystal with nominal 12.5pF load cap. Keep open or connect to VSS if not used.6X OUT Analog Out
7 CLK SEL Digital In
A logic low level selects the internal 32.768kHz RC oscillator (CLKSEL tied to VSS). A high state on this pin selects the 32.768kHz crystal oscillator (CLKSEL is connected to VREG). The SH3003 always starts up using the internal 32.768kHz RC oscillator. If CLKSEL is high, the internal 32.768kHz clock switches to the crystal oscillator once it has stabilized, and RC oscillator is disabled for power conservation. Do not connect CLK SEL to any signals except VSS or VREG. CLKSEL must not be left open. 8V SS Power Ground, 0V. All V SS pins and TEST (VSS) pin must be connected together. Device Package SH3003IMLTR MLP 3x3mm, 16 pins SH3003IMLTRT MLP 3x3mm, 16 pins, lead-free EVK-SH3000USB SH3000 Evaluation Kit SH3000EK.pdf SH3000 Evaluation Kit User Guide SH3000UM.pdf SH3000 Reference Manual TOP VIEW 16 15 14 13 5678 MLP 16: 3x3 16 LEAD T VSS IO/INT CLK IN CLK OUT TEST VSS RST NRST NRST VSS CLKSEL XOUT XIN VBAK VDD VREG CLK 32 Pin Confi guration Ordering Information Pin Descriptions
©2006 Semtech Corp. www.semtech.com POWER MANAGEMENT SH3003 POWER MANAGEMENT Pin Descriptions (continued) Pin Pin Name Type Pin Function 9R REF Analog Optional 1MΩ external bias resistor for internal 32.768 kHz RC oscillator. Can be used to set, trim or modulate the internal RC oscillator. Keep open if not used. 10 N RST Digital Out Active low system reset output. Asserted with a strong low state when a reset condition occurs. Weakly pulled to VDD internally when not active. This signal is valid for VDD as low as 1V. Keep open if not used.
11 R ST Digital Out
Active high system reset output. Asserted with a strong high state when a reset 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. 12 TEST (V SS) Digital In Factory test enable. All V SS pins & TEST (VSS) pin must be connected together.
13 CLK32 Digital Out
Buffered internal 32.768 kHz clock, derived according to the CLKSEL pin setting. 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 signal runs continuously independent of CLKOUT activity. Minimize the external load to reduce power consumption during backup opera- tions. When disabled, this pin is driven to V SS. Keep open if not used.
14 IO/INT I/O
Serial communications interface and interrupt output pin. Pin is internally weakly pulled to opposite of programmed interrupt polarity. If interrupt is programmed to be active low, pin is weakly pulled to V DD when inactive. Keep open if not used.
15 CLKIN Digital In
Clock activity sense input. Detects when target microcontroller enters stop mode (which disables its clock). Connect to the microcontroller’s clock output or oscil- lator output pin. Connect to V SS when not used. CLKIN must not be left open. 16 CLK OUT Digital Out Programmable high frequency clock output. Connect to the target microcon- troller’s clock input or oscillator input pin. Keep open if not used. T Thermal Pad Pad for heatsinking purposes. Connect to ground plane using multiple vias. Not connected internally.
8©2006 Semtech Corp. SH3003 www.semtech.com Not authorized for release outside of Semtech - DRAFTPOWER MANAGEMENT Block Diagram CLK32 Microcontroller VDD 32.768 KHZ XIN XOUT RESET I/O PIN CLKSEL VBAK VREG LF Oscillator Select Logic Reset Drivers & Logic VDD Monitor Watchdog HF Oscillator & FLL Real Time Clock Periodic Interrupt / Wake-up Timer XTAL Oscillator RC Oscillator Regulators & Battery Back-up Nonvolatile Memory Calibration & Default Settings Serial I/O Control Logic Clock Driver & Start/Stop Logic Post-scaler 2 3 1516 Interrupt VDD VSS XIN XOUT Voltage Reference CLKOUT CLKIN RREF RST NRST TEST IO/INT SH3003 μBuddy™ VSS
©2006 Semtech Corp. www.semtech.com POWER MANAGEMENT SH3003 POWER MANAGEMENT
Application Information
The SH3003 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, the Real-Time Support, 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, con fi guration, 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 SH3003 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 benefi t of the SH3003 may not be realized. In the preferred con fi guration, where the SH3003 is tightly coupled to the target micro, the SH3003 offers an unprecedented level of design fl exibility in clock and power usage management. The SH3003 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 SH3003 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 SH3003 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. Users should consider the interactions of the major functional blocks to gain the maximum advantage from the SH3003. The individual functional blocks are described in the following sections. Default Start-Up Parameters While the operating parameters of the SH3003 are programmable by the host microcontroller at any time, the default start-up parameters and appropriate calibration values are programmed into the chip’s non- volatile memory at the factory. This enables the SH3003 to be used stand-alone or in an embedded application with minimal microprocessor intervention. Default start-up parameters for the SH3003 are: Reset and V BO voltage level is 2.3V CLKOUT frequency is 16.0MHz CLK32 output is disabled Spread spectrum is disabled Internal RC oscillator is calibrated (to nominal frequency of 32768Hz Internal load capacitors on the 32.768kHz crystal oscillator pins are set to 12.5pF.
(Brownout Detector) and a Watchdog Timer, see Figure 1. Figure 1. CPU Supervisor --- Low VDD / Brownout Detector, Watchdog, Reset logic & Drivers
12©2006 Semtech Corp. SH3003 www.semtech.com Not authorized for release outside of Semtech - DRAFTPOWER MANAGEMENT The second circuit for supervising the processor is the watchdog timer. Whereas the low VDD/Brownout Detector monitors supply voltage, the watchdog timer monitors be- havior. It is based on a programmable timer that must be restarted periodically by the host micro. If software fails to restart the timer, the watchdog resets the processor. Restarting the timer takes considerable processing, mak- ing it unlikely that it would occur accidentally, as might happen for a simple pin-strobe con fi guration of typical watchdog IC. The watchdog is disabled after reset occurs. It stays dis- abled until initialized by the host processor. The initializa- tion requires the watchdog clock mode to be selected (see Figure 1) and the 7-bit time-out value to be set. As soon as the time-out is written, the watchdog begins operations and can not be stopped; also, the time-out value and or clock source can no longer be changed. The two clock sources available for the watchdog are the internal 32.768kHz clock and the CLK OUT signal. When operating from the 32.768kHz source, the time-out inter- val is programmable from 7.8125ms to one second with resolution of 7.8125ms. The internal 32.768kHz clock is running all the time, therefore the time-out duration is fi xed and predictable. When operating from the CLK OUT signal the time-interval is programmable between 256 and 32768 cycles of CLKOUT with resolution of 256 cycles. The actual time-out duration is variable and depends both on the frequency of CLK OUT signal and the amount of time target micro spends in the STOP mode, when the CLK OUT signal is also stopped. These two clock modes, together with the programmable time-out value, allow the SH3003 exceptional fl exibility, previously unattainable by existing discrete watchdog so- lutions. The watchdog timer is kept from timing out by periodic reload of the time-out value, triggered by a write of a code byte to the Watchdog Reload Register. As a further safety measure, there are two different and alternating code bytes that should be written to the same Watchdog Re- load Register. The code values are 0x5A and 0xC3. The timer is reloaded after every write of a single code byte. The code byte should be written to the Watchdog Reload Register, or reset is activated when the watchdog timer expires. Also, reset is initiated immediately if the value of the code byte is incorrect or out of sequence. When the watchdog triggers the reset, its duration is 12ms. Using two separate software routines, each to write one of the code values, results in the highest level of system se- curity. These routines must execute in the correct order. It is unlikely that runaway code could manage this. In addi- tion, this design makes it diffi cult for the code to become stuck in a tight loop resetting the watchdog. Application Information (continued) Watchdog Timer
pin (and HF oscillator stopped for energy savings). processor issued a STOP instruction. much as 100x – 10,000x slower. Figure 4. Simplified HF Oscillator System
14©2006 Semtech Corp. SH3003 www.semtech.com Not authorized for release outside of Semtech - DRAFTPOWER MANAGEMENT Application Information (continued) 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 com- pares favorable with the typical ±0.5% initial clock accu- racy and ±0.6% overall temperature stability of ceramic resonators. The SH3003 replaces the typical resonator, using less space and providing better performance and functionality. The HF oscillator can also be locked to the internal 32.768kHz 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) Oscilla- tor System is described later in this document. When the Real-Time Clock module of the SH3003 is used for high- accuracy timekeeping, an external 32.768 kHz crystal used as a reference for RTC provides excellent accuracy and stability for the Clock Management System. The SH3003 employs a Frequency Locked Loop (FLL) to synchronize the HF clock to the 32.768kHz reference. This architecture has several advantages over the com- mon 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 tempera- ture variation. Clock Generator Operation (continued) The FLL system in the SH3003 is unconditionally stable. To set a new frequency for the FLL, the host processor writes the 13-bit Frequency Set value. The resulting out- put frequency is calculated using simple formulas: [1] and [2] (reference frequency is 32.768kHz): FOSC = 2048 Hz * (Frequency Set value + 1) [1] FOUT = FOSC / (Post-divider setting) [2] For example, a post-divider setting of ÷8 and the Fre- quency Set value of 4000 (0x0FA0) produce an output frequency of 1.024MHz. Programmable Spectrum Spreading Most commercial electronic systems must pass regulato- ry tests in order to determine the degree of their Electro- magnetic Interference (EMI) affecting other electronic de- vices. In some cases compliance with the EMI standards is costly and complicated. The SH3003 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 fi x problems identi fi ed during compliance testing. This feature of the SH3003 may 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 SH3003 employs Programmable Spectrum Spreading in order to reduce the RF emissions from the processor’s clock. There are fi ve possible settings; please see Table 2 for operating and performance fi gures in the 8-16MHz range.
©2006 Semtech Corp. www.semtech.com POWER MANAGEMENT SH3003 POWER MANAGEMENT Application Information (continued) Programmable Spectrum Spreading (continued) Setting Spreading Bandwidth kHz Peak EMI Reduction (guaranteed db) Peak EMI Reduction (measured db)En CFG1 CFG0 0x x O f f 0 0 10 0 3 2 - 3 - 3 10 1 6 4 - 6 - 7 1 1 0 128 -9 -10 1 1 1 256 -12 -15 Table 2 - EMI reduction with Spectrum Spreading 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.768kHz, is used. Only four, fi ve, six, or seven bits of the generated 8-bit random number are used, according to the confi guration setting. Maximum fl uctuations 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 confi guration setting).
16©2006 Semtech Corp. SH3003 www.semtech.com Not authorized for release outside of Semtech - DRAFTPOWER MANAGEMENT Application Information (continued) The SH3003 has two support modules that are speci fi - cally designed for various real time support functions. They are the Real-Time Clock and the Periodic Interrupt / Wakeup Timer. Both of these units as well as other func- tions of the SH3003 depend on the internal 32.768kHz clock for accuracy. The SH3003 allows a trade-off between the cost of a sys- tem and its accuracy. For some devices, a single SH3003 without any support components provides suf fi cient ac- curacy. These units can operate with processor clock accuracy of ±0.5% and the accuracy of the real-time system of ±3%. At the other end of the spectrum, with one external com- ponent (a 32.768kHz crystal), the SH3003 can provide a processor clock accuracy of ±256ppm (±0.0256%) and the accuracy of the real-time system of ±4ppm (± 0.0004%). Real Time SupportSpecial Operating Modes The SH3003 can operate stand-alone, without connec- tions to the In and Out terminals of the host’s oscillator. For example, a bank of SH3003 chips can generate sev- eral different frequencies for simultaneous use in the sys- tem, all controlled by a single micro (and possibly sharing one 32.768kHz crystal by chaining the CLK32 pin to XIN pin on the next device). In this case the CLK IN pin should be connected to VSS. The clock output on the CLKOUT pin is continuous; the correct operating mode is automatically recognized by the SH3003. A microcontroller may not have a STOP command. With the SH3003, this controller can do a “simulated” STOP by issuing an instruction to the SH3003 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 ca- pable of correct operations with clock frequency down to zero, and keeps all of the internal RAM alive while the clock is stopped.
when VDD is absent and backup power is available. should be located as close as possible to RREF, pin 9.
1 Mȍ 1% or
Figure 5. Simplified LF Oscillator System installed on the PCB, in the actual circuit. quency 4ppm for a 10°C change in temperature.
DD is absent, if backup power is available. Figure 6. Real Time Clock and Periodic Interrupt / Wakeup timer
©2006 Semtech Corp. www.semtech.com POWER MANAGEMENT SH3003 POWER MANAGEMENT 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 may 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. This mode of operation can achieve extremely low average power consumption. A 32-bit counter clocked by 32.768kHz, producing a minimum interval of 30.5 μs and the maxi- mum 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 signi fi cant 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. When the 32-bit comparator detects a match, an interrupt is generated and the counter is reset and starts the next timing cycle. Although the counter cannot be written to, the current val- ue 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 signi fi cant byte is read. This pre- vents errors stemming from the fi nite time between the readings of individual bytes of the current value. Periodic Interrupt/Wakeup Timer Application Information (continued) Auxillary Functions Scratchpad RAM Four bytes of general-purpose RAM reside on the SH3003. Voltage Regulator Pin V REG can be used as a nominal 2.20V reference volt- age or a supply source for small loads (< 2mA). A bypass capacitor may be necessary between this pin and V SS if the load generates large current transients or a low ripple reference is required.
20©2006 Semtech Corp. SH3003 www.semtech.com Not authorized for release outside of Semtech - DRAFTPOWER MANAGEMENT Application Information (continued) A single line is used to convey bi-directional information between the SH3003 and the processor, and as the inter- rupt line to the processor. The polarity of the interrupt signal is programmable. The SH3003 and the host microcontroller communicate using a single wire, bi-directional asynchronous serial interface. The bit rate is automatically determined by the SH3003. At the fastest possible rate, a read or write access of a single byte from the register bank takes 5μs. The SH3003 contains thirty-six addressable registers located at 0x00–0x1F. Some of these registers are ac- cessed 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 V DD when inactive. As shown in Figure 7, the SH3003 and the host commu- nicate with serial data streams. The host always initiates communication. A data stream consists of the following (in this order):
- 3-bit start fi eld
- 3-bit read/write code
- 5-bit address fi eld
- 1 guard bit
- 8-bit data fi eld
- 2 parity bits Plus, for write streams only:
- 1 guard bit
- 2 acknowledge (ACK) bits The 3-bit start fi eld (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. The 5-bit address fi eld contains the address of the regis- ter. 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 fi eld is written to (read from) the register. Two parity bits: The fi rst parity bit is high when there are an odd number of bits in the read/write, address and data fi elds; the second parity bit is the inverse of the fi rst. For write streams only, a guard bit is appended to the stream (to allow safe turnaround), and then two acknowl- edge bits, which are a direct copy of the parity bits, are driven back to the host to indicate a successful write ac- cess. Two guard bits are appended to the end of the access stream (read or write). The host can not start the next ac- cess before receiving these bits. The interface is self-timed based on the duration of the start bit fi eld, and communication can take place when- ever CLKout is active, either at 32.768kHz or at a higher frequency. If the host microcontroller is running synchro- nously to the CLKout generated by the SH3003 (which should generally be the case), then a minimum of four CLKout cycles per bit are required to maintain communi- cation integrity. If the host’s serial interface is asynchro- nous to CLKout, then a minimum of 52 cycles per bit are necessary. A maximum of 1024 CLKout cycles per bit fi eld is supported. Table 3 displays the minimum and maximum bit periods for the serial communications for CLKout frequencies of 16 MHz, 8MHz, and 2MHz. Interrupt and Serial Interface
©2006 Semtech Corp. www.semtech.com POWER MANAGEMENT SH3003 POWER MANAGEMENT Interrupt and Serial Interface (continued) Application Information (continued) Interrupt Interface The serial communications line to the SH3003 (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. CLKOUT Frequency Minimum Bit Period (host synchronous to CLKOUT) Minimum Bit Period (host Asynchronous to CLKOUT) Maximum Bit Period 16MHz 250ns 3.25 μs 63.9 μs 8MHz 500ns 6.5 μs 127 μs 2MHz 2 μs2 6 μs5 1 1 μs Table 3 - Minimum/Maximum Serial Bit Timing
- INT disabled, uP initiates write access. Active high interrupt.
- INT active (high), uP initiates write access
- INT disabled, uP initiates read access
- INT active (low), uP initiates write access
Figure 7. Serial Communication Timing Diagram
©2006 Semtech Corp. www.semtech.com POWER MANAGEMENT SH3003 POWER MANAGEMENT Typical Characteristics Free Running HF DCO Frequency Deviation over Temperature for All Frequencies -16000 -14000 -12000 -10000 -8000 -6000 -4000 -2000 2000 4000 -60 -40 -20 0 20 40 60 80 100 120 140 Temp. ºC ppm Deviation Internal 32.768 kHz Oscillator Frequency over Temperature 31800 32000 32200 32400 32600 32800 33000 33200 33400 -60 -40 -20 0 20 40 60 80 100 120 140 Temperature (ºC) Frequency (Hz)
24©2006 Semtech Corp. SH3003 www.semtech.com Not authorized for release outside of Semtech - DRAFTPOWER MANAGEMENT Typical Characteristics (continued) 32.768 kHz Crystal Oscillator Frequency Deviation over Temperature -200 -150 -100 -50 -60 -40 -20 0 20 40 60 80 100 120 Temperature (ºC) ppm Deviation Battery Backup Current over Temperature (VBAK = 3 V) -60 -40 -20 0 20 40 60 80 100 120 140 Temperature (ºC) VBAK Current (μA) Internal 32.768 kHz Crystal 32.768 kHz
©2006 Semtech Corp. www.semtech.com POWER MANAGEMENT SH3003 POWER MANAGEMENT Typical Characteristics (continued) Standby Current over Temperature (VDD = 5 V) 0.0 5.0 10.0 15.0 20.0 25.0 -60 -40 -20 0 20 40 60 80 100 120 140 Temperature (ºC) VDD Current (μA) Crystal 32.768 kHz Internal 32.768 kHz Standby current over VDD (Temp. = 25ºC) 2.5 3 3.5 4 4.5 5 5.5 VDD (V) VDD Current (μA) Crystal 32.768 kHz Internal 32.768 kHz
26©2006 Semtech Corp. SH3003 www.semtech.com Not authorized for release outside of Semtech - DRAFTPOWER MANAGEMENT Typical Characteristics (continued) VDD Current vs CLKOUT Frequency (VDD = 5.5 V, Temp. = 25ºC) 500 1000 1500 2000 2500 3000 3500 0 2 4 6 8 1 01 21 41 61 8 Frequency (MHz) VDD Current (μA) Operating VDD Current over VDD (CLKOUT = 16 MHz, Temp = 25ºC) 2000 2200 2400 2600 2800 3000 3200 2.5 3 3.5 4 4.5 5 5.5 VDD (V) VDD Current (μA)
©2006 Semtech Corp. www.semtech.com POWER MANAGEMENT SH3003 POWER MANAGEMENT Typical Characteristics (continued) Free Running HF DCO Short Term Frequency Stability (CLKOUT = 8 MHz) -400 -300 -200 -100 100 200 300 -500 500 1500 2500 3500 4500 5500 6500 Time (seconds) ppm Deviation FLL Locked HF DCO Jitter over Jitter Bandwidth (CLKOUT = 12.8 MHz) 100 1000 10000 100000 0.1 1 10 100 1000 10000 100000 Jitter Bandwidth (kHz) rms Jitter (ps)
28©2006 Semtech Corp. SH3003 www.semtech.com Not authorized for release outside of Semtech - DRAFTPOWER MANAGEMENT Outline Drawing - MLP 3 x 3 mm 16 pins
©2006 Semtech Corp. www.semtech.com POWER MANAGEMENT SH3003 POWER MANAGEMENT Land Pattern - MLP 3 x 3 mm 16 pins
30©2006 Semtech Corp. SH3003 www.semtech.com Not authorized for release outside of Semtech - DRAFTPOWER MANAGEMENT Semtech Corporation Power Management Products Division
200 Flynn Road, Camarillo, CA 93012
Phone: (805) 498-2111 Fax: (805) 498-3804 Contact Information www.semtech.com Copyright ©2002-2006 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. Changes may be made to this product without notice. Customers are advised to obtain the latest version of the relevant informa- tion before placing orders. LIMITED LICENSE GRANTED: NO WARRANTIES MADE This specifi cation is provided “as is” with no warranties whatsoever including any warranty of merchantability, fi tness for any par- ticular purpose, or any warranty otherwise arising out of any proposal, speci fi cation 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 spe- cifi c application. A license is hereby granted to reproduce and distribute this speci fi cation for internal use only. No other license, expressed or implied to any other intellectual property rights is granted or intended hereby. Authors of this speci fi cation disclaim any liability, including liability for infringement of proprietary rights, relating to the implementation of information in this specifi ca- tion. Authors of this specifi cation also do not warrant or represent that such implementation(s) will not infringe such rights.