Skip to the content
PCBKitNew board
4 layers59 × 32 mmCp pi if fit shield, the printed circuit board in 3D

Amiga clock port to Raspberry Pi interface

Size
59 × 32 mm
Copper layers
4
Thickness
1.59 mm
Parts
15
Nets
79
Pads
214
Tracks, vias
484, 39
Pours
2
Routed
Yes
KiCad
KiCad 6 (file 20211014)
Created
15 Jun 2022
Updated
18 Nov 2023

Overview

Cp pi if fit shield is an open-source printed circuit board by niklasekstrom, from the niklasekstrom/clockport_pi_interface repository on GitHub, published under the GPL-3.0 licence. It is a 4-layer board of 59 × 32 mm with 15 parts on 79 nets, routed with 484 tracks and 39 vias.

It is built around the SN74LVC573APWRE4 and IS63WV1288DBLL-10TLI. Its parts include 8 capacitors, 4 ICs and 2 connectors. It belongs with the retro computing and games and lEDs and displays boards and the FPGA and CPLD boards of this library.

Main components

2

README

README.md

Amiga clock port to Raspberry Pi interface

This interface has a small 64 kB SRAM memory that is shared between an Amiga and a Raspberry Pi. The Amiga connects to the interface through the clock port.

The A314 software has been adapted to this interface so that it is possible to run services such as a314fs and the SANA-II network driver. This board has later become referenced to as A314-cp. The software for all variants of A314 is available in the main branch of the a314 repository. The instructions for how to install the software is in the Software/README.md file.

PCBInstalled with Pi 3A
PCB

Details about how the interface works

Either side, the Amiga or the Pi, can read from and write to the SRAM. The interface is 8 bits wide, meaning that each access reads or writes one byte. The interface is symmetric between the sides, so in this description we describe how the Amiga is communicating with the interface, but the communicating between the Pi and the interface works in the same way.

The Amiga can perform two commands towards the interface:

  • Read a register
  • Write a register

The interface exposes four registers:

  • REG_SRAM = 0
  • REG_IRQ = 1
  • REG_A_LO = 2
  • REG_A_HI = 3

The interface has the following state variables:

  • Amiga address pointer, 16 bits
  • Pi address pointer, 16 bits
  • Amiga interrupt request, 1 bit
  • Pi interrupt request, 1 bit

The actions that the Amiga can do, and their effects:

  • Write REG_A_LO or REG_A_HI: update the Amiga address pointer.
  • Write REG_IRQ: write 0 to clear the Amiga interrupt request bit, and write 1 to set the Pi interrupt request bit.
  • Read REG_SRAM: reads and returns the byte in SRAM that the Amiga address pointer points to, and then increments the pointer.
  • Write REG_SRAM: same as above but writes a byte to SRAM and increments address pointer.

So in order to read and write to the SRAM, either side must set the address pointer, and then repeatedly read (or write) REG_SRAM in order to read (or write) subsequent positions in the memory.

Bill of materials

ReferencesValueFootprintQuantity
C1, C2, C3, C4, C5, C6, C7, C80.1uC_0603_1608Metric8
U1XC9572XL-VQ64TQFP-64_10x10mm_P0.5mm1
IC2, IC3SN74LVC573APWRE4
(alt: 74LVC573APW,118)
SOP65P640X120-20N2
IC1IS63WV1288DBLL-10TLI
(alt: IS61WV1288EEBLL-10TLI)
SOIC127P1176X120-32N1
J1Raspberry_Pi_2_3PinSocket_2x20_P2.54mm_Vertical1
J2Conn_02x11_Odd_EvenPinSocket_2x11_P2.00mm_Vertical1

Parts

15
QtyValueFootprintReferences
80.1uCapacitor_SMD:C_0603_1608MetricC1, C2, C3, C4, C5, C6, C7, C8
2SN74LVC573APWRE4SamacSys_Parts:SOP65P640X120-20NIC2, IC3
1Conn_02x11_Odd_EvenConnector_PinSocket_2.00mm:PinSocket_2x11_P2.00mm_VerticalJ2
1IS63WV1288DBLL-10TLISamacSys_Parts:SOIC127P1176X120-32NIC1
1Raspberry_Pi_2_3Connector_PinSocket_2.54mm:PinSocket_2x20_P2.54mm_VerticalJ1
1XC9572XL-VQ64Package_QFP:TQFP-64_10x10mm_P0.5mmU1

The 14 most common of 15 parts.

Questions

How big is the Cp pi if fit shield PCB?

It measures 59 × 32 mm and has 4 copper layers, 1.59 mm thick.

What parts does the Cp pi if fit shield use?

15 parts, built around the SN74LVC573APWRE4 and IS63WV1288DBLL-10TLI. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Cp pi if fit shield KiCad files?

From the niklasekstrom/clockport_pi_interface repository on GitHub, at the commit this page was made from: the board is Hardware/cp_pi_if_fit_shield.kicad_pcb and its schematic Hardware/cp_pi_if.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Cp pi if fit shield design in my own project?

Its repository publishes it under the GPL-3.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).

Similar boards

  • 4 layers84.5 × 32.5 mmA314cp T, the printed circuit board in 3D

    A314cp T

    Akutra/A314CP-ExtraLong

    Alternate Design for the A314cp

    18 partsMIT
  • 4 layers29 × 50.3 mmLg hvac esp32, the printed circuit board in 3D

    Lg hvac esp32

    JanM321/esphome-lg-controller

    Wired controller for LG HVAC units using ESPHome and ESP32

    15 parts2920BSD
  • 4 layers33.5 × 49 mmProbecard mmcx, the printed circuit board in 3D

    Probecard mmcx

    azonenberg/starshipraider

    Open hardware test equipment

    15 parts193BSD-3-Clause
  • 4 layers28.3 × 54 mmPCB2, the printed circuit board in 3D

    PCB2

    lukasloetkolben/OpenpilotHardware

    Welcome to the Openpilot Hardware Collection!

    15 parts95MIT
  • 4 layers19.5 × 10.5 mmUniversalStepDown, the printed circuit board in 3D

    UniversalStepDown

    RoboticsBrno/RB0005-UniversalStepDown

    Universal step-down module

    15 parts26CC-BY-SA-4.0
  • 4 layers58.4 × 67.3 mmPico de gallo, the printed circuit board in 3D

    Pico de gallo

    OpenDevicePartnership/pico-de-gallo

    A tool for testing Embedded Rust drivers for discrete I2C/SPI components.

    15 parts21MIT
  • 4 layers114 × 52 mmLED heatplate, the printed circuit board in 3D

    LED heatplate

    lenaschimmel/bestelampe

    Die beste Lampe

    15 parts18