-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add more details to README.md and improve documentation
- Loading branch information
1 parent
89fb941
commit a163e3c
Showing
4 changed files
with
96 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,51 @@ | ||
[[_TOC_]] | ||
|
||
## Energy Test | ||
## Energy Test Connections | ||
|
||
### Power Board (LPM01A) | ||
![LPM01A Wiring](img/LPM01A.jpg) | ||
### Interface Board (STM32H573I-DK) | ||
![STM32H573I-DK Top Wiring](img/STM32H573I-DK-Top.png) | ||
![STM32H573I-DK Bottom Wiring](img/STM32H573I-DK-Bottom.png) | ||
### Device Under Test (L4R5ZI) | ||
![DUT Wiring](img/L4R5ZI.png) | ||
![DUT Wiring](img/L4R5ZI.png) | ||
|
||
## Test Runner | ||
The test runner connects to the interface board and the power board and the dut. It will execute test scripts. | ||
Test script is determined by the configuration of the hardware. | ||
|
||
### Test Scripts `tests.yaml` | ||
#### Example | ||
```yaml | ||
<<model_id>>: | ||
name: <<test_name>> | ||
model: <<model_id>> # the same as above | ||
truth_file: <<path>> # The path to ground truth values | ||
script: | ||
- list | ||
- of | ||
- commands | ||
``` | ||
#### Syntax | ||
- `download` Download data to the test device | ||
- `loop` Run the commands a number of time | ||
- `infer` Run inference For a number of cycles | ||
|
||
### Device Configuration `devices.yaml` | ||
The device file defines available devices that are automatically detected by the `DeviceManager` | ||
|
||
#### `name`: The name of the device | ||
#### `type`: the device type (`interface` or `power`) | ||
#### `preference`: The relative importance if two are detected. Higher numbers are higher preference. | ||
#### `usb`: `dict` where the key is `vid` and the value is a `pid` or list of `pid`s | ||
#### `usb_description`: String to match in the USB description | ||
|
||
### Device Under Test Configuration `dut.yml` | ||
Optionally define `baud` and `voltage` | ||
|
||
## Open Items | ||
- Add start and stop playback to the script | ||
- fix looping | ||
- write the data out in the original format |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters