GPIO Wi-Fi Demo Quick Start Guide IN THIS DOCUMENT sw gpio examples GPIO and Wi-Fi demo : Quick Start Guide 1 sw gpio examples GPIO and Wi-Fi demo : Quick Start Guide This example demonstrates the use of two Slice Cards, XA-SK-GPIO and XA-SK-WIFI slice together with the xSOFTip components for Wi-Fi, SPI, I2C and WebServer to provide access to the GPIO slice features via a simple embedded webserver. Turn GPIO Slice Card LEDS on and o Read the room temperature via the on-board ADC and display on the web page Display GPIO Slice Card button press status 1.1 Hardware Setup The XP-SKC-L2 Slicekit Core board has four slots with edge connectors: SQUARE, CIRCLE, TRIANGLE and STAR. To setup up the system refer to the gure and instructions below 1. Connect the XA-SK-WIFI Slice Card to the XP-SKC-L2 Slicekit Core board using the connector marked with the TRIANGLE. 2. Connect the XA-SK-GPIO Slice Card to the XP-SKC-L2 Slicekit Core board using the connector marked with the SQUARE. 3. Connect the XTAG Adapter to Slicekit Core board, and connect XTAG-2 to the adapter. 4. Connect the XTAG-2 to the host PC. 5. Make sure your wireless access point is switched on and congured correctly. 6. Switch on the power supply to the Slicekit Core board. 1.2 Import and Build the Application 1. Open xTIMEcomposer and then open the edit perspective (Window->Open Perspective->XMOS Edit). Publication Date: 2013/3/12 REV A XMOS 2013, All Rights ReservedGPIO Wi-Fi Demo Quick Start Guide 2/4 Figure 1: Hardware Setup for the GPIO and Wi-Fi Application Demo 2. Locate Slicekit GPIO Wi-Fi Demo item in the xSOFTip Broswer window and drag it into the Project Explorer window in xTIMEcomposer. This will also cause the modules on which this application depends (in this case, module wi tiwisl, module spi master, module i2c master, module webserver) to be imported as well. 3. Click on the Slicekit GPIO Wi-Fi Demo item in the Explorer pane then click on the build icon (hammer) in xTIMEcomposer. Check the console window to verify that the application has built successfully. For help in using xTIMEcomposer, try the xTIMEcomposer tutorials, which you can nd by selecting Help->Tutorials from the xTIMEcomposer menu. 1.3 Running the Demo 1. Enable oine Xscope printing in the run congurations. Run Conguration -> XScope: Select Oine Xscope mode. 2. Click on the Run icon (the white arrow in the green circle). A dialog will appear asking which device to connect to. Select XMOS XTAG2. 3. xTIMEcomposer console displays the IP address obtained by the DHCP client 4. Open a web browser on the host PC and type the IP address displayed on the xTIMEcomposer console into the browsers address bar REV A