You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
1007 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# 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.