Testing Internal Serial Communications To The Display Using The Python Based Nec Pd Sdk - NEC C751Q Setup Manual

Large-screen displays raspberry pi compute module
Hide thumbs Also See for C751Q:
Table of Contents

Advertisement

3. Edit the config.txt file to allow application access to the serial port:
sudo nano /boot/config.txt
Edit to either add or change so there is a line with "enable_uart=1"
If using the Compute Module 3 add the following two lines:
dtoverlay=uart1
core_freq=250
Save the file by pressing CONTROL+o then ENTER.
Exit Nano by pressing CONTROL + x.
4. Reboot using:
sudo reboot
Important: When the Raspberry Pi boots up, all of the bootup information can be sent to the serial port
for debugging purposes. Since this serial port is connected internally to the display, this may overwhelm
the display and cause erratic behavior (such as the OSD flashing, random operations being performed,
slow bootup of the Compute Module, etc.). If the internal connection is enabled (the MONITOR
CONTROL setting on the COMPUTE MODULE menu of the OSD is set to ENABLE) then the bootup
information must be disabled.
7.7 Testing internal serial communications to the display using the
Python based NEC PD SDK
1. Install the Python based NEC PD SDK files, and download the examples. See Python Based NEC
PD SDK on page 63.
2. If necessary, install the Python serial module. This should normally be automatically installed.
sudo apt-get install python-serial
3. Run the test file in the SDK.
python test_routines_example.py
4. The application should output information about the display, such as model name and serial
number.
Note: Confirm the MONITOR CONTROL is set to ENABLE on the OSD.
©2018 NEC Display Solutions, Ltd.
Page 37 of 71

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents