shepherd-core 2023.12.1__py3-none-any.whl → 2024.4.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- shepherd_core/__init__.py +3 -2
- shepherd_core/data_models/base/calibration.py +3 -1
- shepherd_core/data_models/base/content.py +11 -4
- shepherd_core/data_models/base/shepherd.py +2 -0
- shepherd_core/data_models/content/energy_environment.py +1 -1
- shepherd_core/data_models/content/virtual_harvester.py +1 -1
- shepherd_core/data_models/content/virtual_source.py +18 -13
- shepherd_core/data_models/experiment/experiment.py +10 -10
- shepherd_core/data_models/experiment/observer_features.py +5 -6
- shepherd_core/data_models/task/observer_tasks.py +1 -1
- shepherd_core/data_models/task/testbed_tasks.py +7 -3
- shepherd_core/data_models/testbed/cape.py +1 -1
- shepherd_core/data_models/testbed/gpio.py +1 -1
- shepherd_core/data_models/testbed/mcu.py +1 -1
- shepherd_core/data_models/testbed/observer.py +1 -1
- shepherd_core/data_models/testbed/target.py +1 -1
- shepherd_core/data_models/testbed/testbed.py +1 -1
- shepherd_core/decoder_waveform/uart.py +1 -0
- shepherd_core/fw_tools/validation.py +1 -2
- shepherd_core/inventory/__init__.py +51 -1
- shepherd_core/inventory/system.py +8 -0
- shepherd_core/reader.py +19 -16
- shepherd_core/testbed_client/cache_path.py +15 -0
- shepherd_core/testbed_client/client.py +2 -3
- shepherd_core/testbed_client/fixtures.py +4 -1
- shepherd_core/testbed_client/user_model.py +6 -4
- shepherd_core/vsource/virtual_converter_model.py +1 -1
- shepherd_core/vsource/virtual_harvester_model.py +1 -0
- shepherd_core/vsource/virtual_source_model.py +1 -0
- shepherd_core/writer.py +5 -2
- {shepherd_core-2023.12.1.dist-info → shepherd_core-2024.4.1.dist-info}/METADATA +49 -34
- shepherd_core-2024.4.1.dist-info/RECORD +64 -0
- {shepherd_core-2023.12.1.dist-info → shepherd_core-2024.4.1.dist-info}/WHEEL +1 -1
- {shepherd_core-2023.12.1.dist-info → shepherd_core-2024.4.1.dist-info}/top_level.txt +0 -1
- shepherd_core/data_models/content/_external_fixtures.yaml +0 -394
- shepherd_core/data_models/content/energy_environment_fixture.yaml +0 -50
- shepherd_core/data_models/content/virtual_harvester_fixture.yaml +0 -159
- shepherd_core/data_models/content/virtual_source_fixture.yaml +0 -229
- shepherd_core/data_models/testbed/cape_fixture.yaml +0 -94
- shepherd_core/data_models/testbed/gpio_fixture.yaml +0 -166
- shepherd_core/data_models/testbed/mcu_fixture.yaml +0 -19
- shepherd_core/data_models/testbed/observer_fixture.yaml +0 -220
- shepherd_core/data_models/testbed/target_fixture.yaml +0 -137
- shepherd_core/data_models/testbed/testbed_fixture.yaml +0 -25
- shepherd_core-2023.12.1.dist-info/RECORD +0 -117
- tests/__init__.py +0 -0
- tests/conftest.py +0 -64
- tests/data_models/__init__.py +0 -0
- tests/data_models/conftest.py +0 -14
- tests/data_models/example_cal_data.yaml +0 -31
- tests/data_models/example_cal_data_faulty.yaml +0 -29
- tests/data_models/example_cal_meas.yaml +0 -178
- tests/data_models/example_cal_meas_faulty1.yaml +0 -142
- tests/data_models/example_cal_meas_faulty2.yaml +0 -136
- tests/data_models/example_config_emulator.yaml +0 -41
- tests/data_models/example_config_experiment.yaml +0 -16
- tests/data_models/example_config_experiment_alternative.yaml +0 -14
- tests/data_models/example_config_harvester.yaml +0 -15
- tests/data_models/example_config_testbed.yaml +0 -26
- tests/data_models/example_config_virtsource.yaml +0 -78
- tests/data_models/test_base_models.py +0 -205
- tests/data_models/test_content_fixtures.py +0 -41
- tests/data_models/test_content_models.py +0 -282
- tests/data_models/test_examples.py +0 -48
- tests/data_models/test_experiment_models.py +0 -277
- tests/data_models/test_task_generation.py +0 -52
- tests/data_models/test_task_models.py +0 -131
- tests/data_models/test_testbed_fixtures.py +0 -47
- tests/data_models/test_testbed_models.py +0 -187
- tests/decoder_waveform/__init__.py +0 -0
- tests/decoder_waveform/test_decoder.py +0 -34
- tests/fw_tools/__init__.py +0 -0
- tests/fw_tools/conftest.py +0 -5
- tests/fw_tools/test_converter.py +0 -76
- tests/fw_tools/test_patcher.py +0 -66
- tests/fw_tools/test_validation.py +0 -56
- tests/inventory/__init__.py +0 -0
- tests/inventory/test_inventory.py +0 -20
- tests/test_cal_hw.py +0 -34
- tests/test_examples.py +0 -40
- tests/test_logger.py +0 -15
- tests/test_reader.py +0 -283
- tests/test_writer.py +0 -169
- tests/testbed_client/__init__.py +0 -0
- tests/vsource/__init__.py +0 -0
- tests/vsource/conftest.py +0 -49
- tests/vsource/test_converter.py +0 -161
- tests/vsource/test_harvester.py +0 -73
- tests/vsource/test_z.py +0 -5
- {shepherd_core-2023.12.1.dist-info → shepherd_core-2024.4.1.dist-info}/zip-safe +0 -0
|
@@ -1,229 +0,0 @@
|
|
|
1
|
-
# info:
|
|
2
|
-
# - compendium of all parameters & description
|
|
3
|
-
# - base for neutral fallback values if provided yml is sparse
|
|
4
|
-
# - -> it is encouraged to omit redundant parameters
|
|
5
|
-
---
|
|
6
|
-
- datatype: VirtualSourceConfig
|
|
7
|
-
parameters:
|
|
8
|
-
id: 1000
|
|
9
|
-
name: neutral
|
|
10
|
-
description: Direct feed-through of energy environment with no converter (allows on-off-patters)
|
|
11
|
-
# General Config
|
|
12
|
-
enable_boost: false # if false -> v_intermediate = v_input, output-switch-hysteresis is still usable
|
|
13
|
-
enable_buck: false # if false -> v_output = v_intermediate
|
|
14
|
-
|
|
15
|
-
interval_startup_delay_drain_ms: 0
|
|
16
|
-
|
|
17
|
-
harvester:
|
|
18
|
-
name: mppt_opt # harvester only active if input is "ivcurves"
|
|
19
|
-
|
|
20
|
-
V_input_max_mV: 10000
|
|
21
|
-
I_input_max_mA: 4200
|
|
22
|
-
V_input_drop_mV: 0.0 # simulate input-diode
|
|
23
|
-
R_input_mOhm: 0.0 # resistance only active with disabled boost, range [1 mOhm; 1MOhm]
|
|
24
|
-
|
|
25
|
-
C_intermediate_uF: 0.0 # primary storage-Cap
|
|
26
|
-
V_intermediate_init_mV: 3000 # allow a proper / fast startup
|
|
27
|
-
I_intermediate_leak_nA: 0.0
|
|
28
|
-
|
|
29
|
-
V_intermediate_enable_threshold_mV: 1 # -> target gets connected (hysteresis-combo with next value)
|
|
30
|
-
V_intermediate_disable_threshold_mV: 0 # -> target gets disconnected
|
|
31
|
-
interval_check_thresholds_ms: 0.0 # some BQs check every 64 ms if output should be disconnected
|
|
32
|
-
|
|
33
|
-
V_pwr_good_enable_threshold_mV: 2800 # target is informed by pwr-good on output-pin (hysteresis) -> for intermediate voltage
|
|
34
|
-
V_pwr_good_disable_threshold_mV: 2200
|
|
35
|
-
immediate_pwr_good_signal: true # 1: activate instant schmitt-trigger, 0: stay in interval for checking thresholds
|
|
36
|
-
|
|
37
|
-
C_output_uF: 1.0 # final (always last) stage to compensate undetectable current spikes when enabling power for target
|
|
38
|
-
|
|
39
|
-
# Extra
|
|
40
|
-
V_output_log_gpio_threshold_mV: 1400 # min voltage needed to enable recording changes in gpio-bank
|
|
41
|
-
|
|
42
|
-
# Boost Converter
|
|
43
|
-
V_input_boost_threshold_mV: 0.0 # min input-voltage for the boost converter to work
|
|
44
|
-
V_intermediate_max_mV: 10000 # -> boost converter shuts off
|
|
45
|
-
|
|
46
|
-
LUT_input_efficiency: [
|
|
47
|
-
[ 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00 ], # rows are current -> here a[V=0][:]
|
|
48
|
-
[ 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00 ],
|
|
49
|
-
[ 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00 ],
|
|
50
|
-
[ 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00 ],
|
|
51
|
-
[ 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00 ],
|
|
52
|
-
[ 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00 ],
|
|
53
|
-
[ 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00 ],
|
|
54
|
-
[ 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00 ],
|
|
55
|
-
[ 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00 ],
|
|
56
|
-
[ 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00 ],
|
|
57
|
-
[ 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00 ],
|
|
58
|
-
[ 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00 ],
|
|
59
|
-
] # input-array[12][12] depending on array[inp_voltage][log(inp_current)], influence of cap-voltage is not implemented
|
|
60
|
-
LUT_input_V_min_log2_uV: 0 # 2^7 = 128 uV -> array[0] is for inputs < 128 uV
|
|
61
|
-
LUT_input_I_min_log2_nA: 0 # 2^8 = 256 nA -> array[0] is for inputs < 256 nA
|
|
62
|
-
|
|
63
|
-
# Buck-converter
|
|
64
|
-
V_output_mV: 2400
|
|
65
|
-
V_buck_drop_mV: 0.0 # simulate LDO min voltage differential or output-diode
|
|
66
|
-
|
|
67
|
-
LUT_output_efficiency: [ 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00 ] # array[12] depending on output_current
|
|
68
|
-
LUT_output_I_min_log2_nA: 0 # 2^8 = 256 nA -> array[0] is for inputs < 256 nA, see notes on LUT_input for explanation
|
|
69
|
-
|
|
70
|
-
owner: Ingmar
|
|
71
|
-
group: NES Lab
|
|
72
|
-
visible2group: true
|
|
73
|
-
visible2all: true
|
|
74
|
-
created: 2022-12-12 12:12:12
|
|
75
|
-
|
|
76
|
-
- datatype: VirtualSourceConfig
|
|
77
|
-
parameters:
|
|
78
|
-
id: 1010
|
|
79
|
-
name: direct
|
|
80
|
-
inherit_from: neutral
|
|
81
|
-
# Note: current input has no influence
|
|
82
|
-
|
|
83
|
-
- datatype: VirtualSourceConfig
|
|
84
|
-
parameters:
|
|
85
|
-
id: 1011
|
|
86
|
-
name: diode+capacitor
|
|
87
|
-
description: Simple Converter based on diode and buffer capacitor
|
|
88
|
-
inherit_from: neutral
|
|
89
|
-
V_input_drop_mV: 300 # simulate input-diode
|
|
90
|
-
C_intermediate_uF: 10 # primary storage-Cap
|
|
91
|
-
|
|
92
|
-
- datatype: VirtualSourceConfig
|
|
93
|
-
parameters:
|
|
94
|
-
id: 1012
|
|
95
|
-
name: dio_cap # simpler naming
|
|
96
|
-
inherit_from: diode+capacitor
|
|
97
|
-
|
|
98
|
-
- datatype: VirtualSourceConfig
|
|
99
|
-
parameters:
|
|
100
|
-
id: 1013
|
|
101
|
-
name: diode+resistor+capacitor
|
|
102
|
-
description: Simple Converter based on diode, current limiting resistor and buffer capacitor
|
|
103
|
-
inherit_from: diode+capacitor
|
|
104
|
-
R_input_mOhm: 10000
|
|
105
|
-
|
|
106
|
-
- datatype: VirtualSourceConfig
|
|
107
|
-
parameters:
|
|
108
|
-
id: 1014
|
|
109
|
-
name: dio_res_cap # simpler naming
|
|
110
|
-
inherit_from: diode+resistor+capacitor
|
|
111
|
-
|
|
112
|
-
- datatype: VirtualSourceConfig
|
|
113
|
-
parameters:
|
|
114
|
-
id: 1020
|
|
115
|
-
name: BQ25504
|
|
116
|
-
description: TI BQ25504 with integrated boost-converter
|
|
117
|
-
inherit_from: neutral # to complete undefined vars
|
|
118
|
-
enable_boost: true # if false -> v_intermediate = v_input, output-switch-hysteresis is still usable
|
|
119
|
-
|
|
120
|
-
harvester:
|
|
121
|
-
name: mppt_bq_solar # harvester only active if input is "ivcurves"
|
|
122
|
-
|
|
123
|
-
V_input_max_mV: 3000
|
|
124
|
-
I_input_max_mA: 100
|
|
125
|
-
|
|
126
|
-
C_intermediate_uF: 22.0 # primary storage-Cap
|
|
127
|
-
V_intermediate_init_mV: 3000 # allow a proper / fast startup
|
|
128
|
-
I_intermediate_leak_nA: 330
|
|
129
|
-
|
|
130
|
-
V_intermediate_enable_threshold_mV: 2600 # -> target gets connected (hysteresis-combo with next value)
|
|
131
|
-
V_intermediate_disable_threshold_mV: 2300 # -> target gets disconnected
|
|
132
|
-
interval_check_thresholds_ms: 64.0 # some BQs check every 64 ms if output should be disconnected
|
|
133
|
-
|
|
134
|
-
V_pwr_good_enable_threshold_mV: 2800 # target is informed by pwr-good on output-pin (hysteresis) -> for intermediate voltage
|
|
135
|
-
V_pwr_good_disable_threshold_mV: 2400
|
|
136
|
-
immediate_pwr_good_signal: false # 1: activate instant schmitt-trigger, 0: stay in interval for checking thresholds
|
|
137
|
-
|
|
138
|
-
# Boost Converter
|
|
139
|
-
V_input_boost_threshold_mV: 130 # min input-voltage for the boost converter to work
|
|
140
|
-
V_intermediate_max_mV: 3600 # -> boost converter shuts off
|
|
141
|
-
|
|
142
|
-
LUT_input_efficiency: [
|
|
143
|
-
# <8uA 8uA 16uA 32uA 64uA 128uA 256uA 512uA 1mA 2mA 4mA >8mA
|
|
144
|
-
[ 0.01, 0.01, 0.02, 0.05, 0.10, 0.15, 0.15, 0.20, 0.25, 0.30, 0.30, 0.35 ], # < 128 mV
|
|
145
|
-
[ 0.10, 0.20, 0.30, 0.40, 0.50, 0.55, 0.56, 0.57, 0.58, 0.59, 0.60, 0.61 ], # > 128 mV, ~200
|
|
146
|
-
[ 0.20, 0.40, 0.50, 0.60, 0.65, 0.66, 0.67, 0.68, 0.69, 0.70, 0.71, 0.72 ], # > 256 mV, ~320
|
|
147
|
-
[ 0.35, 0.55, 0.65, 0.71, 0.73, 0.74, 0.75, 0.75, 0.76, 0.77, 0.77, 0.78 ], # > 384 mV, ~450
|
|
148
|
-
[ 0.45, 0.65, 0.70, 0.73, 0.75, 0.77, 0.78, 0.79, 0.80, 0.81, 0.81, 0.82 ], # > 512 mV, ~570
|
|
149
|
-
[ 0.50, 0.70, 0.74, 0.76, 0.78, 0.79, 0.80, 0.81, 0.82, 0.83, 0.83, 0.84 ], # > 640 mV
|
|
150
|
-
[ 0.52, 0.73, 0.76, 0.78, 0.80, 0.81, 0.82, 0.83, 0.84, 0.85, 0.85, 0.86 ], # > 768 mV
|
|
151
|
-
[ 0.53, 0.75, 0.77, 0.79, 0.81, 0.82, 0.83, 0.84, 0.85, 0.86, 0.86, 0.87 ], # > 896 mV
|
|
152
|
-
[ 0.55, 0.77, 0.78, 0.80, 0.82, 0.83, 0.85, 0.86, 0.87, 0.87, 0.87, 0.88 ], # > 1024 mV
|
|
153
|
-
[ 0.56, 0.78, 0.79, 0.81, 0.83, 0.85, 0.87, 0.88, 0.88, 0.88, 0.88, 0.89 ], # > 1152 mV
|
|
154
|
-
[ 0.58, 0.79, 0.80, 0.82, 0.84, 0.86, 0.88, 0.89, 0.89, 0.89, 0.89, 0.90 ], # > 1280 mV
|
|
155
|
-
[ 0.60, 0.80, 0.81, 0.83, 0.85, 0.87, 0.89, 0.90, 0.90, 0.90, 0.90, 0.90 ], # > 1408 mV
|
|
156
|
-
] # input-array[12][12] depending on array[inp_voltage][log(inp_current)], influence of cap-voltage is not implemented
|
|
157
|
-
LUT_input_V_min_log2_uV: 17 # example: 2^7 = 128 uV -> array[0] is for inputs < 128 uV
|
|
158
|
-
LUT_input_I_min_log2_nA: 13 # example: 2^8 = 256 nA -> array[0] is for inputs < 256 nA
|
|
159
|
-
|
|
160
|
-
- datatype: VirtualSourceConfig
|
|
161
|
-
parameters:
|
|
162
|
-
id: 1021
|
|
163
|
-
name: BQ25504s # Version with Schmitt-Trigger
|
|
164
|
-
description: TI BQ25504 with Schmitt-Trigger for a faster power-good-signal
|
|
165
|
-
inherit_from: BQ25504
|
|
166
|
-
immediate_pwr_good_signal: true
|
|
167
|
-
|
|
168
|
-
- datatype: VirtualSourceConfig
|
|
169
|
-
parameters:
|
|
170
|
-
id: 1022
|
|
171
|
-
name: BQ25504-Schmitt
|
|
172
|
-
inherit_from: BQ25504s
|
|
173
|
-
|
|
174
|
-
- datatype: VirtualSourceConfig
|
|
175
|
-
parameters:
|
|
176
|
-
id: 1030
|
|
177
|
-
name: BQ25570
|
|
178
|
-
description: TI BQ25570 with integrated boost- & buck-converter
|
|
179
|
-
inherit_from: BQ25504 # inherit Input-LUT that is similar enough
|
|
180
|
-
enable_boost: true # if false -> v_intermediate = v_input, output-switch-hysteresis is still usable
|
|
181
|
-
enable_buck: true # if false -> v_output = v_intermediate
|
|
182
|
-
|
|
183
|
-
V_input_max_mV: 5100
|
|
184
|
-
I_input_max_mA: 100
|
|
185
|
-
|
|
186
|
-
C_intermediate_uF: 33.0 # primary storage-Cap
|
|
187
|
-
V_intermediate_init_mV: 3400 # allow a proper / fast startup
|
|
188
|
-
I_intermediate_leak_nA: 0.0
|
|
189
|
-
|
|
190
|
-
V_intermediate_enable_threshold_mV: 3000 # -> target gets connected (hysteresis-combo with next value)
|
|
191
|
-
V_intermediate_disable_threshold_mV: 2400 # -> target gets disconnected
|
|
192
|
-
interval_check_thresholds_ms: 64.0 # some BQs check every 64 ms if output should be disconnected
|
|
193
|
-
|
|
194
|
-
V_pwr_good_enable_threshold_mV: 3000 # target is informed by pwr-good on output-pin (hysteresis) -> for intermediate voltage
|
|
195
|
-
V_pwr_good_disable_threshold_mV: 2500
|
|
196
|
-
immediate_pwr_good_signal: false # 1: activate instant schmitt-trigger, 0: stay in interval for checking thresholds
|
|
197
|
-
|
|
198
|
-
C_output_uF: 1.0 # final (always last) stage to compensate undetectable current spikes when enabling power for target
|
|
199
|
-
|
|
200
|
-
# Boost Converter
|
|
201
|
-
V_input_boost_threshold_mV: 100.0 # min input-voltage for the boost converter to work
|
|
202
|
-
V_intermediate_max_mV: 5500 # -> boost converter shuts off
|
|
203
|
-
|
|
204
|
-
# Buck Converter
|
|
205
|
-
V_output_mV: 2200
|
|
206
|
-
V_buck_drop_mV: 200.0 # simulate LDO min voltage differential or output-diode
|
|
207
|
-
|
|
208
|
-
# <1u 1u 2u 4u 8u 16u 32u 64u 128u 256u 512u >1m
|
|
209
|
-
LUT_output_efficiency: [ 0.40, 0.50, 0.60, 0.73, 0.82, 0.86, 0.88, 0.90, 0.91, 0.92, 0.93, 0.92] # array[12] depending on output_current
|
|
210
|
-
LUT_output_I_min_log2_nA: 10 # example: 2^8 = 256 nA -> array[0] is for inputs < 256 nA, see notes on LUT_input for explanation
|
|
211
|
-
|
|
212
|
-
- datatype: VirtualSourceConfig
|
|
213
|
-
parameters:
|
|
214
|
-
id: 1031
|
|
215
|
-
name: BQ25570s
|
|
216
|
-
description: TI BQ25570 with Schmitt-Trigger for a faster power-good-signal
|
|
217
|
-
inherit_from: BQ25570
|
|
218
|
-
immediate_pwr_good_signal: true
|
|
219
|
-
|
|
220
|
-
- datatype: VirtualSourceConfig
|
|
221
|
-
parameters:
|
|
222
|
-
id: 1032
|
|
223
|
-
name: BQ25570-Schmitt
|
|
224
|
-
inherit_from: BQ25570s
|
|
225
|
-
- datatype: VirtualSourceConfig
|
|
226
|
-
parameters:
|
|
227
|
-
id: 1033
|
|
228
|
-
name: default
|
|
229
|
-
inherit_from: BQ25570s
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
|
|
3
|
-
# more human-readable test-protocol @
|
|
4
|
-
# https://github.com/orgua/shepherd_v2_planning/blob/main/doc_testbed/Cape_pre-deployment-tests.xlsx
|
|
5
|
-
- datatype: cape
|
|
6
|
-
parameters:
|
|
7
|
-
id: 1270051
|
|
8
|
-
name: cape51
|
|
9
|
-
version: v2.4b
|
|
10
|
-
description: full version with Hrv & Emu, modded gpio,emu,hrv
|
|
11
|
-
created: 2022-10-07
|
|
12
|
-
calibrated: 2023-09-21
|
|
13
|
-
- datatype: cape
|
|
14
|
-
parameters:
|
|
15
|
-
inherit_from: cape51
|
|
16
|
-
id: 1270052
|
|
17
|
-
name: cape52
|
|
18
|
-
- datatype: cape
|
|
19
|
-
parameters:
|
|
20
|
-
inherit_from: cape51
|
|
21
|
-
id: 1270053
|
|
22
|
-
name: cape53
|
|
23
|
-
description: full version with Hrv & Emu, partially modded
|
|
24
|
-
comment: 1st Lab Prototype, burned VReg -> currently defective
|
|
25
|
-
active: false
|
|
26
|
-
- datatype: cape
|
|
27
|
-
parameters:
|
|
28
|
-
inherit_from: cape51
|
|
29
|
-
id: 1270054
|
|
30
|
-
name: cape54
|
|
31
|
-
- datatype: cape
|
|
32
|
-
parameters:
|
|
33
|
-
inherit_from: cape51
|
|
34
|
-
id: 1270055
|
|
35
|
-
name: cape55
|
|
36
|
-
comment: Target-Port B, C-Meas failed on first Cal
|
|
37
|
-
- datatype: cape
|
|
38
|
-
parameters:
|
|
39
|
-
inherit_from: cape51
|
|
40
|
-
id: 1270056
|
|
41
|
-
name: cape56
|
|
42
|
-
- datatype: cape
|
|
43
|
-
parameters:
|
|
44
|
-
inherit_from: cape51
|
|
45
|
-
id: 1270057
|
|
46
|
-
name: cape57
|
|
47
|
-
comment: 2nd Lab Prototype, has stackable headers
|
|
48
|
-
- datatype: cape
|
|
49
|
-
parameters:
|
|
50
|
-
inherit_from: cape51
|
|
51
|
-
id: 1270058
|
|
52
|
-
name: cape58
|
|
53
|
-
comment: has shields on emu & hrv-circuits -> no effect on RF-Performance
|
|
54
|
-
- datatype: cape
|
|
55
|
-
parameters:
|
|
56
|
-
inherit_from: cape51
|
|
57
|
-
id: 1270059
|
|
58
|
-
name: cape59
|
|
59
|
-
comment: only 220u/440uF on 5V
|
|
60
|
-
- datatype: cape
|
|
61
|
-
parameters:
|
|
62
|
-
inherit_from: cape51
|
|
63
|
-
id: 1270060
|
|
64
|
-
name: cape60
|
|
65
|
-
comment: 3rd Lab Prototype
|
|
66
|
-
- datatype: cape
|
|
67
|
-
parameters:
|
|
68
|
-
inherit_from: cape51
|
|
69
|
-
id: 1270061
|
|
70
|
-
name: cape61
|
|
71
|
-
comment: only 220u/440uF on 5V
|
|
72
|
-
- datatype: cape
|
|
73
|
-
parameters:
|
|
74
|
-
inherit_from: cape51
|
|
75
|
-
id: 1270062
|
|
76
|
-
name: cape62
|
|
77
|
-
- datatype: cape
|
|
78
|
-
parameters:
|
|
79
|
-
inherit_from: cape51
|
|
80
|
-
id: 1270063
|
|
81
|
-
name: cape63
|
|
82
|
-
comment: only 220u/440uF on 5V
|
|
83
|
-
- datatype: cape
|
|
84
|
-
parameters:
|
|
85
|
-
inherit_from: cape51
|
|
86
|
-
id: 1270064
|
|
87
|
-
name: cape64
|
|
88
|
-
comment: only 220u/440uF on 5V, had 6x74LVC2T45GT flippend (U11,12,23,24,27,28) - hot air repair
|
|
89
|
-
- datatype: cape
|
|
90
|
-
parameters:
|
|
91
|
-
inherit_from: cape51
|
|
92
|
-
id: 1270065
|
|
93
|
-
name: cape65
|
|
94
|
-
comment: only 220u/440uF on 5V
|
|
@@ -1,166 +0,0 @@
|
|
|
1
|
-
--- # add with >>> python manage.py loaddata <fixturename>
|
|
2
|
-
# cape v2.4
|
|
3
|
-
- datatype: gpio
|
|
4
|
-
parameters:
|
|
5
|
-
id: 1000
|
|
6
|
-
name: GPIO0
|
|
7
|
-
# description:
|
|
8
|
-
# comment:
|
|
9
|
-
direction: IO
|
|
10
|
-
dir_switch: DIR1
|
|
11
|
-
reg_pru: r31_00
|
|
12
|
-
pin_pru: P8_45
|
|
13
|
-
reg_sys: 26
|
|
14
|
-
pin_sys: P8_14
|
|
15
|
-
- datatype: gpio
|
|
16
|
-
parameters:
|
|
17
|
-
id: 1001
|
|
18
|
-
name: GPIO1
|
|
19
|
-
direction: IO
|
|
20
|
-
dir_switch: DIR1
|
|
21
|
-
reg_pru: r31_01
|
|
22
|
-
pin_pru: P8_46
|
|
23
|
-
reg_sys: 27
|
|
24
|
-
pin_sys: P8_17
|
|
25
|
-
- datatype: gpio
|
|
26
|
-
parameters:
|
|
27
|
-
id: 1002
|
|
28
|
-
name: GPIO2
|
|
29
|
-
direction: IO
|
|
30
|
-
dir_switch: DIR1
|
|
31
|
-
reg_pru: r31_02
|
|
32
|
-
pin_pru: P8_43
|
|
33
|
-
reg_sys: 46
|
|
34
|
-
pin_sys: P8_16
|
|
35
|
-
- datatype: gpio
|
|
36
|
-
parameters:
|
|
37
|
-
id: 1003
|
|
38
|
-
name: GPIO3
|
|
39
|
-
direction: IO
|
|
40
|
-
dir_switch: DIR1
|
|
41
|
-
reg_pru: r31_03
|
|
42
|
-
pin_pru: P8_44
|
|
43
|
-
reg_sys: 47
|
|
44
|
-
pin_sys: P8_15
|
|
45
|
-
- datatype: gpio
|
|
46
|
-
parameters:
|
|
47
|
-
id: 1004
|
|
48
|
-
name: GPIO4
|
|
49
|
-
direction: IN
|
|
50
|
-
reg_pru: r31_04
|
|
51
|
-
pin_pru: P8_41
|
|
52
|
-
reg_sys: 61
|
|
53
|
-
pin_sys: P8_26
|
|
54
|
-
- datatype: gpio
|
|
55
|
-
parameters:
|
|
56
|
-
id: 1005
|
|
57
|
-
name: GPIO5
|
|
58
|
-
direction: IN
|
|
59
|
-
reg_pru: r31_05
|
|
60
|
-
pin_pru: P8_42
|
|
61
|
-
reg_sys: 80
|
|
62
|
-
pin_sys: P8_36
|
|
63
|
-
- datatype: gpio
|
|
64
|
-
parameters:
|
|
65
|
-
id: 1006
|
|
66
|
-
name: GPIO6
|
|
67
|
-
direction: IN
|
|
68
|
-
reg_pru: r31_06
|
|
69
|
-
pin_pru: P8_39
|
|
70
|
-
reg_sys: 81
|
|
71
|
-
pin_sys: P8_34
|
|
72
|
-
- datatype: gpio
|
|
73
|
-
parameters:
|
|
74
|
-
id: 1007
|
|
75
|
-
name: GPIO7
|
|
76
|
-
description: alias UART_RX
|
|
77
|
-
direction: IN
|
|
78
|
-
reg_pru: r31_07
|
|
79
|
-
pin_pru: P8_40
|
|
80
|
-
reg_sys: 14
|
|
81
|
-
pin_sys: P9_26
|
|
82
|
-
- datatype: gpio
|
|
83
|
-
parameters:
|
|
84
|
-
id: 1008
|
|
85
|
-
name: GPIO8
|
|
86
|
-
description: alias UART_TX
|
|
87
|
-
direction: IO
|
|
88
|
-
dir_switch: DIR2
|
|
89
|
-
reg_pru: r31_08
|
|
90
|
-
pin_pru: P8_27
|
|
91
|
-
reg_sys: 15
|
|
92
|
-
pin_sys: P9_24
|
|
93
|
-
- datatype: gpio
|
|
94
|
-
parameters:
|
|
95
|
-
id: 1009
|
|
96
|
-
name: BAT_OK
|
|
97
|
-
description: signal from vSource (PRU) to target
|
|
98
|
-
direction: OUT
|
|
99
|
-
reg_pru: r30_09
|
|
100
|
-
pin_pru: P8_29
|
|
101
|
-
- datatype: gpio
|
|
102
|
-
parameters:
|
|
103
|
-
id: 2000
|
|
104
|
-
name: PRG1_CLK
|
|
105
|
-
description: alias JTAG_TCK
|
|
106
|
-
direction: OUT
|
|
107
|
-
reg_sys: 5
|
|
108
|
-
pin_sys: P9_17
|
|
109
|
-
- datatype: gpio
|
|
110
|
-
parameters:
|
|
111
|
-
id: 2001
|
|
112
|
-
name: PRG1_IO
|
|
113
|
-
description: alias JTAG_TDI
|
|
114
|
-
direction: IO
|
|
115
|
-
dir_switch: PDIR1
|
|
116
|
-
reg_sys: 4
|
|
117
|
-
pin_sys: P9_18
|
|
118
|
-
- datatype: gpio
|
|
119
|
-
parameters:
|
|
120
|
-
id: 2010
|
|
121
|
-
name: PRG2_CLK
|
|
122
|
-
description: alias JTAG_TDO
|
|
123
|
-
direction: OUT
|
|
124
|
-
reg_sys: 8
|
|
125
|
-
pin_sys: P8_35
|
|
126
|
-
- datatype: gpio
|
|
127
|
-
parameters:
|
|
128
|
-
id: 2011
|
|
129
|
-
name: PRG2_IO
|
|
130
|
-
description: alias JTAG_TMS
|
|
131
|
-
direction: IO
|
|
132
|
-
dir_switch: PDIR2
|
|
133
|
-
reg_sys: 9
|
|
134
|
-
pin_sys: P8_33
|
|
135
|
-
- datatype: gpio
|
|
136
|
-
parameters:
|
|
137
|
-
id: 3000
|
|
138
|
-
name: DIR1
|
|
139
|
-
description: changes direction of GPIO[0:3]
|
|
140
|
-
direction: OUT
|
|
141
|
-
reg_sys: 78
|
|
142
|
-
pin_sys: P8_37
|
|
143
|
-
- datatype: gpio
|
|
144
|
-
parameters:
|
|
145
|
-
id: 3001
|
|
146
|
-
name: DIR2
|
|
147
|
-
description: changes direction of GPIO8
|
|
148
|
-
direction: OUT
|
|
149
|
-
reg_sys: 79
|
|
150
|
-
pin_sys: P8_38
|
|
151
|
-
- datatype: gpio
|
|
152
|
-
parameters:
|
|
153
|
-
id: 3002
|
|
154
|
-
name: PDIR1
|
|
155
|
-
description: changes direction PRG1_IO
|
|
156
|
-
direction: OUT
|
|
157
|
-
reg_sys: 10
|
|
158
|
-
pin_sys: P8_31
|
|
159
|
-
- datatype: gpio
|
|
160
|
-
parameters:
|
|
161
|
-
id: 3003
|
|
162
|
-
name: PDIR2
|
|
163
|
-
description: changes direction PRG2_IO
|
|
164
|
-
direction: OUT
|
|
165
|
-
reg_sys: 11
|
|
166
|
-
pin_sys: P8_32
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
--- # add with >>> python manage.py loaddata <fixturename>
|
|
2
|
-
- datatype: mcu
|
|
3
|
-
parameters:
|
|
4
|
-
id: 1001
|
|
5
|
-
name: nRF52
|
|
6
|
-
description: Panasonic PAN1780, ENW-89854A1KF, Bluetooth 5 Low Energy Module
|
|
7
|
-
platform: nRF52
|
|
8
|
-
core: nRF52840
|
|
9
|
-
prog_protocol: SWD
|
|
10
|
-
fw_name_default: nrf52_demo_rf
|
|
11
|
-
- datatype: mcu
|
|
12
|
-
parameters:
|
|
13
|
-
id: 1002
|
|
14
|
-
name: MSP430FR
|
|
15
|
-
description: 16MHz Ultra-Low-Pwr MCU with 128 KB FRAM
|
|
16
|
-
platform: MSP430
|
|
17
|
-
core: MSP430FR5962
|
|
18
|
-
prog_protocol: SBW
|
|
19
|
-
fw_name_default: msp430_deep_sleep
|