tree: cabb554651a964a19ddfc7cbf8aa59eabf52647a [path history] [tgz]
  1. common.c
  2. linux_spidev.c
  3. nq_nci.c
  4. README.md
libese-hw/nxp/pn80t/README.md

NXP PN80T/PN81A support

libese support for the PN80T series of embedded secure elements is implemented using a common set of shared hardware functions and communication specific behavior.

The common behavior is found in “common.h”. Support for using Linux spidev іs in “linux_spidev.c”, and support for using a simple nq-nci associated kernel driver is in “nq_nci.c”.

Implementing a new backend

When implementing a new backend, the required header is:

#include "../include/ese/hw/nxp/pn80t/common.h"

Once included, the implementation must provide its own receive and transmit libese-hw functions and a struct Pn80tPlatform, defined in “../include/ese/hw/nxp/pn80t/platform.h”.

Platform requires a dedicated initialize, release, wait functions as well support for controlling NFC_VEN, SVDD_PWR_REQ, and reset.

See the bottom of the other implementations for an example of the required exports.

Any other functionality, such as libese-sysdeps, may also need to be provided separately.