This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
resources:eval:user-guides:ad-fmcomms2-ebz:testing [02 Apr 2018 19:40] – [Required hardware] Robin Getz | resources:eval:user-guides:ad-fmcomms2-ebz:testing [27 Jun 2022 15:01] – [Required software] Monica Constandachi | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Production testing of the AD-FMCOMMS2 / AD-FMCOMMS3 / AD-FMCOMMS4 / AD-FMCOMMS5 | + | ====== Production testing of the AD-FMCOMMS2 / AD-FMCOMMS3 / AD-FMCOMMS4 / AD-FMCOMMS5 |
===== Overview ===== | ===== Overview ===== | ||
Line 5: | Line 5: | ||
The production testing is quite simple. Since each board has been completely characterized, | The production testing is quite simple. Since each board has been completely characterized, | ||
- | There are multiple test files for the different boards. (all in [[https:// | + | There are multiple test files for the different boards. (all in GitHub) |
- | * FMComms1_test.ini : used to test AD-FMCOMMS1-EBZ | + | * test_fmcomms2-3_prod |
- | * FMComms2_test.ini | + | * test_fmcomms4_prod: used to test AD-FMCOMMS4-EBZ |
- | * FMComms4_test.ini | + | * test_fmcomms5_prod |
- | * FMComms5_test.ini | + | |
- | * ADRV9363_test.ini : used to test ADRV9363-PCBZ | + | |
- | The tests and test parameters are in in the '' | + | The tests and test parameters are in in the " |
+ | -Temperature | ||
+ | -Voltage | ||
+ | - RF | ||
+ | - Peaks | ||
+ | - DCXO | ||
+ | - Loopback | ||
- | ==== Temperature | + | ===== Required hardware ===== |
- | <source master/profiles/FMComms2_test.ini: | + | * Zynq ZC706 |
+ | * Raspberry Pi4 | ||
+ | * [[adi> | ||
+ | * RF loopback cables (2x for FMCOMMS2/3/4, 4x for FMCOMMS5) | ||
+ | * External monitor connected to the Raspberry Pi via micro HDMI | ||
+ | * Keyboard and mouse (with USB hub if they aren't part of a combo device) | ||
+ | * Ethernet cable (needs to be plugged into the internet) | ||
+ | * QR code scanner | ||
+ | * For the FMCOMMS2/3/4: Frequency counter with a USB-GPIB port (tested with an HAMEG Instruments, | ||
+ | ===== Required software ===== | ||
- | The '' | + | **Creating a ZY706 carrier SD test card** |
+ | * First, write the latest available SD card image found to a spare card and prepare | ||
+ | <WRAP hi round download 80%> | ||
+ | * **18 January 2022 release ** | ||
+ | * [[https:// | ||
+ | </WRAP> | ||
+ | <WRAP hi round download 80%> | ||
+ | * **27 June 2022 release ** | ||
+ | * [[https:// | ||
- | ==== Voltage ==== | + | </ |
- | <source master/profiles/ | + | **Note that different board use different test scripts as seen in the following mapping: |
+ | * test_fmcomms2-3_prod.py | ||
+ | * test_fmcomms4_prod.py | ||
+ | * test_fmcomms5_prod.py | ||
- | This section needs a quick peek at the [[./ | + | **Creating |
- | + | * The SD image used is based on Raspbian with desktop. | |
- | Since '' | + | <WRAP hi round download 80%> |
- | + | | |
- | These codes do not accounts for the ±1% resistors, and ±0.3% reference inside the AD7291, and the ±4.5 LSB (for worse case Offset Error from the AD7291). | + | |
- | + | | |
- | ^ Input channel ^ Description ^ Nominal Voltage ^ Tolerance ^ V< | + | |
- | ^ | + | |
- | | 0 | | + | |
- | | 1 | | + | |
- | | 2 | | + | |
- | | 3 | 1P3_SUPPLY_A | + | |
- | | 4 | VDD_INTERFACE | + | |
- | | 5 | 1P3_SUPPLY_B | + | |
- | + | ||
- | Other boards (like FMCOMMS5) need to monitor other voltages, but use the same scheme. | + | |
- | + | ||
- | ^ Description ^ Nominal Voltage ^ Tolerance ^ V< | + | |
- | ^ | + | |
- | | 1P8V | 1.8V | ±5% | 1.89V | 1.172003V | 1980 | 1.71V | 1.044194V | 1661 | | + | |
- | | 5V((uses different resistors)) | 5.0V | ±5% | 5.25V | 2.359288V | 3985 | 4.75V | 2.087680V | 3321 | | + | |
- | + | ||
- | It's just a matter of determining what the voltage should be (by following it back on the schematic), and doing a few simple calculations. | + | |
- | + | ||
- | ==== RF ==== | + | |
- | + | ||
- | <source master/ | + | |
- | + | ||
- | This sets and checks various RF settings - it should be mostly human readable. If it's not, please ask. | + | |
- | + | ||
- | ==== DCXO ==== | + | |
- | + | ||
- | For the FMCOMMS2/3/4, where the AD9361/64 are tied to a crystal, there is the ability to " | + | |
- | + | ||
- | <WRAP box bggreen fgblack> | + | |
- | < | + | |
- | # **fru_dump -i / | + | |
- | </ | + | |
</ | </ | ||
+ | <note tip>To write an image on a SD card you can follow the instructions [[https:// | ||
- | Note that the value passed | + | ===== Required setup ===== |
+ | {{ : | ||
+ | - Attach | ||
+ | - Insert the SD card into the carrier board. | ||
+ | - Insert the FMCOMMS board onto the carrier | ||
+ | - Connect the HDMI cable to Raspberry Pi | ||
+ | - Connect USB keyboard to Raspberry Pi | ||
+ | - Insert SD card into Raspberry Pi | ||
+ | - Connect Ethernet cable between Raspberry Pi and the carrier | ||
+ | - Connect the scanner to Raspberry Pi | ||
+ | - Connect the frequency counter to Raspberry Pi | ||
+ | - Power the carrier board and Raspberry Pi | ||
+ | {{ : | ||
+ | {{ : | ||
- | For the FMCOMMS5, only the current value of the reference clock is measured and saved since it doesn' | ||
+ | < | ||
+ | {{ : | ||
- | ===== Creating an SD test card ===== | + | Make sure to connect to your WIFI Network before testing. You can exit the test window by pressing CTRL+C in order to access the connection. Reboot the system in order to return to the test window. |
+ | {{ : | ||
- | First, write the latest available SD card image found at https:// | ||
- | Then the card needs to be modified to run the tests automatically on boot. Test scripts are provided in https:// | + | ===== Test process ===== |
- | Note that different boards use different | + | Firstly, make sure all the required steps from the setup explained above are completed. Once the setup is ready, testing should be done using the following steps: |
+ | * Power the carrier board and the Raspberry Pi. The following screen will appear once the system has booted. | ||
+ | {{ : | ||
+ | * The testing sequence can be started by selecting one of the menu items. **In order to start testing, an Ethernet cable should be connected between Raspberry Pi and DUT**. | ||
+ | * Start the DCXO test by writing the following command in the terminal: 1 | ||
+ | * At the beginning of every test, the connection with DUT is checked. If the connection is correctly established, | ||
+ | {{ : | ||
+ | * Use the scanner to scan the QR code on the board | ||
+ | * If the DCXO test has been completed, the PASSED message will appear on the screen | ||
+ | {{ : | ||
+ | * Secondly, start the FMCOMMS4 test by writing the following command in the terminal: 2 | ||
+ | {{ : | ||
+ | * In the beginning, scan the QR code on the board | ||
+ | * If connections are OK, the test will begin. Below is an example of a test running: | ||
+ | {{ : | ||
+ | * If the FMCOMMS test has been completed, the PASSED message will be printed on the screen. This means that the DUT passed all the assigned | ||
+ | {{ : | ||
+ | * If one of the tests failed, the FAILED message will be printed | ||
+ | {{ : | ||
+ | * In case of a failed test, the tester can repeat the test immediately. The test can be repeated an undefined number of times. | ||
+ | * After completing the test, power off the carrier by typing 4. After several seconds, power off the carrier board using the physical switch. | ||
+ | * In order to power off Linux, please type 3 and enter. | ||
+ | * Remove the FMCOMMS card and previously used board. Return to step 1 with the next board. | ||
- | * test_fmcomms2.sh : used to test AD-FMCOMMS2-EBZ and AD-FMCOMMS3-EBZ | ||
- | * test_fmcomms4.sh : used to test AD-FMCOMMS4-EBZ | ||
- | * test_fmcomms5.sh : used to test AD-FMCOMMS5-EBZ | ||
- | * test_adrv9363.sh : used to test ADRV9363-PCBZ | ||
- | Select the correct script above for target test setup and alter the launcher for osc to run that test script instead of a regular osc instance. See the following example diff for required changes to the launcher to run the FMCOMMS2/3 tests on boot: | + | <note important>When testing is finished, ZC706 and the Raspberry Pi should always be powered off from terminal before power is unplugged, otherwise |
- | + | ||
- | <code diff> | + | |
- | --- ./ | + | |
- | +++ ./ | + | |
- | @@ -1,11 +1,11 @@ | + | |
- | + | ||
- | | + | |
- | | + | |
- | -Exec=/ | + | |
- | +Exec=sudo / | + | |
- | | + | |
- | | + | |
- | | + | |
- | </ | + | |
- | + | ||
- | ===== Required hardware ===== | + | |
- | + | ||
- | * [[xilinx> | + | |
- | * [[https:// | + | |
- | * [[adi> | + | |
- | * RF loopback cables (2x for FMCOMMS2/3/4, 4x for FMCOMMS5) | + | |
- | * External monitor connected | + | |
- | * Keyboard and mouse (with USB hub if they aren't part of a combo device) | + | |
- | * USB OTG adapter (to plug in the keyboard/ | + | |
- | * Ethernet cable (needs to be plugged into the internet) | + | |
- | * For the FMCOMMS2/ | + | |
- | + | ||
- | ===== Required setup ===== | + | |
- | + | ||
- | * Plug in the external monitor and connect it via HDMI to the carrier board. | + | |
- | * Connect the USB OTG adapter (and USB hub if needed) to the USB port on the carrier, then plug in the keyboard and mouse as well. | + | |
- | * Plug in the carrier board, insert the SD card for running the tests, and confirm that the carrier board is set to boot from SD (TODO: insert image). | + | |
- | * Attach the carrier board via the Ethernet cable to a network connection with Internet accessibility (used for time syncing). | + | |
- | * For the FMCOMMS2/ | + | |
- | + | ||
- | ===== Test process ===== | + | |
- | - Attach the RF loopback cables to the card. See the images at the bottom of the page for correct placement for each type of board. | ||
- | - Plug the card into the carrier board. | ||
- | - Power on the carrier board. | ||
- | - When prompted with a window similar to the following image (TODO: insert image), enter the serial number found on the board and select the correct EEPROM file to write to the card. | ||
- | - When tests pass, the following window should be shown (TODO: insert image) and if tests fail, a window similar to the following image should be shown (TODO: insert image). In either case, hit the OK button to halt Linux and after several seconds power off the carrier board via the physical switch. | ||
- | - Remove the FMCOMMS card and return to step 1 to continue with the next board. | ||
^ RF loopback cable placement | ^ RF loopback cable placement | ||
| {{resources: | | {{resources: | ||
^ FMCOMMS2/ | ^ FMCOMMS2/ |