This version (14 Jan 2021 05:34) was approved by Robin Getz.The Previously approved version (12 Jun 2019 17:04) is available.Diff

ADRV-PACKRF Production Testing


Production tests for ADRV-PACKRF BOX are composed of a series of Bash scripts that run both on Raspberry Pi and DUT (Device under test). The tester only interacts with the Raspberry Pi through a keyboard and monitor. Connected to the Raspberry PI should be an HDMI display where information about tests, required tester actions and results are displayed.

Assembling of the box is split in two phases (Partial Assembly and Full Assembly). After each assembly phase the corresponding testing batch must be run.

If one of the test fails the testing sequence will stop and “FAILED” message will be printed. Tester can get information related to what component failed. After that he can either try to test again or mark the tested device as defective.

A set of log files is created and stored on Raspberry PI SD card. These logs can be used to supervise the testing process.

The complete test jig should look like:

Required Hardware

  • 1 PACKRF box
    • 1 MicroSD card prepared for PACKRF
  • 1 Raspberry PI
    • 1 MicroSD card prepared for Raspberry PI
  • 1 5V-Micro USB power supply for Raspberry PI
  • 1 DC Wallwart (12V, 3A)
  • 1 POE Injector BOX
  • 2 Ethernet cables
    • One connected Raspberry PI ↔ POE Injector Data IN
    • One connected POE Injector Data OUT ↔ PACKRF
  • 1 USB media drive with type A to micro OTG adapter
  • 1 SMA ↔ SMA loopback cable
  • 1 pair of headphones CTIA standard with media buttons
  • 1 loopback TRRS jack
  • 1 ADALM PLUTO used for GPS spoofing
  • 1 SMA DC blocker

Test Setup

  • Complete Partial Assembly of the radio.
  • Connect an HDMI monitor to the Raspberry Pi.
  • Connect a USB keyboard to the Raspberry PI.
  • Connect an Ethernet cable to the Raspberry Pi and Radio.
    • The Ethernet port of the Raspberry PI is configured with static IP and a DHCP server is running on it. So is not recommended to connect anything other than the POE-Injector or the RFSOM-BOX.
  • Connect a 5V Power Supply to the “PWR IN” port of the Raspberry PI.
  • Turn on the Raspberry Pi. After it powers on it should boot up Linux and the testing screen should be visible on the monitor.
  • Connect DC Wall wart adapter and POE Injector to SOM-BOX PCB.


The SD card image used for production testing has no differences compared to the one prepared for shipping of the PackRF. To create it please follow the instructions presented here: Zynq & Altera SoC Quick Start Guide and here: SD card update sub-section “User Space Tools”

Raspberry PI SD card

The SD image used is based on Raspbian Stretch with desktop. On top of that the “” script should be run to prepare the testing framework.

To set the PI SD card please follow the steps:

  • Write a clean Raspbian Stretch with desktop image to a minimum 8GB SD card.
  • Boot Raspberry PI with newly created card and establish internet connection on PI through Ethernet or WiFi
  • Download the test frame repository from git: “placeholder_path” and save the whole folder in /home/pi/
  • open a terminal on Raspberry, change directory to /home/pi/rfsom-box-production-test
  • run the script “./ rfsom-box jig”
  • after script execution ended, disconnect Ethernet cable from PI and reboot it
  • The PI should display after boot the test screen

Step 1 - Partial Assembly Test

This test sequence can only be started once Partial Assembly is complete.

The following items will be tested:

  • Power supply voltage output
  • Charging, Battery
  • Ethernet
  • USB
  • Real Time Clock
  • UART communication with GPS module
  • Audio CODEC and Audio Connector

Test Procedure

  1. Insert the PACK-RF SD card in the carrier card slot
  2. Connect the DC adapter barrel power connector
  3. Connect the Ethernet cable that exit POE injector
  4. Press and release the power button.
  5. Wait for the system to boot up.
  6. On test station display the following image should be visible:
  7. guides:pzsdr:carriers:packrf:start_screen.jpg
  8. Select option 1 to begin “Pre Assembly Test”
  9. Communication with device under test is established and test should start.
  10. If connection can't be established “Check Ethernet connection to DUT” warning will be displayed
  11. While test is running a log is printed on display.
  12. In picture bellow is presented a case where POE supply testing failed.
  13. If all required tests are passed the following message should be visible:
  14. Either previous test set passed or failed the selection menu will be printed on screen
  15. Now RFSOM-BOX should be powered off by entering “4” in the selection menu
  16. Continue with Full Assembly

Step 2 - Full Assembly Test

This test sequence can only be started once Full Assembly is complete.

The following items will be tested:

  • RF front-end (Transmit and Receive with SMA connectors)
  • Inertial Measurement Unit
  • GPS Satelite Locking (PLUTO GPS spoofer required)
  • Display
  • Navigation Switch / Rotary Encoder

Test Procedure

  1. Press and release the BOX power button.
  2. Wait for the system to boot up. “Analog Devices” screen should be visible on box screen.
  3. From the test selection screen now select option “2”
  4. Full assembly testing should start
  5. RF testing requires making connections between different SMA connectors using SMA ↔ SMA loop-back cable
  6. Image below shows how the result of RF testing should look after all nine connections were tested
  7. If one of the pairs failed it can be because cables are bad, connections are bad or cables are swapped between them
  8. IMU testing requires physical movement of the RFSOM-BOX
  9. GPS module testing requires an ADALM PLUTO connected through a DC BLOCK and SMA ↔ SMA cable to the GPS port of DUT. The PLUTO board will generate GPS signals and DUT should acquire location, speed and time. Locking has a timeout of 120 seconds. If no locking is acquired in this time interval the test is failed.
  10. After testing is finished and PASSED/FAIL state displayed the RFSOM-BOX should be turned off selecting option “4”
  11. PackRF assembly and testing is complete.
resources/eval/user-guides/pzsdr/carriers/packrf/testing.txt · Last modified: 14 Jan 2021 05:24 by Robin Getz