Develop read-adc script
I added a script to read the internal ADC counts: !593 (merged) . This will likely be merged soon because it is urgently needed for module QC tools development. So I am collecting here some ideas brought up in that MR on how we could improve this read-adc script implementation:
- Add possibility to convert ADC measurements to temperature (or create separate script to do that) (suggestion from @theim )
- Return list of ADC values instead of singular value. Returning a singular value works well with RD53b but not with other chips (ABC/HCC) (suggestion from @bgallop )
- Currently the script sets up the front-end so that the ADC can be read in a separate step. From the Strips point of view, it might be easier to do in one step (setup and read). (suggestion from @bgallop )
- Consider changing output format. Currently the script gives output to stdout, but we might consider returning a value instead (suggestion from @msaimper ). This would also apply to the read-register script.
Cheers, Emily