Closed JiiZR closed 1 year ago
* Describe the bug I tried sample, samples\sensor\soc_voltage.
To Reproduce Steps to reproduce the behavior:
Expected behavior Should vref_1 be around 1,2 V ? ADC1 channel 0.
Impact Minor
Logs and console output
Booting Zephyr OS build zephyr-v3.4.0-2226-g4cbb9d8f5f46 Sensor voltage[vref_1]: 13.20 V Sensor voltage[vbat_4]: 3.32 V
Environment (please complete the following information):
Additional context
The error comes form the VREF int calibration value which is 14bit and has to be converted to 12bit value when the ADC channel is measured on 12 bits.
* Describe the bug I tried sample, samples\sensor\soc_voltage.
To Reproduce Steps to reproduce the behavior:
Expected behavior Should vref_1 be around 1,2 V ? ADC1 channel 0.
Impact Minor
Logs and console output
Booting Zephyr OS build zephyr-v3.4.0-2226-g4cbb9d8f5f46 Sensor voltage[vref_1]: 13.20 V Sensor voltage[vbat_4]: 3.32 V
Environment (please complete the following information):
Additional context