Want to use PB12 & PB13 pins as general purpose I/O

Dear sir,

I want to use PB12 & PB13 pins as general purpose I/O. same I have programmed as given below.

my hardware: I am giving PB12 & PB13 pins from connector comm_7 & comm_8 to the HCT244(level shifter ic, operating at +5V).

At comm_7 & comm_8 output is coming correctly. but when i am seeing after HCT244 (level shifter ic) strange o/p are coming.

at pin comm_7(PB12) after HCT244 (level shifter ic) o/p is :in place of 0 output is toggling from 1 to 0 & in place of 1 output is 0. o/p level coming to 200mv signal only instead of +5 V.

at pin comm_8(PB13)after HCT244 (level shifter ic) o/p is :in place of 0 output is toggling from 1 to 0 & in place of 1 output is 0. o/p level coming to +5 V.

I am feeling that this pins are passing through internal pull-up of i2c voltage translator. how to disable i2C as I wanted to use this pins as general purpose I/O.

Please help me to debug this issue.

REG_PIOB_WPMR=0x50494F00;
REG_PIOB_PER =0x0E01F000;
REG_PIOB_PDR=0xF1FE0FFF;
REG_PIOB_OER=0x0E003000;
REG_PIOB_ODR=0xF1FFCFFF;
REG_PIOB_IDR=0xFFFFFFFF;
REG_PIOB_OWER=0x0E003000;
//REG_PIOB_PUDR=0x0E003000;
//REG_PIOB_PUER=0x0001C000;
REG_PIOB_CODR=0x0E003000;// clear all output pin

conv.cval[1]=uart_rx();
conv.cval[0]=uart_rx();
for(p=0x8000;p>0;p=p>>1)
{
if(conv.ival&p) //TC_SERIAL_DATA
REG_PIOB_SODR|=0x00001000;
else
REG_PIOB_CODR|=0x00001000; //clear TC_SERIAL_DATA
for(r=0;r<6903;r++);
REG_PIOB_SODR|=0x00002000; //set TC_SERIAL_CLOCK
for(r=0;r<13878;r++);
REG_PIOB_CODR|=0x00002000; //clear TC_SERIAL_CLOCK
for(r=0;r<7370;r++);//delay
}
REG_PIOB_CODR|=0x00001000; //clear TC_SERIAL_DATA
REG_PIOA_SODR|=0x00000001; //set TC_TRP_PULSE(OUTPUT)
for(r=0;r<1790614;r++);//delay
REG_PIOA_CODR|=0x00000001; //clear TC_TRP_PULSE(OUTPUT)*/

Regards
Monika