the pin(PIO0_11) of LPC1114 is always high.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

the pin(PIO0_11) of LPC1114 is always high.

1,611 次查看
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.

标签 (4)
0 项奖励
回复
3 回复数

1,452 次查看
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 项奖励
回复

1,452 次查看
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 项奖励
回复

1,452 次查看
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 项奖励
回复