Acorn wiring on a Raspberry Pi 5

This page is for someone with an Acorn on a Raspberry Pi 5 with an M.2 HAT. It lists which wire of the card’s two connectors goes to which pin of the Pi’s 40-pin header. The settings the Pi needs for those wires are on the Pi’s settings. An Acorn in a Compute Blade is wired differently and has its own page. To build and fit the cables, follow The two cables on a Raspberry Pi 5.

The wiring sheet

Acorn to Raspberry Pi 5 wiring sheet Acorn to Raspberry Pi 5 wiring sheet

The --pins numbers at the top right of the sheet are GPIO numbers, not header pin numbers. A dashed outline is one Dupont housing, and a red cross is a pin or a wire that nothing goes on. Select the sheet for the full-size drawing.

Board connectors

The Acorn has two 6-pin Molex Pico-EZmate connectors. Both are on the underside of the card (the face without the FPGA and heatsink). They sit side by side along one long edge at the fan end, away from the M.2 edge connector. The silkscreen beside them reads I/O / P2 and JTAG / P1, and P2 is the one nearer the end of the card.

Pin 1 of each connector is the end nearest the M.2 edge connector, and it is GND on both. Both cables have six black wires, so a wire is told by its position from pin 1.

Each row of the table is one pin, with its signal on P2 and on P1, named after the “Pico-EZmate connectors pinout on Acorn, Nite/LiteFury” legend of the LiteX Acorn CLE-215 wiki. The legend names K2 and J2 from the host’s side. The table names them from the FPGA’s side, so K2 is the FPGA’s transmitter.

Pin

P2 (I/O)

P1 (JTAG)

1

GND

GND

2

K2 (LVCMOS33): serial TX, FPGA output

TCK: JTAG clock

3

J2 (LVCMOS33): serial RX, FPGA input

TDO: JTAG data out

4

J5 (LVCMOS33): spare GPIO

TMS: JTAG mode select

5

H5 (LVCMOS33): spare GPIO

TDI: JTAG data in

6

VCC: 3.3 V from the Acorn, cut, never connected

VCC: 3.3 V from the Acorn, cut, never connected

Warning

The VCC (3.3 V) wire of both P1 and P2 must never be connected to the host. Cut it back and insulate it. 3.3 V from the Acorn into the header can damage the Pi.

P2: serial pair and spare GPIOs

P2 goes to a 2×3 Dupont housing on header pins 5-10. The outline in the first header picture is the whole housing. The second marks the header pins that carry a wire: a cavity over an unmarked pin stays empty. Each row of the table is one wire: a P2 pin, the header pin it lands on, its GPIO and the direction.

The Acorn's connector end from below, with socket P2 and its pin 1 marked; P1 and the pad greyed

The Acorn's connector end from below, with socket P2 and its pin 1 marked; P1 and the pad greyed

The M.2 HAT's 40-pin header from above, with pins 5 to 10 marked: where the 2×3 housing goes

The M.2 HAT's 40-pin header from above, with pins 5 to 10 marked: where the 2×3 housing goes

The M.2 HAT's header, pins 3 to 12, with the pins that carry a P2 wire marked: 5, 6, 7, 8 and 10

The M.2 HAT's header, pins 3 to 12, with the pins that carry a P2 wire marked: 5, 6, 7, 8 and 10

P2 pin

Signal

→ 40-pin header pin

Host name

GPIO

Direction

1

GND

6

GND

—

—

2

K2 (LVCMOS33): serial TX, FPGA output

10

GPIO15

GPIO15 (RXD0)

FPGA → Pi

3

J2 (LVCMOS33): serial RX, FPGA input

8

GPIO14

GPIO14 (TXD0)

Pi → FPGA

4

J5 (LVCMOS33): spare GPIO

5

GPIO3

GPIO3 (I2C1_SCL)

either

5

H5 (LVCMOS33): spare GPIO

7

GPIO4

GPIO4 (GPCLK0)

either

6

VCC: 3.3 V from the Acorn, cut, never connected

cut, never connected

—

—

—

P1: JTAG

P1 goes to a 2×4 Dupont housing on header pins 19-26. The outline in the first header picture is the whole housing. The second marks the header pins that carry a wire: a cavity over an unmarked pin stays empty. Each row of the table is one wire: a P1 pin, the header pin it lands on, its GPIO and the direction.

The Acorn's connector end from below, with socket P1 and its pin 1 marked; P2 and the pad greyed

The Acorn's connector end from below, with socket P1 and its pin 1 marked; P2 and the pad greyed

The M.2 HAT's 40-pin header from above, with pins 19 to 26 marked: where the 2×4 housing goes

The M.2 HAT's 40-pin header from above, with pins 19 to 26 marked: where the 2×4 housing goes

The M.2 HAT's header, pins 17 to 28, with the pins that carry a P1 wire marked: 19, 21, 23, 24 and 25

The M.2 HAT's header, pins 17 to 28, with the pins that carry a P1 wire marked: 19, 21, 23, 24 and 25

P1 pin

Signal

→ 40-pin header pin

Host name

GPIO

Direction

1

GND

25

GND

—

—

2

TCK: JTAG clock

23

GPIO11

GPIO11 (SPI0_SCLK)

Pi → FPGA

3

TDO: JTAG data out

21

GPIO9

GPIO9 (SPI0_MISO)

FPGA → Pi

4

TMS: JTAG mode select

24

GPIO8

GPIO8 (SPI0_CE0)

Pi → FPGA

5

TDI: JTAG data in

19

GPIO10

GPIO10 (SPI0_MOSI)

Pi → FPGA

6

VCC: 3.3 V from the Acorn, cut, never connected

cut, never connected

—

—

—

When a wire does not answer: Acorn wiring faults on a Raspberry Pi 5.