tests: drivers: adc: adc_api: boards: st: use different acquisition time

Use different acquisition time for a board (WB55) that has individual
sampling register, and for another (WBA52) that have two common registers.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
This commit is contained in:
Guillaume Gautier 2024-01-05 10:34:37 +01:00 committed by Fabio Baltieri
parent 14839e80d5
commit 7228642c72
2 changed files with 4 additions and 2 deletions

View file

@ -28,7 +28,8 @@
reg = <4>;
zephyr,gain = "ADC_GAIN_1";
zephyr,reference = "ADC_REF_INTERNAL";
zephyr,acquisition-time = <ADC_ACQ_TIME_MAX>;
/* Use a different acquisition time for test purposes */
zephyr,acquisition-time = <ADC_ACQ_TIME(ADC_ACQ_TIME_TICKS, 248)>;
zephyr,resolution = <12>;
};
};

View file

@ -28,7 +28,8 @@
reg = <8>;
zephyr,gain = "ADC_GAIN_1";
zephyr,reference = "ADC_REF_INTERNAL";
zephyr,acquisition-time = <ADC_ACQ_TIME_MAX>;
/* Use a different acquisition time for test purposes */
zephyr,acquisition-time = <ADC_ACQ_TIME(ADC_ACQ_TIME_TICKS, 80)>;
zephyr,resolution = <12>;
};
};