varying voltage on ADC impacting EXT?
Posted: Sun Nov 09, 2014 6:37 pm
This is a peculiar situation: I have a stm32f407 disco board, interfacing with a bunch of different external devices. Two in particular are an adc sampling voltage, and the ext driver being used to count pulses from a tach. Independently, these work perfectly. In fact, if the voltage being sampled by the ADC is reasonably constant, I have no issues. However, if the voltage being sampled is constantly changing, my tach pulses show lots of variation. I have hooked a scope to the tach pulse input line, and I see there is no change, irrespective of the voltage. I changed the tach input to a controlled 100hz HW pulse, and still see the same pattern. So there is some relationship between the ADC sampling a variant voltage, and the tach.
I know this could have many SW possibilities, but Im curious if anyone has any obvious things to chase. Incidentally, the problem seems to improve if I hook the scope up to the tach input line - but doesnt get perfect. I tried changing from the onboard pulldown resistor, to a hardwired 10K pulldown - no change...
I know this could have many SW possibilities, but Im curious if anyone has any obvious things to chase. Incidentally, the problem seems to improve if I hook the scope up to the tach input line - but doesnt get perfect. I tried changing from the onboard pulldown resistor, to a hardwired 10K pulldown - no change...