Content originally posted in LPCWare by mc on Fri Jan 02 15:11:00 MST 2015
Hi Prashanth,
See below comments
Quote:
We need to use this pin as GPIO input pin while reading ACK from follower and also for reading CEC data.
We tried deassigning SCT output to that pin and using as GPIO, also used GPIOSetDir( 0, 13, 1 ); to set direction as input. But none of these worked.
It means you are setting port as an output port.
Only de-assigning the SCT function will be needed , if GPIO direction is set as input. Please also check that you are not assigning any other function to this pin.
Also SWM clock should be turned on when assigning and de-assigning functions to pins.