Table of Contents

Advertisement

Quick Links

AN12306
A71CL Quick start guide for A71CLARD-BAI and Kinetis
Rev. 1.0 — 14 December 2018
515910
Document information
Info
Content
Keywords
Security IC, A71CL, A71CLARD-BAI, FRDM-K64F
Abstract
This document helps getting started with A71CLARD-BAI 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 A71CLARD-BA and is the answer not in the manual?

Questions and answers

Summary of Contents for NXP Semiconductors A71CLARD-BA

  • Page 1 AN12306 A71CL Quick start guide for A71CLARD-BAI and Kinetis Rev. 1.0 — 14 December 2018 Application note 515910 COMPANY PUBLIC Document information Info Content Keywords Security IC, A71CL, A71CLARD-BAI, FRDM-K64F Abstract This document helps getting started with A71CLARD-BAI and the FRDM- K64F development platforms for K64 MCUs.
  • Page 2 AN12306 NXP Semiconductors A71CL Quick start guide for A71CLARD-BAI and Kinetis Revision history Date Description 20181214 First release Contact information For more information, please visit: http://www.nxp.com 515910 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2018. All rights reserved.
  • Page 3: Fig 1. System Architecture Diagram

    AN12306 NXP Semiconductors A71CL Quick start guide for A71CLARD-BAI and Kinetis Introduction This document explains how to get started with the A71CLARD-BAI 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: Hardware Overview

    AN12306 NXP Semiconductors A71CL Quick start guide for A71CLARD-BAI 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. Hardware overview This setup uses a Kinetis board as a host MCU while the A71CL security IC acts as the secure element.
  • Page 5: Fig 2. A71 Mini Pcb

    AN12306 NXP Semiconductors A71CL Quick start guide for A71CLARD-BAI and Kinetis Fig 2. A71 mini PCB To enable the I C communication protocol, it is necessary to configure JP5/6 according Table 2. JP2 connects the A71 to the on-board 3.3V voltage regulator on the MiniPCB board.
  • Page 6: Fig 3. A71 Mini Pcb Board Schematic

    AN12306 NXP Semiconductors A71CL Quick start guide for A71CLARD-BAI and Kinetis VCC_ext VCC ext. T DA3663 +5 V +3.3 V VCC select 10 µF 100 nF 10 µF nRST n.c. n.c. n.c. n.c. 100 nF +5 V 3.3 kΩ 3.3 kΩ...
  • Page 7: Fig 5. A71 Arduino Header

    AN12306 NXP Semiconductors A71CL Quick start guide for A71CLARD-BAI and Kinetis Fig 4. A71 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 8: Hardware Setup

    AN12306 NXP Semiconductors A71CL Quick start guide for A71CLARD-BAI and Kinetis 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.
  • Page 9 AN12306 NXP Semiconductors A71CL Quick start guide for A71CLARD-BAI and Kinetis Fig 8. A71 Arduino kit mounted on Kinetis FRDM-K64F board Then, the A71 security IC is connected to the Kinetis board through the Arduino interface board. See Fig 9.
  • Page 10: Fig 10. Red Usb Indicates Opensda Debug Port

    AN12306 NXP Semiconductors A71CL Quick start guide for A71CLARD-BAI and Kinetis connector highlighted in yellow is directly connected to the K64F MCU and functionality depends on the example programmed into the MCU. Fig 10. Red USB indicates OpenSDA debug port. Yellow USB indicates K64F port...
  • Page 11: Fig 11. Mcuxpresso Install Wizard

    AN12306 NXP Semiconductors A71CL Quick start guide for A71CLARD-BAI and Kinetis leading open-source and commercial debug probes including LPC-Link2, P&E and SEGGER. The fully featured debugger supports both SWD and JTAG debugging, and features direct download to on-chip and external flash memory The installation file of MCUXpresso can be found in [MCUXPRESSO_IDE] [3].
  • Page 12: Fig 12. Kinetis Board Selection

    AN12306 NXP Semiconductors A71CL Quick start guide for A71CLARD-BAI and Kinetis Fig 12. Kinetis board selection 2. In the next screen, select the software components, for this example no special items need to be selected and you can skip this step (see 13) and directly click on ‘Download SDK’.
  • Page 13: Fig 14. Installing The Downloaded Kinetis Sdk Into Mcuxpresso

    AN12306 NXP Semiconductors A71CL Quick start guide for A71CLARD-BAI and Kinetis Fig 14. Installing the downloaded Kinetis SDK into MCUXpresso 6.3 Installing the A71CL example project After downloading the A71CL host library [A71CL_HOST_SW] follow these steps for installation: 1. Double click on the downloaded A71CL executable A71CL hostlibrary file.
  • Page 14: Fig 16. Select Install Folder

    AN12306 NXP Semiconductors A71CL Quick start guide for A71CLARD-BAI and Kinetis Fig 16. Select install folder 5. Choose start menu folder and click Install. Fig 17. Select start menu entry 6. Click Close After Installation Complete. 515910 All information provided in this document is subject to legal disclaimers.
  • Page 15: Fig 18. Installation Finished

    AN12306 NXP Semiconductors A71CL Quick start guide for A71CLARD-BAI and Kinetis Fig 18. Installation finished 6.4 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...
  • Page 16: Fig 19. Import Project From File System

    AN12306 NXP Semiconductors A71CL Quick start guide for A71CLARD-BAI and Kinetis Fig 19. Import project from file system After clicking the import option, a new pop-up will open. In the ‘Project directory (unpacked)’ field, browse and point to the correct project directory where you installed the host library (see 20).
  • Page 17: Fig 21. Project Directory To Import

    AN12306 NXP Semiconductors A71CL Quick start guide for A71CLARD-BAI and Kinetis 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 18: Fig 22. Opensda Bootloader Version For The Kinetis

    AN12306 NXP Semiconductors A71CL Quick start guide for A71CLARD-BAI and Kinetis To configure OpenSDA into the Kinetis FRDM board, an OpenSDA bootloader (.bin file) should be downloaded from OpenSDA website [OPENSDA_FIRMWARE] [4]. Scroll down the page to section ‘Compatible Evaluation Boards’ and search for the target Kinetis FRDM board.
  • Page 19: Fig 24. Enabling Bootloader Mode

    AN12306 NXP Semiconductors A71CL Quick start guide for A71CLARD-BAI 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, 24).
  • Page 20: Frdm-K64F

    AN12306 NXP Semiconductors A71CL Quick start guide for A71CLARD-BAI and Kinetis A71 application examples execution The A71 Host software package [A71CL_HOST_SW] includes one application example: • frdmk64f_a71cl_baidu: A sample project basic crypto with the pre-provisioned secure element. 7.1 Running the example The A71 security IC is connected to the Kinetis board through the Arduino interface board.
  • Page 21: Fig 26. Configuration Steps To Debug Using Mcuxpresso Ide Console

    AN12306 NXP Semiconductors A71CL Quick start guide for A71CLARD-BAI and Kinetis Fig 26. Configuration steps to debug using MCUXpresso IDE Console After that, the project will start to compile and execute automatically. Once the process is finished, the user should press the ‘F8’ key to run the program.
  • Page 22: Fig 28. Sdk Debug Console In Uart Console Mode

    AN12306 NXP Semiconductors A71CL Quick start guide for A71CLARD-BAI and Kinetis Fig 28. SDK Debug Console in UART Console mode This ‘Quick Setting’ takes automatic care to set the pre-processor define ‘SDK_DEBUGCONSOLE’ to 1 to activate the UART console (0 for the semi hosting...
  • Page 23: Fig 29. Build And Debug Options

    AN12306 NXP Semiconductors A71CL Quick start guide for A71CLARD-BAI and Kinetis Fig 29. Build and Debug options On Tera Term, the first thing that should be configured is a new connection. See 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: Fig 31. Serial Port Setup

    AN12306 NXP Semiconductors A71CL Quick start guide for A71CLARD-BAI and Kinetis Fig 31. Serial port setup The terminal window should be configured as shown in Fig 32. Terminal setup When the MCU now executes the example the log output will be shown in Tera Term.
  • Page 25: Fig 33. Generated Output Printed In Tera Term

    AN12306 NXP Semiconductors A71CL Quick start guide for A71CLARD-BAI and Kinetis Fig 33. Generated output printed in Tera Term (log from A71CL ID2 testsuite) 7.2 Sample Execution Log When using the example with the pre-provisioned sample in the demokit, the following...
  • Page 26: Fig 34. Execution Log Of A71Cl Baidu Example

    AN12306 NXP Semiconductors A71CL Quick start guide for A71CLARD-BAI and Kinetis 0x19 0x79 0xD6 0x4E 0xA5 0xA7 0xC0 0xFB 0x26 0x12 0xB9 0x81 0x58 0x56 0x4F 0x9E 0x6E 0xB8 0xDD 0xFC 0x69 0x96 0x B 0xE2 0x4A 0x5A 0x34 0x2E 0x9D 0xAA 0xFF 0xF4...
  • Page 27: References

    AN12306 NXP Semiconductors A71CL Quick start guide for A71CLARD-BAI and Kinetis References [A71CL_HOST_SW] A71CL Baidu Host Software Package 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-...
  • Page 28: Legal Information

    NXP Semiconductors. remains with customer. In no event shall NXP Semiconductors be liable for any indirect, incidental, In no event shall NXP Semiconductors, its affiliates or their suppliers be punitive, special or consequential damages (including - without limitation -...
  • Page 29 AN12306 NXP Semiconductors A71CL Quick start guide for A71CLARD-BAI and Kinetis Socrates, Thumb, TrustZone, ULINK, ULINK2, ULINK-ME, ULINK-PLUS, ULINKpro, μVision, Versatile — are trademarks or registered trademarks Kinetis — is a trademark of NXP B.V. of Arm Limited (or its subsidiaries) in the US and/or elsewhere. The related technology may be protected by any or all of patents, copyrights, designs and trade secrets.
  • Page 30: Table Of Contents

    AN12306 NXP Semiconductors A71CL Quick start guide for A71CLARD-BAI and Kinetis List of figures Fig 1. System architecture diagram ......3 Fig 33. Generated output printed in Tera Term (log from A71CL ID2 testsuite) ........25 Fig 2. A71 mini PCB ............ 5 Fig 34.
  • Page 31: List Of Tables

    AN12306 NXP Semiconductors A71CL Quick start guide for A71CLARD-BAI and Kinetis List of tables Table 1. Needed Boards ..........4 Table 2. Default MiniPCB Jumper settings ..... 5 Application note Rev. 1.0 — 14 December 2018 31 of 32 COMPANY PUBLIC...
  • Page 32: Contents

    AN12306 NXP Semiconductors A71CL Quick start guide for A71CLARD-BAI and Kinetis Contents Introduction ............3 List of tables ............31 A71CL Overview ..........3 Contents ............. 32 System description ..........3 Hardware overview ..........4 A71CL Arduino compatible development kit (A71CLARD) ............

Table of Contents