cancel
Showing results for 
Search instead for 
Did you mean: 

Why does this input output a signal?

AGerb.1
Associate

I am experiencing strange behavior with the following setup:

  • Custom hardware, STM32G070CBT6 @ 3.6V with/without software present
  • 4.7k resistor from PD0 to 3.6V
  • There is no electrical connection between PD0/PD1 (checked resistance with multimeter)

0693W000004Gzi7QAC.png

If I apply a square wave of 0V/3.6V to PD1, a similar signal can be observed on PD0. It seems like there is an internal pull-down resistor switching on/off. It does not make a difference whether software configures the pins as inputs, or no software at all is present on the microcontroller.

How can this behavior be explained? Is there an internal mechanism that can cause this? As far as I can tell, these I/O pins should not influence each other at all. Besides using different pins, can anything be done about this using software?

1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Guru

I think this would explain it. From the datasheet:

0693W000004H0K6QAK.png

If you feel a post has answered your question, please click "Accept as Solution".

View solution in original post

2 REPLIES 2
TDK
Guru

I think this would explain it. From the datasheet:

0693W000004H0K6QAK.png

If you feel a post has answered your question, please click "Accept as Solution".
AGerb.1
Associate

thank you, I didn't see that!