This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TM4C123GH6PM: GPIO ports not reading input correctly

Part Number: TM4C123GH6PM


Hi,

We have a microprocessors class here & we have strange behavior with the Tiva C Launchpad. Specifically Port D pin 0 - 3. I've counted at least 7 boards with this issue where there is 3.3v confirmed at the source & pressing a switch should make the pin go high but fails to do so. PD0 seems to be the main issue now but there are a couple of occurrences on the other boards.

What I have noticed is that the resistance to ground for a working board is approx. 43k ohms whereas the broken pin is only 130 ish ohms. This makes the calculations correct the input voltage with the switch pressed in around .3-.4 volts.

Grabbing a new launchpad & plugging it in seems to work perfectly fine.

Setting the internal pull up resistor does not have the GPIODATA bit set when nothing is connected. I have removed the 0 ohm resistor from PD0 to PB6. However, directly jumping 3.3v to PD0 will set the bit in the GPIODATA register with or without pull resistors.

Can you help figure out what might be the issue? My current hypothesis is that the students modify registers that they shouldn't & somehow change the resistance of the pin to not work correctly with our daughter board. 

I have eliminated the possibly of the daughter board being the problem since a new Tiva works just fine. Is there anyway to get these board working again? Since we have 7+ boards not working correctly with a vital pin, it would be nice to at least know the possible cause of the issue.