Calculate price

Design TROPIC01 into your board

Wiring, footprint and KiCad settings for the TROPIC01 secure element from Tropic Square, and how to order a board that passes DRC and our order check.

5 min read · Updated

On this page

TROPIC01 is a secure element from Tropic Square in Prague, which publishes the chip's hardware design and the source code of its application firmware for review and audit. We work with Tropic Square. This guide: wiring in KiCad, a footprint that fits our limits, ordering the board.

At a glance

ParameterValue
PartTR01-C2P-T301, recommended for new designs
PackageQFN-32, 4 × 4 mm, footprint from KiCad's library
Supply3.0 to 3.6 V, typically 3.3 V
InterfaceSPI mode 0 (CPOL = 0, CPHA = 0), GPO pin optional
Our limitstrack width 0.2 mm, clearance 0.2 mm
Buy the chipfrom Tropic Square or its distributors, not from us
We makethe printed circuit board
The TROPIC01 chip on a circuit board
Photo: Tropic Square

Step 1. Library and footprint

Goal: the symbol, 3D model and right footprint in your project.

  1. Order the chip through Tropic Square's order form or from its distributors. It ships with firmware 1.0.0 (application and SPECT, the elliptic-curve coprocessor); step 5 covers the update.
  2. From the KiCad-lib folder, download TROPIC01.kicad_sym and TROPIC01.step (licence CERN-OHL-P-2.0).
  3. Add the symbol in Preferences › Manage Symbol Libraries…, Project Specific Libraries tab. Set the 3D model in the footprint properties, 3D Models tab.
  4. Use the KiCad footprint. The symbol has it in its Footprint field by default:
Text
Package_DFN_QFN:QFN-32-1EP_4x4mm_P0.4mm_EP2.65x2.65mm

Details. The datasheet (12.2) lists 0.60 × 0.20 mm pads, the KiCad footprint has 0.8 × 0.2 mm: do not "correct" them. The library was tested with KiCad 9.0; the symbol also opened in KiCad 10.

Step 2. Wiring

Goal: wire the chip as in the Typical application figure of the datasheet (figure 24).

Wiring of the TROPIC01 chip to a microcontroller: SPI lines MOSI, MISO, SCK and CS on pins 5 to 8, optional IRQ on pin 4, a 47 kΩ resistor from MISO to 3.3 V. On the right, the connections of the supply, ground, PULLDN, PULLUP and open pins.

Supply and microcontroller (MCU) signals must not exceed 3.6 V.

PinNameConnection
1, 11, 24VCC3.3 V, 100 nF to ground at each
2, 12, 23GNDground
3, 9–10, 30–31PULLDNground
4GPOoptional interrupt to the MCU
5, 6, 7, 8SDI, SDO, SCK, CSNMOSI, MISO (47 kΩ to VCC), SCK, CS
13–14, 17–21, 26–29DNCleave unconnected
15–16, 25, 32NCleave unconnected
22PULLUPVCC
33TP (thermal pad, the centre pad)ground

Details. Fig. 24 ties PULLDN to ground and PULLUP to VCC, and Tropic Square does the same on its TS1702 board. The datasheet does not distinguish DNC (crossed in fig. 24) from NC. On T301 (TR01-C2…) the GPO interrupt is not available in Start-up mode and is enabled in the Configuration Object (datasheet A.11, p. 27).

Step 3. Footprint, our limits and DRC

Goal: a board that passes DRC and our check. Limits: track 0.2 mm, clearance 0.2 mm, plated hole 0.3 mm, annular ring (the copper ring around a hole) 0.12 mm.

  1. Enter the limits as in KiCad PCB design rules.
  2. The gap between pads is 0.2 mm, exactly our limit. Keep tracks leaving the pads at most 0.2 mm wide (Net Classes, Default class, Track Width 0.2 mm).
  3. A 0.6/0.3 mm via meets the limits but does not fit between pads: put it beyond the tracks.
QFN-32 footprint from KiCad's library in KiCad 10. Marked: 1 pad 0.8 × 0.2 mm, 2 gap between pads 0.2 mm, 3 gap to the centre pad 0.225 mm, 4 centre pad 2.65 × 2.65 mm, 5 gap between corner pads 0.212 mm.

Watch out 1: a footprint copied from a Tropic Square board. Their reference boards, such as the Mini Board (TS1702, a small reference board, photo in the figure), override the clearance in the chip's footprint: 0.1 mm on both Mini Board revisions, 0.15 mm on the Raspberry Pi shield, Arduino shield and USB devkit. Only in that case, clear the Pad clearance field, refill the zones (Edit › Fill All Zones, key B) and save.

Footprint Properties of a footprint copied from a Tropic Square board in KiCad, Clearance Overrides & Pad Connections tab. Field 1, Pad clearance, should be cleared; field 2, Solder mask expansion, stays empty. On the right, a photo of the Mini Board.

Watch out 2: the solder mask. The datasheet wants a mask opening at least 0.06 mm larger than the pad (NSMD). In Board Setup › Board Stackup › Solder Mask/Paste set Solder mask expansion to 0.06 mm, leave Solder mask minimum web width at 0 and the footprint's own field empty. That leaves 0.08 mm of mask between pads; we publish no mask-width limit and the check does not measure it, so ask us.

Board Setup in KiCad, Solder Mask/Paste page. Field 1, Solder mask expansion, is 0.06 mm; field 2, Solder mask minimum web width, is 0 mm.

DRC: Inspect › Design Rules Checker › Run DRC, or from the command line (use your file name):

Shell
kicad-cli pcb drc \
  --refill-zones \
  --severity-error \
  --exit-code-violations \
  -o drc.rpt \
  board.kicad_pcb

Details. 0.25 mm tracks gave 16 clearance violations. Minimum clearance 0.2 mm overrides a smaller clearance in a footprint: on TS1702 DRC then showed 25 violations at the chip and our check 0.1 mm at 21 places (a warning). With Solder mask minimum web width at 0.1 mm the mask openings merged. Our service plots the zones as saved (File › Plot… has a Check zone fills before plotting option).

Step 4. Export and order

Goal: upload the board and pass the check.

  1. Plugin (shortest path): CircuitNinja for KiCad, KiCad 9.0.9.1+ or 10 (Windows, native Linux; not macOS), CircuitNinja (shuriken) icon in the PCB Editor toolbar: Set manufacturing rules, Check manufacturability, Upload to web app (account required).
  2. Without the plugin: upload the KiCad project as a ZIP (KiCad 6 to 10) or Gerber files as in Export Gerber files from KiCad. Refill the zones and save first.
  3. In the board preview check the mask openings over the chip pads and silkscreen away from them. Price and options: price calculator.
Preview of a test board with the chip in a CircuitNinja order and the check result. 1 board preview with the chip pads, 2 the message All 6 checks passed.

"All 6 checks passed" is for our test board; yours may get other messages (Order check messages and how to fix them). The clearance check does not replace DRC.

Step 5. After assembly

The chip's configuration is permanent, so Tropic Square recommends going from the Python model through a development board to your own board.

  • The libtropic library and its tutorials: start with identifying the chip.
  • First pairing key: the chip has four slots for keys that allow a secure connection. A standard chip holds a default key whose private part is public: store your own key in the next slot and invalidate the default one, see the application note.
  • Firmware: application note; read the part's errata before updating.

Sources from Tropic Square

Datasheet A.11 · Integration guide 1.0 · Part numbers · devboards · Documentation · Chip page

Did this guide help?

Upload your design