Application noteRev. 1.0 — 11 December 2018
COMPANY PUBLIC3534102 / 31
NXP Semiconductors
1Introduction
This document explains how to get started with the A71CLARD-ALI development kit and
the FRDM-K64F development platforms for K64 MCUs. This guide provides an overview
of the hardware used, followed by detailed instructions for setting up the software
development environment. Finally, it describes how to run ID2 testsuite using FRDMK64F acting as the platform host MCU
AN11803
A71CL Quick start guide for A71CLARD-ALI and Kinetis
Application noteRev. 1.0 — 11 December 2018
COMPANY PUBLIC3534103 / 31
NXP Semiconductors
2A71CL Overview
The A71CL-ALI is a ready-to-use solution, enabling ease-of-use security for ID2-IoT
device makers to connect to Alibaba Cloud. It is a secure element capable of securely
storing and provisioning credentials and is already pre-provisioned with Alibaba ID2
credentials. It is based on A71 secure element hardware which runs an ID2 application
which manages the ID2 credentials.
The A71CL-ALI solution provides basic security measures protecting the IC against
many physical and logical attacks. It can be integrated with various host platforms and
operating systems to secure a broad range of applications.
AN11803
A71CL Quick start guide for A71CLARD-ALI and Kinetis
Application noteRev. 1.0 — 11 December 2018
COMPANY PUBLIC3534104 / 31
NXP Semiconductors
3System description
The A71CL evaluation setup presented in this document consists of an A71CL security
IC connected to the FRDM-K64F, FRDM-K82F or FRDM-KW41Z development platforms
through the A71CLARD-ALI Arduino compatible kit.
Figure 1. System architecture diagram
This getting-started guide is divided in three parts:
• Hardware overview and setup: It describes the FRDM-K64F development platform
and the A71CL Arduino compatible kit (A71CLARD-ALI) as well as how to mount them
together.
• Software setup: It describes how to configure the development environment and how
to import the required software packages.
• A71CL application examples execution: It describes how to run the A71CL
application examples contained in the A71CL-Ali Host software package.
AN11803
A71CL Quick start guide for A71CLARD-ALI and Kinetis
Note: From now on, the term ‘Kinetis board’ will be used in this guide to avoid
redundancy and to improve readability. ‘Kinetis board’ refers to the FRDM-K64F.
Application noteRev. 1.0 — 11 December 2018
COMPANY PUBLIC3534105 / 31
NXP Semiconductors
4Hardware overview
This setup uses a Kinetis board as a host MCU while the A71CL security IC acts as the
secure element. The following two boards are needed:
Table 1. Needed Boards
ItemType / 12NCContent
Arduino
Development Kit
A71CL Quick start guide for A71CLARD-ALI and Kinetis
A71CLARD-ALI
9353 763 88598
(only available
through NXP
sales contact)
AN11803
Arduino Adapter Board +
MiniPCB containing a A71CL
secure element IC preprovisioned for Alibaba Cloud:
A7101CLTK2/T0BC2WE, 12NC:
9353 687 39118
MCU-BoardFRDM-K64F
9353 262 93598
K64F Freedom MCUDevelopment board
4.1 A71CL Arduino compatible development kit (A71CLARD)
The A71CLARD is an Arduino development kit containing two items as well as:
1. An A71CL Mini PCB board
2. An Arduino interface board, allowing the user to connect the A71CL to any host
featuring an Arduino compatible header (e.g., many LPC, Kinetis and i.MX boards in
the industry).
4.1.1 A71 Mini PCB board
The Mini PCB board is a small PCB containing the A71 solution and a set of jumpers for
the I2C host interface selection.
Figure 2 shows an image of the MiniPCB. It features two connectors that can be used
depending on the communication interface employed. The figure shows the jumpers
configuration that enables the use of the A71 I2C interface.
Figure 2. System architecture diagram
To enable the I2C communication protocol, it is necessary to configure JP5/6 according
to Table 2. JP2 connects the A71 to the on-board 3.3V voltage regulator on the MiniPCB
board. The jumpers JP3 and JP4 enable the I²C SDA/SCL pull-up resistors. JP7 can be
used to connect the A71 reset signal.
Application noteRev. 1.0 — 11 December 2018
COMPANY PUBLIC3534107 / 31
NXP Semiconductors
Figure 4. Mini PCB board silkscreen with default jumper positions marked black
4.1.2 Arduino interface board
The Arduino header board permits the user to interface the A71 Mini PCB with the Kinetis
board. Section 4.1.2 shows the board pinout.
AN11803
A71CL Quick start guide for A71CLARD-ALI and Kinetis
Connection from the perspective of a matching Arduino Shield (top view)
Figure 5. A71 Arduino header
4.2 Freedom development platforms for Kinetis
The section details the Freedom development platforms for Kinetis supported by the
A71CL product support package.
4.2.1 FRDM-K64F
The Kinetis FRDM-K64F [6] development platform is a simple, yet sophisticated design,
featuring a Kinetis K64 series microcontroller, built on the ARM® Cortex®-M4 core. The
FRDM-K64F can be used to evaluate the K64, K63, and K24 Kinetis K series devices. It
features the MK64FN1M0VLL12 MCU, which boasts the maximum operation frequency
of 120 MHz, 1 MB of flash, 256 KB RAM, a full-speed USB controller, Ethernet controller,
secure digital host controller, and analog and digital peripherals.
The FRDM-K64F hardware is form-factor compatible with the Arduino R3 pin layout,
providing a broad range of expansion board options. The onboard interface includes
a six-axis digital accelerometer & magnetometer, RGB LED, SDHC, add-on Bluetooth
Application noteRev. 1.0 — 11 December 2018
COMPANY PUBLIC3534109 / 31
NXP Semiconductors
5Hardware setup
The hardware setup consists of mounting the different boards together.
First, plug the A71 Mini PCB board to the I2C plug of the Arduino interface board.
Figure 7. A71 Arduino kit mounted on Kinetis FRDM-K64F board
Second, plug the A71CL into the Kinetis board using the Arduino adaptors. The Arduino
shield board comes with male connectors below and female connectors on top.
AN11803
A71CL Quick start guide for A71CLARD-ALI and Kinetis
Figure 8. Arduino interface board connected to the Kinetis board (FRDM-K64F)
Then, the A71 security IC is connected to the Kinetis board through the Arduino interface
board. See Figure 9