mntmn,
@mntmn@mastodon.social avatar

did you ever encounter some RP2040 GPIOs just not... working? i.e. you tell it to output a logic high level, but the actual pin is close to GND? we have some pocket keyboards that are like that. there is no short on the board. so i'm wondering how this can happen. damage during soldering, handling?

olimex,
@olimex@mastodon.social avatar

@mntmn do you initialize for GPIO function? There are several registers to set, sometimes default values may change

timonsku,
@timonsku@mastodon.social avatar

@mntmn hrm, maybe blown ESD diode. Damage like that from reflow feels unlikely

mntmn,
@mntmn@mastodon.social avatar

@timonsku i think keyswitches were handsoldered by pcbway. maybe there was damage during that process/handling

Laberpferd,
@Laberpferd@sueden.social avatar

@mntmn @timonsku
I would also suspect ESD damage as the first thing

You could use an low voltage ohmmeter (i dont know the exact term) that applies less than 0,6V and then test all the pins on an unpowered chip

If you see any observable current, there is definitely either a short on the PCB or a blown diode inside the chip

mntmn,
@mntmn@mastodon.social avatar

@Laberpferd @timonsku with my fluke, ohmmeter, i measure a resistance to GND on the broken pins, varying from like 10k to 10M, and on the working pins there is no measurable resistance

mntmn,
@mntmn@mastodon.social avatar

@Laberpferd @timonsku ah, on one board there is actually a short to GND (1.7 ohms) on that pin

funkylab,
@funkylab@mastodon.social avatar

@mntmn @Laberpferd @timonsku hm, but if that ESD diode became self-sacrificial, that would either be a severely underdimensioned protection, or a serious ESD surge that I wouldn't expect pcbway to have on series prod.
Q: is there a reasonable way you could estimate the worst-case negative pulse amplitude caused by opening a keyswitch under load? How much current do you put through your keys while scanning the key matrix? What's the (order of) inductivity of the longest trace?

mntmn,
@mntmn@mastodon.social avatar

@funkylab @Laberpferd @timonsku so far i think these keyboards are DOA, it doesn't happen because of continued use. assembled, flashed, some columns not working--dead pins.

the circuit is like: column GPIO outputs logical 1 (3.3V). on closed switch, this connects through a diode to a row GPIO input. on the broken boards, one or two of the column GPIO outputs cannot produce a logical 1.

mntmn,
@mntmn@mastodon.social avatar

@funkylab @Laberpferd @timonsku i just desoldered the first chip from a board. the problem is not on the board itself, there are no shorts. so it is the chip

azonenberg,
@azonenberg@ioc.exchange avatar

@mntmn @funkylab @Laberpferd @timonsku Innnteresting.

If you want to send me one or two of the fried chips I can do a decap and see if there's any obvious damage?

mntmn,
@mntmn@mastodon.social avatar

@azonenberg @funkylab @Laberpferd @timonsku oh yes, that would be mega awesome. lets do it!

azonenberg,
@azonenberg@ioc.exchange avatar

@mntmn @funkylab @Laberpferd @timonsku No promises anything will be optically visible but if there's catastrophic damage, it might be.

Worth a try at least.

mntmn,
@mntmn@mastodon.social avatar

@funkylab @Laberpferd @timonsku flipped desoldered rp2040 over. multimeter beeper from pin 8 (the output) to GND pad beeps (1 ohm). chip is damaged

jaseg,
@jaseg@chaos.social avatar

@mntmn @funkylab @Laberpferd @timonsku I have damaged MOSFETs before with a poorly grounded soldering iron which had ~90V to earth at several hundred microamps right on its tip.

timonsku,
@timonsku@mastodon.social avatar

@jaseg @mntmn @funkylab @Laberpferd hm yea, if they have floating irons that could def. be an issue. The workers likely wear grounding straps so they would realize the potential if they touch a ground point on the PCB during soldering.

funkylab,
@funkylab@mastodon.social avatar

@timonsku @jaseg @mntmn @Laberpferd but that's what I mean with "unlikely that PCBway has that problem"; these aren't a bunch of folks sitting at home with a 10€ soldering iron.

timonsku,
@timonsku@mastodon.social avatar

@funkylab @jaseg @mntmn @Laberpferd They might very well be, PCBWay has no assembly lines, they outsource this to various PCBA places. Which is why they can be quite inconsistent when it comes to assembly quality.

funkylab,
@funkylab@mastodon.social avatar

@timonsku @jaseg @mntmn @Laberpferd oh wow, wouldn't have expected that; keyboard assembly takes forever (and gets into quality/consistency problems) if you need to solder every pin of every keyswitch manually, which is why I'd have assumed there's enough concentration to either have one wave solder bath machine yourself, or one go-to subcontractor that does…

timonsku,
@timonsku@mastodon.social avatar

@funkylab @jaseg @mntmn @Laberpferd wave soldering only becomes cheaper at really high qty where the setup time and dialling in becomes worth it. Wave soldering is really tricky to get consistent and not every design is suited for it.
Not something you do if your joint count is in the thousands.

timonsku,
@timonsku@mastodon.social avatar

@mntmn @Laberpferd You can use the diode mode of the multimeter too to get the voltage drop of the diode and compare it to a working pin, will likely be very low or nothing at all.

mntmn,
@mntmn@mastodon.social avatar

@timonsku @Laberpferd diode measurement from GND to the pins is actually fine hm

jaseg,
@jaseg@chaos.social avatar

@mntmn @timonsku @Laberpferd If it's a blown ESD diode, the chip's current consumption should also be significantly higher. You might even see a difference when looking with a thermal camera.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • kavyap
  • ngwrru68w68
  • osvaldo12
  • DreamBathrooms
  • mdbf
  • magazineikmin
  • thenastyranch
  • Youngstown
  • khanakhh
  • everett
  • slotface
  • tacticalgear
  • rosin
  • cubers
  • megavids
  • normalnudes
  • modclub
  • ethstaker
  • InstantRegret
  • GTA5RPClips
  • cisconetworking
  • Durango
  • Leos
  • provamag3
  • tester
  • anitta
  • JUstTest
  • lostlight
  • All magazines