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.

Certain GPIO "dropping out"



Hello,

I have been experiencing an issue with some of the GPIO pins on the Piccolo F28035 controlCARD.  I don't know if it is just the control card, or if it's the actual processor (TMS320F28035PNTC), but here is the problem I'm experiencing:

 

I am using the I2C module (GPIO32 and GPIO33) and do not experience any issues with these pins.  However, I would like to use other GPIOs as "enable" pins, which would enable a specific chip on an external PCB in order to talk to the I2C compatible chips on that board.  I eventually need to use up to 30 additional GPIO pins besides the ones I'm using for the I2C clock and data lines.  However, I have found that some of the GPIO pins will work intermittently.  Once in a while a specific GPIO pin (i.e. GPIO16) will not toggle high when expected nor will it toggle low when expected.  This only happens every now and then though, not every time.  Here's a specific example:

 

I wanted to toggle GPIO16 every time I went through the main loop of my code for timing purposes (measuring the loop time).  On an oscilloscope I would expect a square wave with a period twice the loop time, but what I would see is a square wave for about 3-4 pulses followed by either an extended high period or extended low period.  This implies that the GPIO is not going high or low when I expect it to.  Though I have been able to get other GPIO pins to function as expected with no problem.

 

So, I'm pretty sure it isn't anything in my code since I do the same routine for all GPIO pins and have gotten some of them to work while others behave as described above (it's not just GPIO16).  If anyone else has had similar issues or if someone knows what the issue might be, I would greatly appreciate your response.

 

Thank You,

Matt