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.
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.
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.
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.
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.
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.
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...
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].
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’.
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.
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.
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...
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).
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.
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.
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).
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.
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.
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...
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 &...
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.
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...
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.
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.
Need help?
Do you have a question about the A71CLARD-BA and is the answer not in the manual?
Questions and answers