Skip to the content
PCBKitNew board
2 layers68.2 × 6.1 mmFlexcable twl, the printed circuit board in 3D

Flexcable twl

dsi-modchip/pcb2

This repository contains the KiCAD design files for the DSi modchip and the cable flex-PCB.

Size
68.2 × 6.1 mm
Copper layers
2
Thickness
0.28 mm
Parts
6
Nets
4
Pads
17
Tracks, vias
24, 11
Pours
14
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
25 Dec 2023
Updated
22 Sep 2024

Overview

Flexcable twl is an open-source printed circuit board by dsi-modchip, from the dsi-modchip/pcb repository on GitHub, published under the CERN-OHL-S-2.0 licence. It is a 2-layer board of 68.2 × 6.1 mm with 6 parts on 4 nets, routed with 24 tracks and 11 vias.

Its parts include 3 connectors, 1 resistor and 1 transistor.

README

README.md

DSi modchip PCB and flex-cable

[!IMPORTANT] This PCB is still a work-in-progress and has bugs.

This repository contains the KiCAD design files for the DSi modchip and the cable flex-PCB.

Notes

Currently, you'll have to order and make these yourself. I don't think making them widely available already is a good idea, there's still a few bugs left in the design.

The issues with the modchip PCB itself are listed here. Additionally, inserting a cable into the modchips USB socket too forcefully can cause the modchip PCB to snap in half, which is bad.

I haven't actually gotten the flex-cable to work properly. There are problems with either a too large parasitic capacitance on the glitch signal line, or bad contacts between the flexPCB and the glitching MOSFET. I suggest deadbugging the crowbar MOSFET instead, if that's something you're capable of.

Ordering/fab instructions

The modchip is a 4-layer board that should be 0.8 mm thick. I've gotten it fabbed successfully from both Aisler (at 1.6mm thickness) and JLCPCB.

The flex-cable consists of two layers, needs stiffner in certain places, and has been fabbed from JLCPCB.

Bill of Materials

Modchip main components

These are all the components required for the core functionality of the modchip.

ReferenceValueFootprintQtyFarnell n°LCSC n°Mouser n°
C3,C427pF C0G040224539081C880615603-CC402GRNPO9BN270
C5,C6,C7,C10,C11,C12,C13,C14,C15,C16,C17100nF0402111758880C16772791-0402B224K100CT
C8,C91uF040223013332C12530187-CL05A105KP5NNNC
J1Molex SlimStack 501920-50011N/AN/A538-501920-5001
J5Molex 200528-004013500399N/A538-200528-0040
Q4Dual NPMOSSOT-363/SC-70-613828400C155499621-DMC3400SDW-13
R1,R210k040222787800C25744279-CRG0402J10K/10
R547k040224004532C25792279-CRG0402J47K
R7,R81k040224004531C11702603-RC0402FR-131KL
SW1, SW21P1T button4.2x3.2mm23703693C2689510611-RKB2SJM250SMTRLF
U1RP2040QFN-56 P0.413766082C2040358-SC09147
U2,U4W25Q16JVUXIQDFN-8 P0.5mm2N/AC2983691454-W25Q16JVUXIQTR
Y212 MHz 18pFSMD3225 GND2/413572992C7424717774-403C35D12M00000

[!NOTE] J5 is optional, and is only needed when you use the flex-cable. It can be omitted when deadbugging the crowbar MOSFET.

[!TIP]

  • For Q4, several compatible components exist: Diodes DMC{2710U,3400S,3401L}DW, Toshiba SSM6L35FU.
  • For SW1 and SW2, you can use one of the following:
    • C&K {RKB,PTS81[05]}2SJ[GKM]250SMTR LF
    • Alps Alpine SKRPABE010
    • E-Switch TL3365AF180QG
    • CUI TS20-42-25-WT-160-SMT-TR
    • Wurth 434123025826 or 434133025816
  • For U1, you could try using the RP2350A once its erratum E9 has been fixed in hardware.
  • For U2 and U4, any similarly-sized 3.3V >100MHz QSPI flash chip should work. Requirements on U4 are lower (only 1-bit SPI, 16 MHz) but it's often cheaper to buy the same chip in bulk.
  • For Y2, try e.g. ECS-120-18-33 or ABM8(G)-12.000MHZ-18

Modchip optional: USB connector

[!IMPORTANT] You most likely want this, though technically everything can be done using an SWD debugger instead.

ReferenceValueFootprintQtyFarnell n°LCSC n°Mouser n°
C1,C21uF040223013332C12530187-CL05A105KP5NNNC
F10.5A060312850001C163116530-C2Q500
J3USBC 2.0 RecpUSBC 16P13819289C428463640-USB4520031A
R3,R1147k040224004532C25792279-CRG0402J47K
R6,R125.1k040222447201C25905708-RMCF0402FT5K10
R9,R1027 1%040224014781C100623791-RMC1/16SK27R0FTH
U6AP2127K-3.3SOT-23-512510377C81233998-MIC5504-3.3YM5TR
U3D1213A-02SMSOT-23-513946109N/A621-D1213A-02SM-7
U7USBLC6-2SC6SOT-23-611269406C2827654511-USBLC6-2SC6

[!IMPORTANT] Use only one of U3 or U7, never both!

Modchip optional: LED

It indicates the status, except it doesn't work because there's no proper 5V rail available when plugged into the DSi.

ReferenceValueFootprintQtyFarnell n°LCSC n°Mouser n°
D1WS2812BPLCC-20201N/AC965555485-4684
R1333004021TODOTODOTODO

