• Home
  • History
  • Annotate
  • only in /external/libese/libese-hw/nxp/pn80t/
NameDateSize

..10-Aug-20184 KiB

common.c10-Aug-201812.2 KiB

linux_spidev.c10-Aug-20186.9 KiB

nq_nci.c10-Aug-20185.8 KiB

README.md10-Aug-20181,007

README.md

1# NXP PN80T/PN81A support
2
3libese support for the PN80T series of embedded secure elements is
4implemented using a common set of shared hardware functions and
5communication specific behavior.
6
7The common behavior is found in "common.h".  Support for using Linux
8spidev іs in "linux\_spidev.c", and support for using a simple nq-nci
9associated kernel driver is in "nq\_nci.c".
10
11# Implementing a new backend
12
13When implementing a new backend, the required header is:
14
15    #include "../include/ese/hw/nxp/pn80t/common.h"
16
17Once included, the implementation must provide its own
18receive and transmit libese-hw functions and a struct Pn80tPlatform,
19defined in "../include/ese/hw/nxp/pn80t/platform.h".
20
21Platform requires a dedicated initialize, release, wait functions as
22well support for controlling NFC\_VEN, SVDD\_PWR\_REQ, and reset.
23
24See the bottom of the other implementations for an example of the
25required exports.
26
27Any other functionality, such as libese-sysdeps, may also need to be
28provided separately.
29