How to configure the SCT o/p pin as Bidirectional I/O

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by prashanth_prabhu on Thu Jan 01 23:46:52 MST 2015

We have assigned SCT output COUT available in PINASSIGN6 to GPIO 13.

    LPC_SWM->PINASSIGN6 = (LPC_SWM->PINASSIGN6 & ~(0xFF<<24)) | ((0*32+13)<<24);    //P0.13 = CTOUT_0

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.

So, we need to know if there is any way this can be done.