dan_rhodes
Posts: 16
Joined: Thu Dec 10, 2020 5:53 pm

Can the CM4 PCIe support two devices?

Thu Jul 01, 2021 12:41 am

PCIe is new to me and I'm trying to figure out if you can have more than one device on the CM4 PCIe bus. All of the carrier boards I've seen only have one device, so you can't have two GbE along with an M.2 drive or similar.

User avatar
Gavinmc42
Posts: 7243
Joined: Wed Aug 28, 2013 3:31 am

Re: Can the CM4 PCIe support two devices?

Thu Jul 01, 2021 3:14 am

There are some PCIe switches on Jeff's pages
https://pipci.jeffgeerling.com/
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

fanoush
Posts: 1011
Joined: Mon Feb 27, 2012 2:37 pm

Re: Can the CM4 PCIe support two devices?

Thu Jul 01, 2021 7:59 am

You need PCIE switch for that. I tried two different PCIE switches (based on ASM1184e and Pericom PI7C9X2G) and both worked, the 1x PCIE 2.0 bandwidth is shared of course so more PCIE devices communicating concurrently is slower, in reality it worked very well - tried reading from NVME and usb 3.0 SSD and it run full speed with one drive and half speed with reading two drives concurrently - more info here viewtopic.php?p=1827474#p1827474

Currently CM4 cannot boot directly from NVME drive when the drive is behind switch, needs small microsd card for that.

Not sure if anyone designed CM4 carrier board with PCIE switch chip directly on board to provide more slots but it is definitely possible.

Return to “Compute Module”