Skip to main content
Visitor II
November 29, 2023
Question

The strange GPIO pullup output voltage

  • November 29, 2023
  • 2 replies
  • 1522 views

I tried 3 boards F407vet6 x2 and F427 x1.

I found both pullup and pulldown gpio output in PP and OD will put a low voltage. 20mV in down and 50 mv in up.

This situation is based on the stdperiph-Lib

However, use the Hal-Lib to implement the gpio output, it will work well.

I've tried to search for simillar issues on internet, but none.

    This topic has been closed for replies.

    2 replies

    Super User
    November 29, 2023

    Read out and check/post the GPIO registers content during your test.

    JW

    Super User
    November 29, 2023

    The SPL can't change the low-level hardware behavior. It's accessing the same registers as HAL and the registers dictate the behavior of the chip.

    Likely to be some other explanation.