Skip to main content
Associate II
March 16, 2026
Solved

STM32G070CBT6 0.7V on input pin PD0 with external 10k pullup.

  • March 16, 2026
  • 3 replies
  • 389 views

Hello i use STM32G070CBT6 with PD0 and others pins.

PD0 as input pin with no internal pull-up/down with extrenal 10k pullup gives only 0.7V, when i set the pin to output and set state to high there is 3.3V.

Where is the problem?

 

Best answer by transistor

I used deactive dead battery pull-up. Thanks for help.

3 replies

TDK
Super User
March 16, 2026

What else is PD0 connected to externally? Show your schematic. Likely something externally is pulling it down. Enable the internal pullup/pulldown to quantify the change in the output level.

"If you feel a post has answered your question, please click ""Accept as Solution""."
Associate II
March 16, 2026
 
 

PD1 and PD2 are connected in the same way and they work right.

gbm
Principal
March 16, 2026

PD0 is one of UCPD pins. Either connect PD1 to GND or disable the default operation in software. The topic was discussed many times.

My STM32 stuff on github - compact USB device stack and more: https://github.com/gbm-ii/gbmUSBdevice
Andrew Neil
Super User
March 16, 2026
A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
transistorAuthorBest answer
Associate II
March 17, 2026

I used deactive dead battery pull-up. Thanks for help.