lpcware

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

Discussion created by lpcware Employee on Jun 15, 2016
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

Outcomes