Linux, Raspberry Pi 5 + M519: a playground for embedded and efficient contactless applications

It’s been a while since our last guide on using PC/SC readers under Linux, and let’s be honest — that one’s been gathering digital dust since the time when “cloud” still meant actual vapor. So here’s a much-needed refresh, this time with modern hardware and a brand-new Linux distribution running on the Raspberry Pi 5 … Read more

Calypso Cards embrace PKI: a practical demo with SpringCard couplers and Python

Public transport cards are going PKI In a previous article, we introduced the MIFARE DESFire DuoX in its VDE EV configuration for secure e-mobility services. That demo illustrated a broader trend: asymmetric cryptography schemes are gaining ground over symmetric schemes. With ECC now fully mature, and silicon costs low enough to run ECDSA and/or ECDH … Read more

Secure EV-Charging Cards: a practical demo with SpringCard couplers and MIFARE DuoX

Why EV charging security matters The electric vehicle (EV) revolution is underway — and in Europe, it’s accelerating fast. With ambitious targets for phasing out internal combustion engines, EV charging infrastructure is booming. But more charging stations means more opportunities for frauds and cyberattacks. For too long, many EV-charging systems have relied on nothing more … Read more

Optimize the standby consumption of the M519 and leverage LPCD

An HF NFC/RFID reader or coupler usually spends most of its operating time waiting for a contactless card to arrive.

To detect this arrival, the reader or coupler must

  1. ensure continuous or quasi-continuous transmission of its carrier, since it is its own RF field (magnetic waves) that remotely powers the card,
  2. send search frames in an un-interrupted loop, using all the protocols it supports (REQA/WUPA, REQB/WUPB, Anticall, SENS_REQ, etc), to give the card the opportunity to respond as soon as it has been powered-up.

Obviously, this means that most of the operating time consists of… wasting a lot of energy, just to wait.

The Tartar Steppe (Il deserto dei Tartari) is a novel by Dino Buzzati, that tells the story of an officer, who spends all his energy waiting for the arrival of a contactless card. Well, not exactly, but, you’ve got the idea.

In the SpringSeed M519 module, and also in most other SpringCore products, the card waiting policy (polling policy) can be optimised to reduce the average power consumption of the product.

In highly demanding use cases, the LPCD (low-power card detection) feature can even dramatically reduce standby power requirement, to less than 10mA (however, this comes at the price of some implementation constraints, which you must be aware of before using this mode).

Read more

NFC Tools, a cool application for working with NFC tags and a PC/SC reader

Today we’re going to offer you an article that’s a little different from our usual fare, since it’s less about going into the details of how to implement a SpringCard product than about presenting a small piece of software that can help you discover the world of NFC and contactless smart cards.

It’s called NFC Tools, and has been developed by Wakdev.

Read more

Using SpringCard PC/SC Couplers with a Raspberry Pi 4

SpringCard PC/SC Couplers like the H663 family (CrazyWriter HSP, Prox’N’Roll HSP, TwistyWriter HSP…) and the new SpringCore family (PUCK…) are well supported by Linux systems thanks the open-source PCSC-Lite stack and its CCID driver. All these devices are easy to operate on early Raspberry Pi with little to no specificities.

This has changed on Raspberry Pi 4 and Raspian Bullseye and their new power-saving policy: by default, the system now shuts down any USB device that appears as being “unused” — which is namely the case of any PC/SC Coupler until a card is inserted or presented ;-).

For correct operations of any SpringCard PC/SC Coupler with a Raspberry Pi 4 and Raspian Bullseye, the integrator must therefore disable the USB power control, and this article explains how to do so. It may also be useful to anyone trying to troubleshoot disconnection issues affecting any PC/SC device when used together with an embedded Linux system where USB power saving is enabled by default.

Read more