Hii
I am using F28335 board interfaced with MATLAB.
I want to use GPIOs as input pin {I do not want to use ADCs}. Kindly guide me if GPIO can be used to take in analog signals.
I tried using GPIO as input by giving it a sine signal by function generator (and properly scaled the input in MATLAB to match the carrier triangles of ePWM), and compared with an ePWM, the result was a constant duty ratio (and not a sinusoidal pulse width variation) which seems as if gpio takes in any signal and give a true value (1) to the DSP.
Kindly tell if the the gpio input can be used for taking in analog values and also what is the value that is seen by the DSP? (Just like 0-3V signal to ADC appear as 0-4095 value to the DSP)
Regards
Mayank