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.

CCS/TMS320F28335: Not entering if else condition

Part Number: TMS320F28335

Tool/software: Code Composer Studio

Hello,

I have been trying to interface a chip with TMS320F28335 and i have been reading status of a pin that has been configured as input. The pin keeps toggling and I had it monitored in Oscilloscope. 

I am putting the same thing in a if condition and it doesn't work. I tried reading the status of the pin to a variable and checking the if condition with that variable, it also didn't help.

Any help is greatly appreciated!

Thanks,

Akhil