User manual

AOAA Kit – Software User’s Guide
Page 15
Copyright 2012 © Embedded Artists AB
3.2.1 Setup
This setup uses the prebuilt version of the AOA Node application (Android application) that is stored on
the Embedded Artists’ web site.
1) Flash the demo_aoa_can project on the AOAA Board using the LPCXpresso IDE as
explained in section 4.3
2) The CAN node has an LPC11C24 that come pre flashed with the correct software for this
demo.
If the software have to be changed then flash the aoa_can_node (an LPC11C24 project) on
the CAN node using the LPCXpresso IDE as explained in section 4.3
3) Connect the Android device to the AOAA Board as shown in Figure 6.
4) Follow the instructions on the display to download/install the Android application. This is
explained in more detail in section 4.1
3.2.2 Running the Demo
The first thing that happens as the Android device is connected to the AOAA Board is that a dialog
appears asking “Open AOA Node when this USB accessory is connected?” Answer OK to start the
application. The Application will start with a list of available CAN nodes (only one in this case) and will
look like Figure 8 below.
Figure 8 - List of Nodes
Figure 9 - Node Controls
Click on the Node in the list to bring up the controls for that Node (see Figure 9). Note that the button
to control the green color of the RGB LED will appear to be broken, that is, nothing happens when
clicking on the “Green” button. This is because the pin connected to the green LED is shared with the
JTAG interface on the CAN Node. To get it to work the JTAG interface has to be disabled.
The Android application detects when the USB cable is disconnected and changes the appearance to
reflect this. See Figure 10.