NXP Semiconductors A71CL, A71CLARD-ALI, FRDM-K64F Quick Start Manual

AN11803
A71CL Quick start guide for A71CLARD-ALI and Kinetis
Rev. 1.0 — 11 December 2018 Application note 353410 COMPANY PUBLIC
Document information
Information Content
Keywords Security IC, A71CL, A71CLARD-ALI, FRDM-K64F
Abstract This document helps getting started with A71CL-ARDALI and the FRDM-
NXP Semiconductors
Revision history
Rev Date Description
1.0 20181211 First release
AN11803
A71CL Quick start guide for A71CLARD-ALI and Kinetis
AN11803 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2018. All rights reserved.
Application note Rev. 1.0 — 11 December 2018 COMPANY PUBLIC 353410 2 / 31
NXP Semiconductors

1 Introduction

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 FRDM­K64F acting as the platform host MCU
AN11803
A71CL Quick start guide for A71CLARD-ALI and Kinetis
AN11803 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2018. All rights reserved.
Application note Rev. 1.0 — 11 December 2018 COMPANY PUBLIC 353410 3 / 31
NXP Semiconductors

2 A71CL 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
AN11803 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2018. All rights reserved.
Application note Rev. 1.0 — 11 December 2018 COMPANY PUBLIC 353410 4 / 31
NXP Semiconductors

3 System 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.
AN11803 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2018. All rights reserved.
Application note Rev. 1.0 — 11 December 2018 COMPANY PUBLIC 353410 5 / 31
NXP Semiconductors

4 Hardware 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
Item Type / 12NC Content
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 pre­provisioned for Alibaba Cloud: A7101CLTK2/T0BC2WE, 12NC: 9353 687 39118
MCU-Board FRDM-K64F
9353 262 93598
K64F Freedom MCU­Development 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.
AN11803 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2018. All rights reserved.
Application note Rev. 1.0 — 11 December 2018 COMPANY PUBLIC 353410 6 / 31
NXP Semiconductors
Table 2. Default MiniPCB Jumper settings
Jumper Setting Usage
JP1 Not set External VCC connection
JP2 3-4 Connect A71 to 3.3V regulator on MiniPCB
JP3 Set Connect I²C SDA pull-up resistor
JP4 Set Connect I²C SCL pull-up resistor
JP6 1-2 Activate I²C interface
The board schematic and layout are shown in Figure 3 and Figure 4
AN11803
A71CL Quick start guide for A71CLARD-ALI and Kinetis
1-2 Use I²C address 0x92/0x93JP5
2-3 (Default) Use I²C address 0x90/0x91
Not set (Default) A71 operatesJP7
Set A71 IC reset
Figure 3. A71 Mini PCB board schematic
AN11803 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2018. All rights reserved.
Application note Rev. 1.0 — 11 December 2018 COMPANY PUBLIC 353410 7 / 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
AN11803 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2018. All rights reserved.
Application note Rev. 1.0 — 11 December 2018 COMPANY PUBLIC 353410 8 / 31
NXP Semiconductors
module, add-on RF module, Ethernet and OpenSDAv2, the NXP open-source hardware embedded serial and debug adapter running an open-source bootloader.
AN11803
A71CL Quick start guide for A71CLARD-ALI and Kinetis
Figure 6. FRDM-K64F Freedom development platform for Kinetis K64, K63 and K24 MCUs
AN11803 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2018. All rights reserved.
Application note Rev. 1.0 — 11 December 2018 COMPANY PUBLIC 353410 9 / 31
NXP Semiconductors

5 Hardware 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
AN11803 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2018. All rights reserved.
Application note Rev. 1.0 — 11 December 2018 COMPANY PUBLIC 353410 10 / 31
Loading...
+ 21 hidden pages