Skip to content

Testing the BeagleBone Section controller integration

Marton Bur edited this page Mar 20, 2017 · 2 revisions

To test the expander headers, two scripts can be used. The preferred way to run these script is through clusterssh.

The devices can be reached through t1.modes3.intra — t6.modes3.intra The following scripts can be found in the home directory.

enabler.py

This scripts enables/disables all the pins on the expander header. To start, please consider running the following command in the shell of the BeagleBone Black: sudo python enabler.py. The script prints out either DISABLED, or ENABLED according to state of the pins.

test_sections.py

This script iterate through all the pins. All of the expander headers are divided into two configurations:

Pinout of the section controller:

  Lower half
  _____
 /     \
=============
|  |  |  |  | <-- Header pins
=============
     \_____/
      Higher half

Each test includes a header, and the following sequence, which can be iterated with a enter. - Lower half enabled - Lower half disabled - Higher half enabled - Higher half disabled

To start, please consider running the following command in the shell of the BeagleBone Black: sudo python test_sections.py.

Clone this wiki locally