Signal problem from ADC to prop pin
frank freedman
Posts: 1,983
Odd problem recently with the output from an MCP3201. The output from the ADC is a nice clean wave form, 0-5v as it is running from 5v supply to get max sps. The output is fed to a prop pin through a 3.9k resistor. The wave is about 3v or so, but the lows are not flat, rather a kind of downward spike loking, almost looks like a shark tooth shape. Just can't seem to pull it down cleanly. Resistor to low?
Thanks,
FF
Thanks,
FF
Comments
And yes resistor to ground (effectively a resistive divider) might also work if you can use relatively low value resistors. Other than that you could use some kind of buffer or level translator
FF
Later edit:
Seems to be resolved (sorta) need to research and understand the cause of this issue. The resolution so far seems to be to run the output of the device into the input pin on the prop even though the supply to the device is 5v and the serial output is running about 4v. I noticed (unless I miss-read the print) that the C3 is taking the output from the MCP3202 directly into the prop pin in this design as well. Now I have (almost) the same drivers running clock timing and ADC capture as I had under pure PASM but now they are called and running under C using the LMM. May have to go back to the GG USB if I start playing with other memory models.