Advertisement

Quick Links

AN11803
A71CL Quick start guide for A71CLARD-ALI and Kinetis
Rev. 1.0 — 11 December 2018
353410
Document information
Information
Content
Keywords
Security IC, A71CL, A71CLARD-ALI, FRDM-K64F
Abstract
This document helps getting started with A71CL-ARDALI and the FRDM-
K64F development platforms for K64 MCUs.
Application note
COMPANY PUBLIC

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the A71CL and is the answer not in the manual?

Questions and answers

Summary of Contents for NXP Semiconductors A71CL

  • Page 1 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- K64F development platforms for K64 MCUs.
  • Page 2 AN11803 NXP Semiconductors A71CL Quick start guide for A71CLARD-ALI and Kinetis Revision history Date Description 20181211 First release 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...
  • Page 3: Introduction

    AN11803 NXP Semiconductors A71CL Quick start guide for A71CLARD-ALI and Kinetis 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.
  • Page 4: A71Cl Overview

    A71CL Quick start guide for A71CLARD-ALI and Kinetis 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.
  • Page 5: System Description

    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.
  • Page 6: Hardware Overview

    NXP Semiconductors A71CL Quick start guide for A71CLARD-ALI and Kinetis 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...
  • Page 7 AN11803 NXP Semiconductors A71CL Quick start guide for A71CLARD-ALI and Kinetis Table 2. Default MiniPCB Jumper settings Jumper Setting Usage Not set External VCC connection Connect A71 to 3.3V regulator on MiniPCB Connect I²C SDA pull-up resistor Connect I²C SCL pull-up resistor Use I²C address 0x92/0x93...
  • Page 8: Arduino Interface Board

    AN11803 NXP Semiconductors A71CL Quick start guide for A71CLARD-ALI and Kinetis 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.
  • Page 9 AN11803 NXP Semiconductors A71CL Quick start guide for A71CLARD-ALI and Kinetis module, add-on RF module, Ethernet and OpenSDAv2, the NXP open-source hardware embedded serial and debug adapter running an open-source bootloader. 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.
  • Page 10: Hardware Setup

    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.
  • Page 11 AN11803 NXP Semiconductors A71CL Quick start guide for A71CLARD-ALI and Kinetis Figure 9. Arduino interface board connected to the Kinetis board (FRDM-K64F) As can be observed, there are two USB connectors in the Kinetis boards FRDM-K64F. Figure 10. The USB connector highlighted in red corresponds to OpenSDA debug port.
  • Page 12: Software Setup

    AN11803 NXP Semiconductors A71CL Quick start guide for A71CLARD-ALI and Kinetis Software setup This section details the required steps to complete the software setup for A71 security IC and FRDM-K64F Freedom development platforms. The following items are needed: • MCUxpresso IDE, see section 6.1. Here we use version 10.2.
  • Page 13: Kinetis Sdk Package

    AN11803 NXP Semiconductors A71CL Quick start guide for A71CLARD-ALI and Kinetis Figure 11. MCUXpresso install wizard 6.2 Kinetis SDK package To generate and download your customized SDK for your Kinetis FRDM board, you can enter the MCUXpesso SDKBuilder website with the button “Select Development Board”...
  • Page 14: Installing The A71Cl Example Project

    1. Double click on the downloaded A71CL executable A71CL hostlibrary file. 2. Click ‘Yes’ If pop up comes saying “Do you want to allow this app from an unknown publisher to make changes to your device ?”.
  • Page 15 AN11803 NXP Semiconductors A71CL Quick start guide for A71CLARD-ALI and Kinetis Figure 15. A71CL Hostlibrary License 1. Choose destination folder and click next. Figure 16. Select install folder 1. Choose start menu folder and click Install. AN11803 All information provided in this document is subject to legal disclaimers.
  • Page 16: Importing The Example Projects In Mcuxpresso Ide

    There are generally two possible ways to import the A71 project examples in MCUXpresso IDE, depending if we are using the MCUXpresso project files bundled with the A71CL Host Software package or if the installed SDK package already contains the A71CL middleware: AN11803 All information provided in this document is subject to legal disclaimers.
  • Page 17: Importing A71Cl Example Projects From Local Drive

    • Importing the A71CL-ALI example projects from the installed Kinetis-SDK. This SDK is not available yet and as such this way is not supported yet. • Importing the A71CL example projects from local drive (included in the A71CL-ALI Host Library).
  • Page 18: Terminal Setup

    AN11803 NXP Semiconductors A71CL Quick start guide for A71CLARD-ALI and Kinetis Figure 20. Project directory to import Finally, select all the available example projects, deselect “Copy projects into the workspace” and then click on ‘Finish’. In case you want to have the same project imported multiple times independently you need to unpack it into distinct directories and import these individually as the code needs to get referenced instead of copied.
  • Page 19: Opensda Configuration

    AN11803 NXP Semiconductors A71CL Quick start guide for A71CLARD-ALI and Kinetis 6.6 OpenSDA configuration OpenSDA is a serial and debug adapter built into the Kinetis board. It provides a bridge between the development PC and the Kinetis MCU, which can be used for debugging, flash programming and serial communication all over USB.
  • Page 20 AN11803 NXP Semiconductors A71CL Quick start guide for A71CLARD-ALI and Kinetis To write the downloaded firmware into the Kinetis FRDM board, the bootloader mode should be enabled. For this, press ‘Reset’ button and, while holding down the button, connect a USB cable to the debugger port of the Kinetis board (e.g., FRDM K64, Figure 24).
  • Page 21: A71 Application Examples Execution

    AN11803 NXP Semiconductors A71CL Quick start guide for A71CLARD-ALI and Kinetis A71 application examples execution The A71 Host software package [A71CL_HOST_SW] includes one application examples: • id2 client sdk: A sample project executing the ID2 testsuite against the A71 secure element 7.1 Running the example...
  • Page 22: Printing The Output On Uart Console Using Tera Term

    7.1.2 Printing the output on UART console using Tera Term The output of the A71CL example execution can be switched to be seen by using Tera Term. For this, the SDK Debug Console should be configured to be in ‘UART Console’...
  • Page 23 AN11803 NXP Semiconductors A71CL Quick start guide for A71CLARD-ALI and Kinetis Figure 29. Build and Debug options On Tera Term, the first thing that should be configured is a new connection, see Figure 30. The user should choose a Serial connection and a port. This port can be checked in the Window’s device manager under “Ports (COM &...
  • Page 24 AN11803 NXP Semiconductors A71CL Quick start guide for A71CLARD-ALI and Kinetis Figure 31. Serial port setup The terminal window should be configured as shown in Figure Figure 32. Terminal setup When the MCU now executes the example the log output will be shown in Tera Term.
  • Page 25: Sample Execution Log

    AN11803 NXP Semiconductors A71CL Quick start guide for A71CLARD-ALI and Kinetis Figure 33. Generated output printed in Tera Term 7.2 Sample Execution Log As the secure element is individually pre-provisoned with an Alibaba key which the testsuite does not know it can not run all test steps. The last step which tries decrypting the SE response will fail as the testsuite assumes only a default key.
  • Page 26 AN11803 NXP Semiconductors A71CL Quick start guide for A71CLARD-ALI and Kinetis Figure 34. Begin and end of ID2 testsuite execution log The id2_client_decrypt error on the end of the testsuite is expected, as the testsuite cannot know the secret key inside the secure element.
  • Page 27: References

    AN11803 NXP Semiconductors A71CL Quick start guide for A71CLARD-ALI and Kinetis References [A71CL_HOST_SW] A71CL Alibaba Host Software Package (zip file) In Software tab of http://www.nxp.com/A71CL [TERA_TERM] Tera Term terminal - https://osdn.net/projects/ttssh2/releases/ [MCUXPRESSO_IDE] MCUXpresso IDE - https://www.nxp.com/support/developer- resources/software-development-tools/mcuxpresso-software-and-tools/mcuxpresso- integrated-development-environment-ide:MCUXpresso-IDE [OPENSDA_FIRMWARE] OpenSDA / OpenSDA V2 website - https:// www.segger.com/products/debug-probes/j-link/models/other-j-links/opensda-sda-v2/...
  • Page 28: Legal Information

    9.2 Disclaimers product remains with customer. In no event shall NXP Semiconductors, its affiliates or their suppliers be liable to customer for any special, indirect, consequential, punitive or incidental damages (including without limitation Limited warranty and liability —...
  • Page 29 AN11803 NXP Semiconductors A71CL Quick start guide for A71CLARD-ALI and Kinetis Tables Tab. 1. Needed Boards ..........6 Tab. 2. Default MiniPCB Jumper settings ......7 AN11803 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2018. All rights reserved.
  • Page 30 AN11803 NXP Semiconductors A71CL Quick start guide for A71CLARD-ALI and Kinetis Figures Fig. 1. System architecture diagram ......5 Fig. 17. Select start menu entry ........16 Fig. 2. System architecture diagram ......6 Fig. 18. Installation finished ..........16 Fig. 3. A71 Mini PCB board schematic ......7 Fig.
  • Page 31: Table Of Contents

    AN11803 NXP Semiconductors A71CL Quick start guide for A71CLARD-ALI and Kinetis Contents Introduction ............3 A71CL Overview ..........4 System description ..........5 Hardware overview ..........6 A71CL Arduino compatible development kit (A71CLARD) ............6 4.1.1 A71 Mini PCB board ..........6 4.1.2...

This manual is also suitable for:

A71clard-aliFrdm-k64f

Table of Contents