There are three demos available for download on the Embedded Artists website http://embeddedartists.com/products/app/aoa_kit.php
The code bundle contains the following:
- Demo 1: Android Open Accessory demo which lets you control and monitor the AOA Board (LPC1769 side) from an Android device.
- Demo 2: Android Open Accessory demo which lets an Android device detect CAN nodes (such as the LPC11C24 side of the AOA board) in a CAN network. The CAN nodes can be controlled and monitored from the Android device.
- Demo 3: Android Open Accessory demo which lets an Android device detect Xbee nodes in an Xbee network. The Xbee nodes can be controlled and monitored from the Android device.
- FreeRTOS has been ported to the board and a demo is available that show how to use it.
- lwIP v1.4.0 has been ported to the board. The httpserver_raw (webserver) application from the lwIP contrib package is available with a small modification to use the on-board SD-card interface instead of the ROM based file system.
- FatFs file system module has been ported to the board. The lwIP demo (based on httpserver_raw) is using this module to access files on an SD card.
nxpUSBlib is available and used in the AOA demos.
How to setup the projects in LPC Xpresso
- Make sure that the latest version of the LPCXpresso IDE is installed.
- Download the package of sample application projects into the Eclipse workspace. The package can be downloaded (as a zip-file) from Embedded Artists’ support page after registering the product. The zip-file contains all project files and is a simple way to distribute complete Eclipse projects.
- Start the LPCXpresso IDE and select a new (and empty) workspace directory.
- Select the Import and Export tab in the Quickstart Panel and then Import archived projects (zip), see Figure 1 below.
- Browse and select the downloaded zip file containing the archived sample applications. Select all sub-projects to be imported, see Figure 2 below.
- By default the NXP USB library has been configured for USB device only. This needs to be changed to USB host. Right click on the nxpUSBlib project and select Build Configuration, then Set Active. In the list select LPC17xx_Host. See Figure 3.
- The projects are now imported. Click (to select) the project to work with.
- Click Build in the Quickstart Panel (under Start Here). See Figure 4
There is also a video on how to setup Demo 1 and get it running by connecting your android device. (Getting started video provided by Embedded Artists)