Stsllt, Sleep [delay, Sllt – ScanTool STN11xx User Manual

Page 11: Slpcp 0|1, Stn11xx powersave

Advertising
background image

STN11xx

PowerSave

<level>

voltage threshold in volts
([d]d.ddV) or raw ADC steps
(0xhhh)

<time>

number of consecutive seconds
the voltage must remain above
or below the threshold value for
the trigger to activate

VL WAKE:

<ON/OFF>, <</>>[!]<level> FOR <time> s

1.3.3 Voltage level wakeup trigger. Same format as the

voltage level sleep trigger.

VCHG WAKE: <ON/OFF>, [+/-][!]<change> IN <time> ms

1.3.4 Voltage change wakeup trigger:

<ON/OFF>

trigger

on/off

[+/-]

specifies whether the trigger
detects only rising voltage (+),
only falling voltage (-), or a
voltage change in any direction
(no sign)

[!]

this designator indicates that the
voltage change setting is invalid,
i.e. cannot be achieved with the
current voltage calibration

<change>

voltage change in volts
([d]d.ddV) or raw ADC steps
(0xhhh)

<time>

number of milliseconds between
voltage samples


SLEEP [delay]

Enter sleep mode. Takes optional delay parameter

in seconds. When the delay is specified, the command
prints “OK”, and returns to the command prompt. The
sleep mode will be entered after the specified delay
time. When the parameter is empty or 0 seconds delay
is specified, the command will print “OK<CR>” and
immediately put the device to sleep.

SLLT

Report last sleep/wakeup triggers, in this format:

SLEEP: <sleep trigger>
WAKE: <wakeup trigger>


Sleep trigger can be one of the following:

Trigger Description

NONE

Device did not enter sleep mode
since last reset

CMD

STSLEEP or ATLP command

UART

UART inactivity timeout

EXT

External sleep control input

VL Voltage

level

Wakeup trigger can be one of the following:

Trigger Description

NONE

Device did not wake up from sleep
since last reset

UART UART

Rx

pulse

EXT

External sleep control input

VL Voltage

level

VCHG Voltage

change


Example:

SLEEP: CMD 

 

WAKE:  UART 

SLPCP 0|1

Set polarity of the PWR_CTRL output.

0: Normal power = HIGH, Low power mode = LOW
1: Normal power = LOW, Low power mode = HIGH

The default setting is 0.

Note: This command is available only for STN1110

stand-alone IC.

STN11XXPSB www.ScanTool.net

11

of 13

Advertising