GIO0_7 & 9 can't be set LOW at the same time

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

GIO0_7 & 9 can't be set LOW at the same time

662 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by yuezhang on Mon Jun 16 09:21:20 MST 2014
I use GIO0_7 and GIO0_9 on LPC1111 as two control signals in my design. I just config the two signals as general output IO. But I found when I set both of them LOW, both of them are bouncing up and down like clock as probed on scope. But if I set either one is high or both high, then there is no problem. My code is as follows when bouncing:

GPIOConfig(PORT0, PIN7, PULLDOWN);
GPIOSetDir(PORT0, PIN7, OUTPUT_IO);

GPIOConfig(PORT0, PIN9, INACTIVE);
GPIOSetDir(PORT0, PIN9, OUTPUT_IO);

GPIOSetValue(PORT0, PIN9, LOW);

Anyone experienced this problem?

Thanks
标签 (1)
0 项奖励
回复
0 回复数