beautypg.com

Stby pin, Wakeup pin, Jp2 and jp3 settings – Epson S5U1C17801T1100 User Manual

Page 36: Rsto (power switch) and wakeup pin, Shifting to standby mode

background image

10 POWER CONTROL CIRCUIT FOR BATTERY BACKUP FUNCTION

30

EPSON

S5U1C17801T1100 HARDWARE MANUAL

(SOFTWARE EVALUATION TOOL FOR S1C17801)

#STBY Pin

This pin is used to disconnect the RTCV

DD

line from the V

DD

line (AV

DD

line) electrically.

If a LOW signal is input to the pin, area covered by the RTCV

DD

line becomes electrically independent of other

area. Stopping power supply to the V

DD

line (AV

DD

line) while a high signal is input causes inconstant signals

to be entered into RTC or IVRAM, or current to be leaked from the RTCV

DD

line to the V

DD

line. Therefore, be

sure to input a LOW signal to #STBY pin before stopping power supply to the V

DD

line (AV

DD

line).

Notes: The RTCV

DD

area cannot be accessed while the #STBY pin is in LOW status. A HIGH signal must be

output from P43 to make the #STBY pin HIGH status before gaining access to the RTCV

DD

area.

WAKEUP Pin

This signal pin is used to restore the SVT17801 from battery backup status to normal status.

The V

DD

and AV

DD

lines can be turned on using the WAKEUP pin. For the SVT17801, this pin is connected to

the ENABLE pin on regulator,and so the power supply can be resumed by outputting a HIGH signal to the EN-
ABLE pin.

The WAKEUP pin can be controlled by using RTC.

JP2 and JP3 Settings

In order to enable backup battery function on the circuit installed on SVT17801 as shown in the figure 10.2.1,
JP2 and JP3 must be set to WAKEUP ENABLE and Battery respectively (both factory default).

JP2 is located just before the WAKEUP pin s entering into an OR circuit, and if JP2 is set to WAKEUP DIS-
ABLE, 5V instead of WAKEUP pin is input to the OR circuit, turning regulator always ON.

JP3 selects supply source of RTCV

DD

shown in the figure 10.2.1. If Battery is selected, RTCV

DD

is supplied

from the coin cell battery (CR2032) and if V

DD

is selected, RTCV

DD

is supplied from V

DD

. For detail of JP set-

tings, see Chapter 8.

RSTO (Power Switch) and WAKEUP Pin

The following list shows GPIO (PC2) status and V

DD

voltage according to power switch and WAKEUP pin

statuses when JP1 and JP2 are set to EnableWakeup and Battery respectively in the circuit shown in the figure
10.2.1.

Table 10.2.1 PC2 and V

DD

Status According to Power Switch and WAKEUP Pin

Power Switch

WAKEUP (HIGH Active)

GPIO(PC2)

V

DD

(V)

CLOSE (being pressed)

HIGH

HIGH

3.3

OPEN

HIGH

LOW

3.3

CLOSE (being pressed)

LOW

HIGH

3.3

OPEN

LOW

LOW

0

GPIO(PC2) is a signal representing OPEN/CLOSE status of power switch, and used when controlling power
supply.

Shifting to Standby Mode

The following is an example to show how to set up standby mode in the circuit shown in the figure 10.2.1.

Set JP1 to EnableWakeup and turn the system power (V

DD

) on.

CPU starts working.

After setting P43 to HIGH output and the STBY pin to HIGH, set WAKEUP to HIGH active and

WAKEUP output signal to HIGH. (to enable WAKEUP status)

• • •

Press power switch. (Pressing the power switch turns PC2 HIGH.)

If PC2 s HIGH status is detected, set P43 to HIGH output and the STBY pin to HIGH (to enable write

to IVRAM inside RTC).

Write RTC setting data to IVRAM.