|
MC68HC68T1 Datasheet, PDF (20/26 Pages) Motorola, Inc – Real-Time Clock plus RAM with Serial Interface | |||
|
◁ |
AC LINE
BRIDGE/
REGULATOR
RCHARGE
NOTE 2
NOTE 1
100 kâ¦
13
VBATT
14
16
10
VDD POR
0.1 mF
VSYS 12
40
VDD
15
INT 3
MC68HC68T1
11 LINE
CPUR 2
CLKOUT 1
SS
7
6
MISO
5
MOSI
SCK 4
2 IRQ
VDD
MC68HC05C4
1
NOTE 3
RESET
39 OSC 1
28 PORT (e.g., PC0)
31 MISO
32 MOSI
33 SCK
NOTES:
1. The LINE input pin can sense when the switch opens by use of the power sense interrupt. The MC68HC68T1 crystal
drives the clock input to the CPU using the CLKOUT pin. On powerâdown when VSYS < VBATT + 0.7 V, VBATT
powers the clock. A threshold detect activates an onâchip P channel switch, connecting VBATT to VDD. VBATT
always supplies power to the oscillator, keeping voltage frequency variation to a minimum.
2. For 32.768 kHz oscillator, see Figure 12. This configuration, when the MC68HC68T1 supplies the MCU clock, usually
requires a 1 to 4 MHz clock.
3. If an MC68HC11 MCU is used, delete the capacitor at the RESET pin.
Figure 19. ExternallyâControlled Power System
POWERâSENSING POWERâDOWN PROCEDURE
A procedure for powerâdown operation consists of the fol-
lowing:
1. Set power sense operation by writing bit 5 high in the
interrupt control register.
2. When an interrupt occurs, the CPU reads the status
register to determine the interrupt source.
3. Sensing a power failure, the CPU does the necessary
housekeeping to prepare for shutdown.
4. The CPU reads the status register again after several
milliseconds to determine validity of power failure.
5. The CPU sets powerâdown (bit 6) and disables all
interrupts in the interrupt control register when
powerâdown is verified. This causes the CPU reset and
Clock Out pins to be held low and disconnects the serial
interface.
6. When power returns and VSYS rises above VBATT +
0.7 V, powerâup is initiated. The CPU reset is released
and serial communication is established.
MC68HC68T1
20
MOTOROLA
|
▷ |