zephyr/boards/microchip
Jordan Yates 4361c96c48 adc: current_sense_amplifier: resistance in milli-ohms
Change the unit of the sense resistor in the devicetree binding from
micro-ohms to milli-ohms. This is done for three reasons.

Firstly, the maximum value resistor that can currently be represented
is 4.2 kOhms, due to the limitation of devicetree properties to 32 bits.

Secondly, storing the resistance at such a high resolution makes
overflows much more likely when the desired output unit is micro-amps,
not milli-amps.

Finally, micro-ohms, are an unnecessarily precise unit for the purpose
of these calculations, and a resolution that is not realistic to
achieve. The high resistor resolution results in large divisors that
reduce the resolution of outputs. Unlike resistors characterised down to
the micro-ohm, devices wanting to measure micro-amps are actually
realistic.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2024-10-14 13:05:07 +02:00
..
ev11l78a adc: current_sense_amplifier: resistance in milli-ohms 2024-10-14 13:05:07 +02:00
m2gl025_miv boards: Set full_name for all boards 2024-10-10 20:22:21 -04:00
mec15xxevb_assy6853 boards: Set full_name for all boards 2024-10-10 20:22:21 -04:00
mec172xevb_assy6906 boards: Set full_name for all boards 2024-10-10 20:22:21 -04:00
mec172xmodular_assy6930 boards: Set full_name for all boards 2024-10-10 20:22:21 -04:00
mec1501modular_assy6885 boards: Set full_name for all boards 2024-10-10 20:22:21 -04:00
mpfs_icicle boards: Set full_name for all boards 2024-10-10 20:22:21 -04:00
index.rst