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/TMS320C6678: TMS320C6678: When GPIO is set to the input state, it behaves like an output state.

Part Number: TMS320C6678
Other Parts Discussed in Thread: TXS0108E

Tool/software: Code Composer Studio

Hi,

I used the following codes to set and read the state of 6678's GPIO_12,  the version of sdk is: mcsdk_02_01_02_06.

CSL_GpioHandle hGpio;    

U8int  uiNumber = 12, inData;

hGpio = CSL_GPIO_open (0);    // Open the CSL GPIO Module 0

CSL_GPIO_setPinDirInput (hGpio, uiNumber);   // Set to INPUT

CSL_GPIO_getInputData(hGpio, uiNumber, &inData); 

My problem is when the TXS0108E, a level conversion chip directly connected to GPIO_12, outputs a low level, the low level signal cannot be correctly received by GPIO.  I found that the voltage of GPIO was 1.13V. When I use an ammeter to connect the GPIO12 to GND, although the GPIO_12 is set to the input state, It can detect a current of 8mA. Isn't it unreasonable to have so much current in the input state? Or is there something wrong with the configuration codes? 

Thanks!