Shutdown Parameters; Xpen - Shutdown Enable Mode (*) - Sferalabs Strato Pi Base Advanced Configuration Manual

Pi logic controller
Hide thumbs Also See for Strato Pi Base:
Table of Contents

Advertisement

[p] parameter
Description
N
No parity (factory default)
E
Even parity
O
Odd parity
[s]
Description
1
1 stop bit (factory default)
2
2 stop bits

Shutdown parameters

You can start a delayed power-cycle by rising Raspberry Pi's ShutdownEnable pin.
When ShutdownEnable is set to high for at least one second, Strato Pi will wait 60
seconds (configurable with the XPWnnnnn command) and then power off the Pi board for
at least 5 seconds (configurable with the XPOnnnnn command). In the alternative "arm
mode", setting ShutdownEnable high will arm the shutdown procedure, but will not start
the power-cycle until ShutdownEnable goes low.
After being powered off, the Strato Pi UPS board will supply power to the Raspberry Pi
only when the main power source is restored (the XPPA command can change this
behavior, so that the Strato Pi UPS board will always power up the Raspberry Pi board
after a power cycle, even when powered by the battery).

XPEn - shutdown enable mode (*)

Set the shutdown enable mode.
In the default mode, the power-cycle is activated rising the Raspberry Pi's
ShutdownEnable pin.
In the alternative "arm mode", setting ShutdownEnable high will arm the shutdown
procedure, but will not start the power-cycle until ShutdownEnable goes low. After the line
goes low, Strato Pi will wait 60 seconds (configurable with the XPWnnnnn command) and
then power off the Pi board for at least 5 seconds (configurable with the XPOnnnnn
command).
Note that, if the watchdog is enabled in "arm mode", it will remain active while
ShutdownEnable is high (armed).
Using the alternate "arm mode" a shorter shutdown wait time could be configured, then
ShutdownEnable set high immediately before starting the OS shutdown procedure. The
ShutdownEnable pin should go low automatically when the CPU is halted, so that the
power cycle will occur shortly after. If the shutdown procedure fails to complete, the
watchdog will still intervene to prevent an indefinite lock.
7
Reply
XSPrbNs
XSPrbEs
XSPrbOs
Reply
XSPrbp1
XSPrbp2
Strato Pi Logic Controller

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Strato Pi Base and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Strato pi upsStrato pi canStrato pi cmStrato pi cm duo

Table of Contents