Hi
I am working on a current mode controlled SMPS. I have a sawtooth voltage r= amp (measured current in a sense resistor) and I would like use a digital i= nput pin of a micrcontroller to turn off the PWM that controls the ramp. Th= e ramp moves from 0 to 100mV in 10us.=20
I do not have a free comparator on the micro, so I thought of using the dig= ital input threshold as the fast level detect, and an outer loop measuring = the current for slow current control. The ramp is offset shifted to just be= low the threshold since I have a low voltage swing
But, does the typical digital input have a threshold that moves due to exte= rnal factors fast, appart from supply voltage? (I only need the positive th= reshold)
Thanks
Klaus