Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • About Bonfire
Lucie / minute
Lucie / minute
@mntmn@mastodon.social  ·  activity timestamp 2 months ago

@pinsl i can review it on monday if you link me the files here!

  • Copy link
  • Flag this post
  • Block
Federation Bot
Federation Bot
@Federation_Bot replied  ·  activity timestamp 2 months ago

@mntmn nudge :)

  • Copy link
  • Flag this comment
  • Block
Federation Bot
Federation Bot
@Federation_Bot replied  ·  activity timestamp 2 months ago

@mntmn I just soldered another one of the PCBs and it shows the same problem. Using a shorter / better USB cable seems to help.

  • Copy link
  • Flag this comment
  • Block
Lucie / minute
Lucie / minute
@mntmn@mastodon.social replied  ·  activity timestamp 2 months ago

@pinsl i've checked your board now. schematic seems fine, but i think the issue is that you have multiple ground splits under your USB diff pair (as this is a two layer board, and you have a lot of other signals crisscrossing on the way) and no ground stitching around the USB diff pair. also the 27Rs are quite big and the diff pair is not differentially routed at the beginning near the MCU. the meander also doesn't help (meanders are not needed at these USB speeds).

  • Copy link
  • Flag this comment
  • Block
Lucie / minute
Lucie / minute
@mntmn@mastodon.social replied  ·  activity timestamp 2 months ago

@pinsl easiest fix would be to change to a 4-layer board with signal/GND/GND/signal (and power mixed with signal) or signal/GND/PWR/signal (power+gnd in PWR layer), and make sure there's GND on the opposite side always. i compromised about this a bit on the orig. kdb4 design as it is also 2-layer, but the diff pair is mostly referenced to ground along the longest stretches.

  • Copy link
  • Flag this comment
  • Block
Lucie / minute
Lucie / minute
@mntmn@mastodon.social replied  ·  activity timestamp 2 months ago

@pinsl what you could try is desolder R6/R5 and U4 and try to replace that connection with a shielded (shield connected to GND) twisted pair cable (or length of cut, thin USB2 cable) with smaller 27 ohms resistors on one end

  • Copy link
  • Flag this comment
  • Block
Lucie / minute
Lucie / minute
@mntmn@mastodon.social replied  ·  activity timestamp 2 months ago

@pinsl there are ground splits here as well as you got 3v3 and 5v routed under the diff pair. maybe this stub also creates the main issue, you could try cutting the traces off close to the USB-C connector

Sorry, no caption provided by author
Sorry, no caption provided by author
Sorry, no caption provided by author
  • Copy link
  • Flag this comment
  • Block
Federation Bot
Federation Bot
@Federation_Bot replied  ·  activity timestamp 2 months ago

@mntmn That would be great, thanks! Files are here: https://codeberg.org/funnes/reform-split-keyboard/src/branch/split/reform2-keyboard4-pcb

  • Copy link
  • Flag this comment
  • Block

A small Bonfire corner on the internet

This is a small personal instance of Bonfire in the Fediverse.

A small Bonfire corner on the internet: About · Code of conduct · Privacy ·
Bonfire social · 1.0.1 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Code of Conduct