mirror of https://github.com/rusefi/wideband.git
sample faster
This commit is contained in:
parent
3d80ff1d8b
commit
a1115c78f4
|
@ -16,7 +16,7 @@ ADCConversionGroup convGroup =
|
||||||
nullptr,
|
nullptr,
|
||||||
ADC_CFGR1_CONT | ADC_CFGR1_RES_12BIT, // CFGR1
|
ADC_CFGR1_CONT | ADC_CFGR1_RES_12BIT, // CFGR1
|
||||||
ADC_TR(0, 0), // TR
|
ADC_TR(0, 0), // TR
|
||||||
ADC_SMPR_SMP_28P5, // SMPR
|
ADC_SMPR_SMP_7P5, // SMPR
|
||||||
ADC_CHSELR_CHSEL0 | ADC_CHSELR_CHSEL1 | ADC_CHSELR_CHSEL2
|
ADC_CHSELR_CHSEL0 | ADC_CHSELR_CHSEL1 | ADC_CHSELR_CHSEL2
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
#define VCC_VOLTS (3.3f)
|
#define VCC_VOLTS (3.3f)
|
||||||
#define HALF_VCC (VCC_VOLTS / 2)
|
#define HALF_VCC (VCC_VOLTS / 2)
|
||||||
#define ADC_MAX_COUNT (4095)
|
#define ADC_MAX_COUNT (4095)
|
||||||
#define ADC_OVERSAMPLE 16
|
#define ADC_OVERSAMPLE 24
|
||||||
|
|
||||||
// *******************************
|
// *******************************
|
||||||
// Nernst voltage & ESR sense
|
// Nernst voltage & ESR sense
|
||||||
|
|
Loading…
Reference in New Issue