problem with nrf52832 gpio

Hi,I'm using nrf52832. I configured P0.20 as GPIO output,P0.22 as GPIO input.These two pins are connected wiht a 10Kohm resistor.I measured the voltage level on P0.22 is about 2V.

Why?The chip is broken?I have dozens of nrf52832 have the same problem.

Parents
  • R52:10K;R41:1M;K5DET2 is GPIO input;K5DET1 is GPIO output.The two pins are connected with a 10Kohm resistor and a switch.There are 6 switches in my design.P0.20 and P0.22 are only mentioned as example.When the switch is open,the voltage level of output pin is 3.6V,the input pin is 0V.When the switch is closed,I expect the voltage level on the input pin would be 3.6V.But actually the voltage level varied,3.6V,2.6V,2V,0.4V,e.g.

Reply
  • R52:10K;R41:1M;K5DET2 is GPIO input;K5DET1 is GPIO output.The two pins are connected with a 10Kohm resistor and a switch.There are 6 switches in my design.P0.20 and P0.22 are only mentioned as example.When the switch is open,the voltage level of output pin is 3.6V,the input pin is 0V.When the switch is closed,I expect the voltage level on the input pin would be 3.6V.But actually the voltage level varied,3.6V,2.6V,2V,0.4V,e.g.

Children
No Data
Related