2.1 Kit Assembly
Plug the A100x Arduino Shield board on top of the LPCXPresso11U37H board, as shown in below image.
Next, insert the 8-pin A1006 break-out board into the socket of the A100x shield board and ensure the shield’s board DIP switches and jumper-header JP3 match with below image:
2.2 A1006 Demo GUI
This section explains how to use the A1006 kit with the A1006 demo GUI.
2.2.1 Attach the USB Cable
The demo GUI communicates with the A1006 over USB. On the LPCXpresso11U37H board, the bottom board of the A1006 kit, two Micro-USB receptacles are present. To use the kit with the demo utility, use the Micro-USB connector labeled ‘J4’ , ‘Target’:
Then, launch the previously installed A1006 demo GUI by browsing to the A1006 host reference code installation path (default path: C:\NXP\A1006_host), opening the folder ‘Demo utility’ and launching the executable ‘a1006_demo_utility.exe’.
The GUI automatically detects the connected board, after which you can start right away evaluating all features of the A1006.
2.3 A1006 development kit
This section explains how to use the A1006 kit as developer kit, by utilizing the all source-code A1006 host reference code.
2.3.1 Attach the USB Cable
The LPCXpresso11U37H board (the bottom board of the A1006 kit) includes an on-board debugger compatible with the three supported toolchains MCUXpresso, Keil µVision and IAR Embedded workbench. To connect your PC to this on-board debugger, use the Micro-USB connector labeled ‘J6’, ‘Link’:
Note: The on-board debugger also includes a UART-to-USB bridge, which will output data regarding authentication state and status. Refer to the 1st step of this getting started guide on how to access this UART.
2.3.2 Open, build and flash the firmware
Next, open the firmware project in your favorite IDE. The firmware projects are available at the location chosen during the installation of the host reference code (default path C:\NXP\A1006_host).
For MCUXpresso, use the ‘Import project(s) from file system’ option and import all 3 projects included in the archive located at <host reference installation dir>\Host reference code\<version>\MCUXpresso\ a1006_host_<version>_nxp_lpcxpresso11u37h_mcuxpresso.zip
After importing has completed, select the A1006_host project in the Project Explorer, and click the ‘Debug’ button from the Quickstart panel to build the software, flash the software and start a debug session.
For Keil µVision and IAR Embedded Workbench, open the multi-project workspace located at <host reference installation dir>\Host reference code\<version>\Keil_IAR\applications\a1006_host\nxp_lpcxpresso11u37h\
Then, perform a batch-build to build all 3 projects and either download the binary to the MCU or start a debug session using the ‘Load’ or ‘Start/Stop Debug’ buttons:
When running the code, the RGB LED on the LPCXpresso11U37H board will turn Blue when authentication is in progress, turn Green on successful completion or turn Red on failure.
The UART log will also indicate authentication pass or fail, including data regarding intermediate results such as the X509 certificate.