Skip to main content
AGerb.1
Associate
September 24, 2020
Solved

Why does this input output a signal?

  • September 24, 2020
  • 2 replies
  • 1288 views

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?

This topic has been closed for replies.
Best answer by TDK

I think this would explain it. From the datasheet:

0693W000004H0K6QAK.png

2 replies

TDK
TDKBest answer
September 24, 2020

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
AGerb.1Author
Associate
September 24, 2020

thank you, I didn't see that!