GithubHelp home page GithubHelp logo

m1geo / pi5_pcie Goto Github PK

View Code? Open in Web Editor NEW
56.0 9.0 6.0 7.67 MB

A crude reverse engineering of the Pi5 PCIe connector & potential breakout boards.

Home Page: https://www.george-smart.co.uk/

License: MIT License

kicad nvme pcb pcie raspberry-pi raspberry-pi-5 reverse-engineering

pi5_pcie's Introduction

Pi5 PCIe & M2 NVMe

A crude reverse engineering of the Raspberry Pi 5's FPC PCIe connector & potential breakout board.

OFFICIAL RASPBERRY PI PCIE DOCOUMENTATION CAN BE FOUND HERE: https://datasheets.raspberrypi.com/pcie/pcie-connector-standard.pdf

In this bare-bones project I document a working PCIe pinout talk through my hardware tinkering to get the Raspberry Pi 5's PCIe connected to something. I had only seen Raspberry Pi's boards with their RP2040 and lots of parts on board. My professional experience with PCIe was that it either just goes or it really doesn't. I decided to try and make it do something for no reason other than the technical challenge.

To see what I did, check out my walkthrough of the process on YouTube: Raspberry Pi 5 - Unofficial PCIe Success - Hacking the Pi5's PCIe into life.

Note: This project is a reverse engineering - Please wait for/use the official Raspberry Pi PCIe documentation when using the PCIe FPC

Pi5 PCIe Breakout Board

The board is a quick test board. It could definitely be improved :)

3D Model of PCIe board

Pi5 M.2 NVMe Breakout Board

3D Model of M.2 NVMe board

pi5_pcie's People

Contributors

m1geo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pi5_pcie's Issues

I2C

I suspect P3+P4 are I2C and used to communicate with the RP2040 seen on the prototype M.2 HAT. The BCM2712 has two pins muxed to the I2C peripheral and they're named PCIE_SCL/SDA. It isn't the RP1 either as that has a separate I2C bus.

These two pins are configured with the weak internal pulldown enabled and always read as low. The M.2 HAT presumably has the missing I2C pullup resistors.

114: a1    pd | lo // PCIE_SDA/GPIO14 = SPI_S_MOSI_OR_BSC_S_SDA
115: a1    pd | lo // PCIE_SCL/GPIO15 = SPI_S_SCK_OR_BSC_S_SCL

Should be easy enough to confirm by running pinctrl before & after pulling the pins high.

Testing with i225

Hi there,

Is there any chance you can try an intel i225 with your extension can see if it works.
I am specifically interested since you are reversing the polarity of the reset signal.

Thank you

PCIe Lane inter-pair reversal

The prototype M.2 HAT doesn't appear to have crossed PCIE_RX0P/N pairs, so I suspect I have them around the wrong way. It works on hardware both ways, so at least one end autodetects. Thus, can't rely on the "working" to be the indicator, and now using the PCB traces to inform.

Quick drawing showing the RX pair lanes are swapped on the Pi5 connector, confirming there is no twist on the M.2 hat
[AltText: Quick drawing showing the RX pair lanes are swapped on the Pi5 connector, confirming there is no twist on the M.2 hat]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.