I’m using a fuel flow sensor connected to the ADC port on the CubePilot Orange+. The sensor measures 33,800 Pulses/Gallon of fuel.
src/drivers/adc/board_adc/ADC.cpp is running at 100 Hz, with my expected fuel flow rate, I am getting 7 voltage spikes per 100 Hz frame and so I’m missing data. It looks like platforms/nuttx/src/px4/stm/stm32h7/adc/adc.cpp is reading the analog data at a higher rate, can anyone confirm? If so can I modify the nuttx driver to read the data at the higher rate?