News for hackers. Stuff that matters.
Re:PCI Express on the Raspberry Pi 4 by segfaultbuserr on Wednesday July 10, 2019 @02:58AM (#20399731)
It looks like an unreliable modification. Running a GHz-level interface with jumpers is almost impossible to control the impedance, it's a cool Proof-of-Concept though.

But is it possible to bring the project to the next level? Is it possible to make a daughterboard with QFN connector? If so, one can make a pin-compatible daughterboard with an extension connector. To use it, just desolder the USB chip and solder a new daughterboard on it, and you're ready to go. It would be one of the coolest Raspberry Pi projects!

Re:PCI Express on the Raspberry Pi 4 by qdot_me on Wednesday July 10, 2019 @03:09AM (#20399788)
Yup. The daughterboard is on my mind. Likely flex-PCB and that’s gonna take a week or two to respin. Hence I’m collecting ideas for various daughtercards I could cram in a panel before sending it off - straight-through to riser via USB3, expresscard SMT, maybe through-hole 1x?

That said, PCIe phy’s are extremely robust - they do most of the impedance matching and delay mismatch training. And if you don’t ruin the onboard caps, this could be jumpered straight across.

Re:PCI Express on the Raspberry Pi 4 by segfaultbuserr on Wednesday July 10, 2019 @03:21AM (#20399838)
Great!

I was thinking about using a SMT ribbon cable connector because of the limited available space, but apparently it won't be an issue if you raise the board high enough?

Anyway, if this project ever goes to batch-production, make sure to update your blog when the funding campaign starts!

Re:PCI Express on the Raspberry Pi 4 by kees99 on Wednesday July 10, 2019 @04:42AM (#20400223)

  It looks like an unreliable modification.
PCIe is surprisingly robust at short lengths. For example, [NanoPi_M4] has two lanes of PCIe coming to the daughterboards via old-school 0.1" connector. Something that many electrical engineers would cringe at, and yet - it works rather reliably.

[NanoPi_M4] http://wiki.friendlyarm.com/wiki/index.php/NanoPi_M4#Layout

Re:PCI Express on the Raspberry Pi 4 by userbinator on Wednesday July 10, 2019 @07:56AM (#20401071)
Exactly, the PCIe reference clock is "only" 100MHz.

USB 2.0 runs at 480MHz and motherboards have used 0.1" headers for them since the beginning.

Re:PCI Express on the Raspberry Pi 4 by LIV2 on Wednesday July 10, 2019 @08:39AM (#20401371)
While the ref clock is only 100MHz the data rate of PCI Express is much higher, it's a serial bus pushing multiple gigabits a second https://electronics.stackexchange.com/a/259002
Re:PCI Express on the Raspberry Pi 4 by baybal2 on Wednesday July 10, 2019 @09:05AM (#20401550)
Yes, the theoretical maximum (nyquist freq) of PCIe 4 is 8ghz
Re:PCI Express on the Raspberry Pi 4 by Kirby64 on Wednesday July 10, 2019 @10:11AM (#20402084)
The Pi4 isn't PCIe Gen 4, though. It's only PCIe Gen 2. Max speed of PCIe Gen 2 is 5GT/s, which equates to the same speed as standard USB3.0/USB3.1 Gen1/whatever its called nowadays.
Re:PCI Express on the Raspberry Pi 4 by baybal2 on Wednesday July 10, 2019 @10:36AM (#20402345)
Nyqist frequency of 2Ghz for PCIe 2 (slightly less in practice due to line code) is still nothing to sneeze at.
Re:PCI Express on the Raspberry Pi 4 by Kirby64 on Wednesday July 10, 2019 @11:40AM (#20403007)
2.5 GHz, actually. Obviously there's limitations and you have to be careful, but it's not too crazy to think you could use a piece of USB3 cabling to do this. Requires some pretty precise soldering skills though.
Re:PCI Express on the Raspberry Pi 4 by mkesper on Wednesday July 10, 2019 @04:14AM (#20400088)
Maybe a new raspberry compute module (https://www.raspberrypi.org/blog/raspberry-pi-compute-module...) featuring PCIe could be implemented?
Re:PCI Express on the Raspberry Pi 4 by HeWhoLurksLate on Wednesday July 10, 2019 @08:08AM (#20401152)
Oh heck yeah, that'd be amazing. I'm unfamiliar with this- do the compute modules have any sequential unused pins on them?
Re:PCI Express on the Raspberry Pi 4 by monocasa on Wednesday July 10, 2019 @10:16AM (#20402131)
I've seen pcie literally run over a metal clothes hanger soldered to the board. It's extremely tolerant of terrible quality connections.
Re:PCI Express on the Raspberry Pi 4 by benj111 on Wednesday July 10, 2019 @10:45AM (#20402445)
How did you reach the situation where the solution was soldering a clothes hanger to a board for pcie ???
Re:PCI Express on the Raspberry Pi 4 by monocasa on Wednesday July 10, 2019 @12:30PM (#20403533)
We were seeing some issues, one engineer was blaming signal integrity issues, we didn't have access to a high enough speed oscope to get a clean eye diagram, and so another engineer literally disappeared for an hour and had the boards running over the clothes hangars on the old firmware to say, no, it's not a questionable signal integrity issue, go back and fix your code.
Re:PCI Express on the Raspberry Pi 4 by Y_Y on Wednesday July 10, 2019 @11:41AM (#20403019)
Putting shirts directly onto the board creates heating issues
Re:PCI Express on the Raspberry Pi 4 by quenstionsasked on Wednesday July 10, 2019 @01:06PM (#20403946)
Where do you work?
Re:PCI Express on the Raspberry Pi 4 by monocasa on Wednesday July 10, 2019 @01:08PM (#20403961)
I don't work there anymore.
Re:PCI Express on the Raspberry Pi 4 by madengr on Wednesday July 10, 2019 @07:17AM (#20400869)
36 gauge wire, and twisting them into pairs would help, or parallel and flat against the PCB.
Re:PCI Express on the Raspberry Pi 4 by jhart99 on Wednesday July 10, 2019 @10:20AM (#20402165)
Could also look at flat flexible cable like is used to connect Crossfire devices. Those have equal length traces and shouldn't be too far off in impedance.