Skip to content

Commit

Permalink
Issue #648: Add Hat AI Dual Edge Coral TPU bundle.
Browse files Browse the repository at this point in the history
  • Loading branch information
geerlingguy committed May 24, 2024
1 parent 181b380 commit 83f6bdb
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 3 deletions.
7 changes: 4 additions & 3 deletions _cards_m2/coral-m2-accelerator-dual-edge-tpu.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,17 @@ layout: card
title: "Coral M.2 Accelerator with Dual Edge TPU"
picture: "/images/m2-coral-m2-accelerator-dual-edge-tpu.jpeg"
functionality_cm4: "None"
functionality_pi5: "Untested"
functionality_pi5: "Full"
driver_required: "Yes"
github_issue: "https://github.com/geerlingguy/raspberry-pi-pcie-devices/issues/318"
buy_link: https://coral.ai/products/m2-accelerator-dual-edgetpu/
videos: []
---
The [Coral M.2 Accelerator with Dual Edge TPU](https://coral.ai/products/m2-accelerator-dual-edgetpu/) uses an interesting feature of M.2 E-key slots—it uses both lanes that are in the spec to the slot (though most board manufacturers only implement one lane per slot).

The Seaberry board comes with slots that implement both lanes per M.2 E-key slot, though, so this card could work if the device supports it. Sadly, as we've seen with the single TPU ([see issue #44](https://github.com/geerlingguy/raspberry-pi-pcie-devices/issues/44)), the Compute Module 4's PCIe implementation is currently incompatible with the Coral PCIe driver.
There are only a two ways to use this Dual Edge TPU with a Pi natively right now:

Other CM4-pinout-compatible boards _might_ work with it (but nobody's had success yet).
- Pineboards makes a [Dual Edge TPU HAT](https://pineboards.io/products/hat-ai-dual-edge-coral-tpu-bundle-for-raspberry-pi-5) which uses a PCIe switch to connect two PCIe lanes to an E-key M.2 slot for the Dual Edge TPU specifically.
- The [Seaberry Mini ITX board for CM4](https://pipci.jeffgeerling.com/boards_cm/seaberry.html) comes with slots that implement both lanes per M.2 E-key slot. But the CM4's PCIe implementation seems incompatible with any Coral TPU ([see issue #44](https://github.com/geerlingguy/raspberry-pi-pcie-devices/issues/44))

The Raspberry Pi 5 model B may work with it, but right now testing is devoted to the single TPU model, since there are currently no HATs available with a dual-lane M.2 E-key slot (and it's likely there never _will_ be one, unless we can get the singl TPU model working reliably).
15 changes: 15 additions & 0 deletions _hats/pineboards-hatai-dual-edge-tpu.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
layout: hat
title: "Pineboards HatAI! Dual Edge TPU"
short_description: A HAT which allows connecting Dual Edge Coral TPUs to the Pi 5.
status: production
picture: "/images/hat-pineboards-hatai-dual-edge-tpu.jpg"
github_issue: "https://github.com/geerlingguy/raspberry-pi-pcie-devices/issues/648"
link: "https://pineboards.io/products/hat-ai-dual-edge-coral-tpu-bundle-for-raspberry-pi-5"
videos: []
---
Pineboards offers a [Hat AI! Dual Edge Coral TPU Bundle for Raspberry Pi 5](https://pineboards.io/products/hat-ai-dual-edge-coral-tpu-bundle-for-raspberry-pi-5), which unites a Dual Edge Coral TPU for AI/ML/inference to the Raspberry Pi 5, through a PCIe Switch to support both PCIe lanes for both TPUs.

Most other E-key PCIe HATs only support one PCIe lane, so if you installed a Dual Edge TPU, you would only have access to one of the two TPUs.

Pineboards also includes a Dual Edge TPU with this bundle, so you don't need to source your own from another vendor.
Binary file added images/hat-pineboards-hatai-dual-edge-tpu.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 83f6bdb

Please sign in to comment.