the pin(PIO0_11) of LPC1114 is always high.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

the pin(PIO0_11) of LPC1114 is always high.

645 Views
liufeng123
Contributor II

i use the gerneral io mode,bue the pin(PIO0_11) is always high.

i want to get the low voltage,so the test programs is as follows:

LPC_IOCON->JTAG_TDI_PIO0_11 &= ~0x1F;
LPC_IOCON->JTAG_TDI_PIO0_11 |= (1<<4);
LPC_GPIO0->DIR=(1<<11);
LPC_GPIO0->DATA &=~(1<<11);

but the voltage of pin(PIO0_11) is always high.

Labels (4)
0 Kudos
3 Replies

486 Views
victorjimenez
NXP TechSupport
NXP TechSupport

Hi Liu Feng,

For the example please see the LPCOpen for the LPC1114. There you will find different examples where you can see how the configurations of the pins are made. I highly recommend you to use the drivers provided in the LPCOpen. 

Please let me know if you have any more questions or doubts. 

Victor.

0 Kudos

486 Views
liufeng123
Contributor II

furthermore,we test the register ( IOCON_JTAG_TDI_PIO0_11 ),when the chip begin to power,the register value of IOCON_JTAG_TDI_PIO0_11 is 0XD0,when we change the register to general io mode ,the register value will change to 0XD0,so i think the register set is ok.

0 Kudos

486 Views
liufeng123
Contributor II

some project engineers advise me to close the jtag function,but i dont know how to close the jtag function,if the problem is the indeed,please give me the sample example.

0 Kudos