NEC MPI4E RaspberryPi 4 System on a Chip Solution

Raspberry Pi Compute Module Setup Guide - Page 65

For MPI4E.

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

MPI4E photo
Loading ...
Loading ...
Loading ...
©2021 Sharp NEC Display Solutions, Ltd. Page 65 of 86
10 Python Based NEC PD SDK
Sharp NEC Display Solutions has created a Python based SDK (Software Development Kit) to support
many of the display functions easily via the Operating System running on the Compute Module.
Examples of supported functions are:
Reading status information from the display, such as:
o Model name
o Serial number
o Temperature and fan statuses
o Diagnostic information
o Operating hours
o LAN IP and MAC addresses
This makes it very easy to integrate support for remote diagnostics and asset management into
any software running on the Compute Module.
Reading and writing almost any configuration setting and control within the display, such as:
power, video settings, schedules, Picture-in-Picture, Tile Matrix, etc.
This can be used to easily configure or reset settings via remote using a script.
Accessing the display’s internal Real Time Clock. This can be used to set the Operating System’s
clock when it is unable to get the current time from the network.
Monitoring the Shutdown signal from the display on GPIO 23 to gracefully shutdown any
running software and the Operating System, before the display turns off power to the Compute
Module.
Periodically send reset commands to the display’s built in Watchdog Timer, to signal that the
Operating System is currently running correctly. The lack of a reset signal would indicate that
the CPU on the Compute Module is hung, and the display would automatically restart the
Compute Module.
Communications with the display is via the UART on the Compute Module and an internal serial
connection to the display. It is also possible to communicate with the display over LAN via its IP address.
The SDK supports communicating via both serial and LAN.
The SDK provides APIs (Application Programming Interfaces) for most of the commands supported by
the display, so it is not necessary to start understanding the communications protocol from scratch.
However, it is highly recommended to refer to the “External Control” document for the model being used
to understand the parameters and function of each API.
The SDK can be installed from Raspberry Pi OS using either of the following commands:
sudo easy_install nec_pd_sdk
or
sudo H pip install nec_pd_sdk
It can also be downloaded or cloned from the repository on GitHub:
Loading ...
Loading ...
Loading ...