element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum RP2350 GPIO Pull-down Latching Bug
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 21 replies
  • Subscribers 657 subscribers
  • Views 8915 views
  • Users 0 members are here
  • RP2350
  • GPIO Latching
  • pico2
  • xiao_rp2040
Related

RP2350 GPIO Pull-down Latching Bug

ralphjy
ralphjy over 1 year ago

I just saw this bug while searching the web.  I haven't been able to get a Pico 2 so I bought a Seeed Xiao RP2350 board which I just received yesterday.  Maybe it's a good thing that these boards have not been more available...

Here is the errata excerpt from the rp2350 datasheet

image

At least this bug is documented.  I haven't powered my board yet so I have not had a chance to encounter the problem.

Here is a link to a post on Hackster - Hardware Bug in RP2350 leads to unexpected pull-down behavior.

  • Sign in to reply
  • Cancel
Parents
  • scottiebabe
    scottiebabe over 1 year ago

    Looks like the input buffer on the io pads is goofed.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • scottiebabe
    scottiebabe over 1 year ago in reply to scottiebabe

    A simple test, drive an IO pad with a source impedance of 10 kOhms

    image

    With the Input buffer disabled and Pull Up/Down Disabled

    mem32[0x40038000+4]=0x000

    image

    The IO pad doesn't load the 10kOhm source, as it should Ie being high-impedance.

    With the Input buffer enabled and Pull Up/Down Disabled

    mem32[0x40038000+4]=0x040

    image

    The IO pad is sourcing and sinking current and loading the source resistance.

    As a high impedance input it should not source or sink ANY current.

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • scottiebabe
    scottiebabe over 1 year ago in reply to scottiebabe

    A simple test, drive an IO pad with a source impedance of 10 kOhms

    image

    With the Input buffer disabled and Pull Up/Down Disabled

    mem32[0x40038000+4]=0x000

    image

    The IO pad doesn't load the 10kOhm source, as it should Ie being high-impedance.

    With the Input buffer enabled and Pull Up/Down Disabled

    mem32[0x40038000+4]=0x040

    image

    The IO pad is sourcing and sinking current and loading the source resistance.

    As a high impedance input it should not source or sink ANY current.

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Cancel
Children
  • genebren
    genebren over 1 year ago in reply to scottiebabe

    Cool work on verifying/clarifying this Bug/Issue!

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • Jan Cumps
    Jan Cumps over 1 year ago in reply to scottiebabe

    Is that the same scenario as the bug report? I read it as: only impacting with the pull-down enabled.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • scottiebabe
    scottiebabe over 1 year ago in reply to genebren

    They didn't do a great job explaining the issue. The issue is the input buffer sources current into the IO pin, so the electrical characteristics table is wrong.

    image

    The pin latches in pull-down mode because this input buffer sources more current than the pull-down resistor can sink.

    The leakage of the input buffer looks something like the following.

    image

    The built-in pulldown resistors are strong enough to overdrive this weird input buffer, so one could also just add their own 10K pull-down resistor on board. 

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • scottiebabe
    scottiebabe over 1 year ago in reply to Jan Cumps

    It's the root cause of the latching effect.

    image

    image

    The input buffer leakage is greater than what the pull-down resistor can sink, so the IO stays high until you either

    Yank the pin low with a bigger pulldown resistor

    or disable the input buffer.

    • Cancel
    • Vote Up +4 Vote Down
    • Sign in to reply
    • Cancel
  • ralphjy
    ralphjy over 1 year ago in reply to scottiebabe

    Nice work verifying the issue. Not that it matters, but out of curiosity - which board(s) do you have?

    It would be interesting if they will share what current path is turned on when the buffer input switches high. Maybe it’s related to the enable circuit.

    I guess it’s not a horrible hardware or software workaround for someone with just a few boards.  Seems like vendors got a lot of board variants out quickly.  Wonder what they will do?

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • Jan Cumps
    Jan Cumps over 1 year ago in reply to ralphjy

    > Wonder what they will do?

    They announced that they won't fix silicon or adapt the API, but will use documentation to deal with it.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • scottiebabe
    scottiebabe over 1 year ago in reply to ralphjy

    Thanks!

    I guess I got lucky with timing and managed to picked up a few Pico 2's

    image

    The GPIO pin only has a connection to the RP2350, which should be the same as most RP2350 boards.

    The input buffer has some strange input bias/leakage current

    image

    I too would be interested to know what the actual cause is.

    If whatever is driving the IO pin has a source resistance less than 10kOhms (most digital outputs are), than it isn't really a showstopper.

    Trying to measure the charge time of a capacitor or a push button connected to VDD (with out a pull-down resistor) could be problematic...

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • phoenixcomm
    phoenixcomm over 1 year ago in reply to Jan Cumps

     Jan Cumps This isn't a 'fix' its im blind and anybody that bought the piece of crap lost money time, and investment!  fixing the Docs will not fix the underling issue! the silicon and or their firmware is Bogged Up! 

    What they should do: is to give anybody that has one to replace it. Its called a RECALL!!  ~~ Cris

    or Simpler Stop using Pis!!! 

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • shabaz
    shabaz over 1 year ago in reply to phoenixcomm

    I bought a few but have not spent any time with them so far. I might one day make use of them, but on the whole I'm going to use the older Pico instead. For sure the new chip will be very useful for those that buy knowing the issue exists and work around it.

    The bug is severe enough that I would hope that any of the reputable sellers would immediately refund anyone who wants a refund, if they purchased unaware of the issue. (And if they don't I hope people report them to trading standards or equivalent in other countries; users deserve to be dealt with fairly). I hope they now it make clear when purchasing, that there is an issue with the chip, so that users are aware that they may wish to buy an older Pico model instead.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • scottiebabe
    scottiebabe over 1 year ago in reply to phoenixcomm

    Easy there, TTL flew to the moon.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube