Skip to content

Commit

Permalink
Updated README and added images
Browse files Browse the repository at this point in the history
Signed-off-by: Trecia Agoylo <[email protected]>
  • Loading branch information
tagoylo committed Mar 23, 2021
1 parent 845dadf commit 4598733
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions cn0534/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,19 @@ The main script is based on the `power_check.c` script found on the [plutosdr_sc

Running first the build script is necessary. Prior to running, set the build environment first in the `./build_arm.sh`, change the CC_DIR to the path of the bin folder of the compiler.

For Linux, with the cross compiler set on the host pc and linked with the sysroot used by the pluto, run `./build_arm.sh`. With this build, the binary file can now be stored in a flash drive together with the `runme0.sh` and `parameters.txt`. And upon pluto power up, the binary test file automatically starts and the test is now running.
For Linux, with the cross compiler set on the host pc and linked with the sysroot used by the pluto, run `./build_arm.sh`. The sysroot used should match to the firmware of pluto. As of this writing, pluto firmware v0.30 is used. The sysroot folder should be in the same directory as the `./build_arm.sh`. Also, updating Pluto to AD9364 frequency range is necessary to accommodate CN0534 frequency range.

The sysroot used should match to the firmware of pluto. As of this writing, pluto firmware v0.30 is used. The sysroot folder should be in the same directory as the `./build_arm.sh`.Also, updating Pluto to AD9364 frequency range is necessary to accommodate CN0534 frequency range.
![Build Folder Structure](images/build_folder_structure.png)

With this build, the binary file can now be stored in a flash drive together with the `runme0.sh` and `parameters.txt`. And upon pluto power up, the binary test file automatically starts and the test is now running.

![Flashdrive files](images/Flashdrive_files.png)

What this script will do:
1. Get test parameters from parameters.txt.
1. Get test parameters from parameters.txt.
2. Run test in every test line.
3. Frequency and scale is set on Pluto and the received signal is measured.
4. The test checks for frequency tolerance, sfdr, RSSI and peak power.
5. After execution of the test, LED1 will be Solid ON if the EVAL CN0534-EBZ passes the necessary tests. .
6. If an error happens, or invalid measurements persist 3 retries, LED1 will be turned OFF if the EVAL-CN0534-EBZ fails the tests
5. CN0534 DS2 (red LED) should turn on once during the test.
6. After execution of the test, LED1 will be Solid ON if the EVAL CN0534-EBZ passes the necessary tests. .
7. If an error happens, or invalid measurements persist 3 retries, LED1 will be turned OFF if the EVAL-CN0534-EBZ fails the tests
Binary file added cn0534/images/Flashdrive_files.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added cn0534/images/build_folder_structure.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4598733

Please sign in to comment.