Hello,
I am having trying to achieve hardware versioning via saadc.
Module model: nrf52832
Sdk: 15.2
There are two versions of the hardware:
version 1, there is no hardware versioning implemented with AIN7, the pin is floating.
version 2, there is hardware versioning implemented with AIN7, the pin is connected to a voltage divider which should read in the range from 0 to VDD for hardware different versions.
When trying to read the AIN7 pin via the saadc example, the following logs are captured:
From hardware version 1 unit 1:
<info> app: ADC event number: 0
<info> app: 94
<info> app: 88
<info> app: 89
<info> app: 89
<info> app: 88
<info> app: ADC event number: 1
<info> app: 89
<info> app: 88
<info> app: 89
<info> app: 89
<info> app: 87
From hardware version 1 unit 2:
<info> app: ADC event number: 0
<info> app: 329
<info> app: 320
<info> app: 320
<info> app: 321
<info> app: 318
<info> app: ADC event number: 1
<info> app: 318
<info> app: 318
<info> app: 317
<info> app: 317
<info> app: 317
The readings from above are from the same nrf52832 model but different modules within the same batch.
Is there a way to get the floating pin read something consistent which make it possible to use AIN7 for hardware versioning purpose?
Many thanks.

