From a43eba6af2ad18c7dc535f1c2b8764d13b5cd21a Mon Sep 17 00:00:00 2001 From: bvernoux Date: Tue, 14 Jul 2020 23:02:35 +0200 Subject: st25r39xx_spi: Add st25r39xx PD using spi This NFC interface chip is used in the HydraNFC Shield v2. See also dumps used to validate it on https://github.com/sigrokproject/sigrok-dumps/pull/21 --- decoders/st25r39xx_spi/__init__.py | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 decoders/st25r39xx_spi/__init__.py (limited to 'decoders/st25r39xx_spi/__init__.py') diff --git a/decoders/st25r39xx_spi/__init__.py b/decoders/st25r39xx_spi/__init__.py new file mode 100644 index 0000000..d02dd7d --- /dev/null +++ b/decoders/st25r39xx_spi/__init__.py @@ -0,0 +1,28 @@ +## +## This file is part of the libsigrokdecode project. +## +## Copyright (C) 2019-2020 Benjamin Vernoux +## +## This program is free software; you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation; either version 2 of the License, or +## (at your option) any later version. +## +## This program is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this program; if not, see . +## + +''' +This decoder stacks on top of the 'spi' PD and decodes st25r3916 High performance NFC universal device and EMVCo reader +(SPI mode) protocol. + +Details: +https://www.st.com/resource/en/datasheet/st25r3916.pdf +''' + +from .pd import Decoder -- cgit v1.2.3-70-g09d2