1
0
Fork 0
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.
hmz007 6d24f2138b
Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56)
3 years ago
..
README.md Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
common.c Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
linux_spidev.c Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
nq_nci.c Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago

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.