Hello,
I am currently using an Experimenters' Kit with a TMS320-F28335.
When I try to read a GPIO from PortC (for example GPIO87, or 85) with an external PullDown, it does not work as I expect: Normally, I should always get a "low"-signal, unless I set the pin directly on Vcc.
I tried it with this simple circuit:
3.3V
|
/ F28335
/ (switch) |-----------------
| |
|------------------| GPIO 87
| | |
| | R=2k |
|_ | |__________
|
|
0V
In this configuration, I always read a "high"-signal on my Pin. I configured the GPIO as Input with internal PullUp turned OFF.
But when I don't press the switch, I still get a "high"-signal. Of course, when I press it, i get "high" as well.
(I tried the same thing with GPIO60, and it worked as expected, not pressed --> low, pressed --> high.)
When I turn the circuit around and use a PullUp-Resistor and put the switch on the other side (to ground), I can read a "low"-signal on GPIO87 when I press my switch, and "high", when I don't press it.
Can anybody explain to me, why it only works with a PullUp on these GPIOs?
Do I need any other circuit to be able to use GPIOs from PortC with a PullDown?
I already searched the Datasheets, but found nothing...
Thanks for your help!
Philipp L.