NEC RPI3CM-2 Edition Raspberry Pi Compute Module

Raspberry Pi Compute Module Setup Guide - Page 40

For RPI3CM-2.

PDF File Manual, 74 pages, Read Online | Download pdf file

RPI3CM-2 photo
Loading ...
Loading ...
Loading ...
©2019 NEC Display Solutions, Ltd. Page 40 of 74
8.8 Configuring the Compute Module to shutdown using shutdown
signal from the display
An example Python script rpi_shutdown.py is included with the Python based NEC PD SDK. The
script shows how to monitor GPIO 23 for a high to low transition, and how to use this to gracefully
shutdown the Operating System on the Compute Module before power to the module is removed by the
display. Normally this script should be started when the Operating System starts. This can be
accomplished by adding it to the /etc/rc.local file on the system. See the instructions provided in the
sample file for more details.
To enable the Shutdown Signal from the display:
1. On the NEC display navigate to the COMPUTE MODULE menu on the OSD.
2. Select SERVICE MENU.
3. Confirm that the SHUTDOWN SIGNAL is set to ENABLE.
If not set, then:
a. Select SETTING LOCK and then select OFF.
b. Enter the passcode. The default is 0 0 0 0.
c. Select SHUTDOWN SIGNAL and then select ENABLE.
4. Adjust the POWER SUPPLY OFF DELAY setting to set the delay between setting the shutdown
signal (GPIO 23 goes low) and power to the Compute Module being turned off by the display.
1
2
3
4
Loading ...
Loading ...
Loading ...