Modchip optional: WiFi module carrier

With a few extra components, you can make the modchip act as a real interposer PCB between the DSi motherboard and the WiFi module.

ReferenceValueFootprintQtyFarnell n°LCSC n°Mouser n°
C18,C191uF040223013332C12530187-CL05A105KP5NNNC
J2Molex SlimStack 52991-050813500613N/A538-52991-0508
U5MIC5317-1.8YD5SOT-23-512809977C236669998-MIC5504-1.8YM5TR

[!NOTE] Only short JP1 if you intend to talk to the WiFi module in a standalone (i.e. non-interposer) manner.

[!TIP] Instead of a MIC5317, many other SOT-23-5 LDOs such as the MIC5504-1.8YM5 can be used instead. I tend to pick ones with a low quiescent current. Do pay attention to the pinout, though, as it sometimes changes even between SOT-23-5 parts of the same vendor.

Modchip optional: I2C level shifter

This can be a neat extra if you want to talk to the DSi's I2C bus. This was used during modchip development, but isn't required at runtime.

ReferenceValueFootprintQtyFarnell n°LCSC n°Mouser n°
C21100nF040211758880C16772791-0402B224K100CT
R4200k040213537789C25764791-WR04X2003FTL
U8PCA9306DC1VSSOP-812400482C33196595-PCA9306DCUR

[!TIP] Instead of a PCA9306 (from either TI or NXP), an LSF0102 (from TI or Nexperia) or Nexperia NCA9306 can be used as well.

Flex-cable

The flex-cable only needs a single IRFHS8342PbF as crowbar MOSFET. There's also a footprint for a small 0402 series resistance at the gate (e.g. 200 Ohm), but it can be shorted.

Installing the modchip, flashing firmware and payload

See the guide.

License

CERN OHL-S v2

Parts

6
QtyValueFootprintReferences
1200Resistor_SMD:R_0402_1005MetricR1
1IRFHS8342PbFfootprints:PQFN6_2X2_INFQ1
1Molex 200528_0400footprints:Molex_2005280040_FPCJ1
1TWL_DCap_GNDfootprints:FPC_Castellated_HoleJ3
1TWL_DCap_V12footprints:FPC_Castellated_HoleJ2
1TWL_GPIO330footprints:TestPointAnchor_D1.00H1

Questions

How big is the Flexcable twl PCB?

It measures 68.2 × 6.1 mm and has 2 copper layers, 0.28 mm thick.

What parts does the Flexcable twl use?

6 parts. 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 Flexcable twl KiCad files?

From the dsi-modchip/pcb repository on GitHub, at the commit this page was made from: the board is flexcable/flexcable_twl.kicad_pcb and its schematic flexcable/flexcable.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Flexcable twl design in my own project?

Its repository publishes it under the CERN-OHL-S-2.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).

More from dsi-modchip/pcb

3
  • 4 layers51.3 × 21 mmWifi interposer, the printed circuit board in 3D

    Wifi interposer

    dsi-modchip/pcb

    This repository contains the KiCAD design files for the DSi modchip and the cable flex-PCB.

    89 parts2CERN-OHL-S-2.0
  • 2 layers56.2 × 68.2 mmFlexcable fab, the printed circuit board in 3D

    Flexcable fab

    dsi-modchip/pcb

    This repository contains the KiCAD design files for the DSi modchip and the cable flex-PCB.

    15 parts2CERN-OHL-S-2.0
  • 2 layers48.4 × 41.5 mmFlexcable utl, the printed circuit board in 3D

    Flexcable utl

    dsi-modchip/pcb

    This repository contains the KiCAD design files for the DSi modchip and the cable flex-PCB.

    9 parts2CERN-OHL-S-2.0

Similar boards

  • 2 layers18.5 × 11.1 mmSwitch, the printed circuit board in 3D

    Switch

    byrantech/laptop

    anyon_e, a highly integrated, high end, open source laptop. Attempt the impossible.

    6 parts4.3kMIT
  • 2 layers14.6 × 33 mmBrain board SD Card 1, the printed circuit board in 3D

    Brain board SD Card 1

    rusefi/rusefi

    rusefi - GPL internal combustion engine control unit

    6 parts1.2k
  • 2 layers9 × 9 mmDpoint, the printed circuit board in 3D

    Dpoint

    Jcparkyn/dpoint

    Open-source digital stylus using camera tracking and inertial measurements

    6 parts1.1kMIT
  • 2 layers51.5 × 16.6 mmMicroswitchXY Endstop, the printed circuit board in 3D

    MicroswitchXY Endstop

    VoronDesign/Voron-Hardware

    Cool Hardware designed by the Voron Design group

    6 parts1.1kGPL-3.0
  • 2 layers21.9 × 76.7 mmAmiga External, the printed circuit board in 3D

    Amiga External

    hoglet67/RGBtoHDMI

    Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI

    6 parts1kGPL-3.0
  • 2 layers88.9 × 50.8 mmBusinesscard, the printed circuit board in 3D

    Businesscard

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    6 parts915
  • 2 layers20.3 × 15.2 mmL0 RGB led, the printed circuit board in 3D

    L0 RGB led

    Luos-io/luos_engine

    Open-source and real-time orchestrator for cyber-physical-systems, to easily design, test and deploy embedded applications and digital twins.

    6 parts546MIT
  • 2 layers9 × 3.6 mmOpticalEncoder, the printed circuit board in 3D

    OpticalEncoder

    adamb314/ServoProject

    Getting the most out of your hobby servo

    6 parts545