3 powersave commands, Powersave commands, Family reference and programming manual – ScanTool STN1100 FRPM User Manual

Page 11

Advertising
background image

Family Reference and Programming Manual

STN1100FRPMA www.obdsol.com

11 of 23

1110

one-time programmable

1120 microOBD

200


X.Y is the device hardware revision number.

Example: OBDLink r1.7 

I

Prints firmware ID string, in this format:

STN<device_id> vX.Y.Z


X.Y.Z is the firmware version number.

Example: STN1101 v1.1.0


MFR

Print the device manufacturer ID string. On

STN1110, this command returns “Generic” by default.

SN

Print the device serial number. Serial numbers for

all devices are 12 digits long, and begin with the device
ID, making each serial number unique across all
STN11xx devices:

<device_id><serial_number>

Example: 110012345678

The serial number is programmed at the factory and

cannot be changed.


6.3 PowerSave Commands

STN11xx features PowerSave, a sophisticated

power management system, which is described in
detail in section 10.0. This section describes the
commands used to configure and control PowerSave.

SLCS

Print active PowerSave configuration summary.

Only active configuration is printed, therefore to see
native configuration settings, ELM327 control mode
has to be turned off and device reset after any
configuration settings have been changed.

The configuration is printed in the following format:

CTRL MODE: <NATIVE / ELM327>

PWR_CTRL: LOW PWR = <LOW / HIGH>
UART SLEEP: <trig ON / OFF>, <inactivity timeout> s

UART WAKE: <trig ON/OFF>, <pulse min>-<pulse max> us

EXT INPUT: <LOW / HIGH> = SLEEP

EXT SLEEP: <trig ON / OFF>, <min active time> ms
EXT WAKE: <trig ON / OFF>, <min inactive time> ms

Example: CTRL MODE:   NATIVE   
 

PWR_CTRL:    LOW PWR = LOW   

 

UART SLEEP:  OFF, 1200 s  

 

UART WAKE:   ON,  0‐30000 us  

 

EXT INPUT:   LOW = SLEEP 

 

EXT SLEEP:   OFF, 3000 ms  

 

EXT WAKE:    ON,  2000 ms 


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
enter sleep mode right away.

SLLT

Report last sleep/wakeup triggers, in this format:

SLEEP: <trigger>
WAKE: <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


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


Example: SLEEP: CMD 
 

WAKE:  UART 


SLPCP 0/1

Set PWR_CTRL output polarity.
0: LOW = low power mode, HIGH = normal power
1: LOW = normal power, HIGH = low power mode
The default setting is 0.
Note: This command is available only for STN1110

stand-alone IC.

SLU sleep, wakeup

Advertising