iCE40LM4K Sensor Evaluation Kit User’s Guide January 2014 EB83_01.0 iCE40LM4K Sensor Evaluation Kit Introduction Thank you for choosing the Lattice iCE40LM4K Sensor Evaluation Kit. This guide describes how to begin using the iCE40LM4K Sensor Evaluation Kit, an easy-to-use platform for rapidly prototyping system control designs using an iCE40LM FPGA. Along with the evaluation board and accessories, this kit includes a pre-loaded demo that allows communication between the iCE40LM4k Sensor Evaluation Kit and a Qualcomm Snapdragon APQ8060A board (not included in the package and may be purchased from Intrinsyc). The content of this user’s guide includes an overview of the features of the board and a step by step guide to using the iCE40LM4K Sensor Evaluation Kit with the Qualcomm Snapdragon APQ8060A. Figure 1. iCE40LM4K Daughter Card Humidity and Temperature Hall RGB Ambient Light Proximity IR Tx Barometer IR Rx Accelerometer Gyroscope iCE40LM4K Compass CAUTION: Static electricity can severely shorten the lifespan of electronic components. Be careful when handling the iCE40LM4K Sensor Evaluation Kit to prevent damage from ESD. 2 iCE40LM4K Sensor Evaluation Kit Features The iCE40LM4K Sensor Evaluation Kit includes: • iCE40LM4K Evaluation Board – The ICE40LM4k Evaluation Board features the following on-board components and circuits: – iCE40LM4K Device in the 25 WLCSP Package – High-Current LED Output – Infrared Transmit and Receive – Barcode LED/Emulation – Configuration SPI Flash – On-board FT2232HL for USB Programming/Interface – Numerous Sensors – Proximity Sensor (AMS-TAOS TMD27711) – RGB Color, Infrared, and Temperature Sensors (Maxim MAX44006) – Barometric Pressure Sensor (Bosch BMP085) – Accelerometer and Gyro (ST Micro LSM330DLC) – Magnetometer/Compass/Accelerometer (ST Micro LSM303DLHCTR) – Humidity and Temperature Sensor (Sensirion SHT20) – Hall Sensor (Rohm BU52051NVX) • SMA Connector for External Clock Input • On-Board Oscillator In addition to the iCE40LM4K Evaluation Board, an adapter board for connection to Dragon Board and a connector cable are also included. This secondary PCB connected by a cable allows the iCE40LM4k Sensor Evaluation Kit to interface with a Qualcomm 8060A Dragon Board (Dragon Board is available separately and not sold by Lattice). When connected properly, a sensor hub demonstration can be conducted. 3 iCE40LM4K Sensor Evaluation Kit Sensor Hub Demo Setup The demo setup consists of the Intrinsyc Dragon Board Gen2, Sensor Fusion Board, and flexible connecting cable. To set up the Sensor Hub demo, connect the Sensor Fusion Board to the Intrinsyc Adapter board which is placed on the Intrinsyc Dragon Board Gen2 as shown in Figure 2 Figure 2. Intrinsyc Dragon Board Gen2 Sensor Fusion Board OTG Mini Flexible Connecting Cable Intrinsyc Dragon Board Touch Screen Intrinsyc DragonBoard Power Supply 4 iCE40LM4K Sensor Evaluation Kit Sensor Fusion Board Default Jumper Settings This section provides the details of the Sensor Fusion Board jumper settings: • Set J2 jumper on OSC mode in EXT CLK. • Set J4 jumper on BAR. • Set J5 jumper on HALL. • Do not set J7 jumper. • Set J8 jumper. • Do not set J10 jumper. • Do no set J11 jumper. • Set J12 jumper. • Do not set J15 jumper. • Set both the J16 jumpers vertically. • Set jumper on IDD-CORE and IDD-TOP (J18 & J19). • Set VCCIO0 (J22) to 1.8V. • Set VCCIO2 (J17) set to 3.3V. • Set J20 jumper on USB mode. Connecting the Sensor Fusion Board to the Intrinsyc Dragon Board To connect the Sensor Fusion Board to the Intrinsyc Dragon Board 1. Power-off the Intrinsyc Dragon Board. 2. Connect the Intrinsyc Dragon Board end of the processor configuration cable to the Intrinsyc Adapter board mounted on the Intrinsyc Dragon Board. i. The marked pin of the cable connector should be connected to pin 1 of the connector on the Intrinsyc Adapter board near the white dot. 3. Connect the smaller connector on other end of the cable to the J21 connector of the Sensor Fusion Board. i. The marked pin of the cable connector should be connected to pin 1 of the J21 connector near the white dot. 4. Connect the larger connector on the other end of the cable to the J13 connector of the Sensor Fusion Board. i. The marked pin of the cable connector should be connected to pin 1 of the J21 connector near the white dot. 5. Power-on the Intrinsyc Dragon Board after the above connections are completed. Note: Do not connect the mini USB power cable to the Sensor Fusion Board when it is connected to the Intrinsyc Dragon Board. 5 iCE40LM4K Sensor Evaluation Kit Figure 3 shows the connections between the Sensor Fusion Board and the Intrinsyc Dragon Board. Figure 3. Connecting Sensor Fusion Board to Intrinsyc Dragon Board Marked end of cable connected to pin1 of the Intrinsyc Adapter board Jumper to be set at 3.3V 5V fly wire (supplied) to be connected between +5V on the Intrinsyc Adapter board (plugged in) and the C1300 right side terminal (soldered) on the Intrinsyc Dragon Board Marked end of smaller connector, connected to pin1 of J21 on the Sensor Fusion Board Marked end of larger connector, connected to pin1 of J13 on the Sensor Fusion Board 6 iCE40LM4K Sensor Evaluation Kit Sensor Fusion Board Details Figure 4 shows the details of the Sensor Fusion Board. Figure 4. Sensor Fusion Board Switch Mini USB Connector J16 D3 LED Jumpers 7 J21 Jumper Power Switch PWR SEL J20 J13 Jumper iCE40LM4K Sensor Evaluation Kit Flashing System Image and Boot Image to Intrinsyc Dragon Board Note that this procedure is not required if the Intrinsyc Dragon Board has already been flashed with the system image and boot image (cd Lightning_Demos_Drop_WITH_APK_INSTALL/Dragonboard_boot_images/). To flash the system image and boot image to the Intrinsyc Dragon Board: 1. Connect the Intrinsyc Dragon Board USB port to your host system through the OTG (mini-USB). i. Download and install android-sdk. Android-sdk for Linux and Windows environment at http://developer.android.com/sdk/index.html. Set <Installation path>/android_sdk/platform-tools/ to the PATH variable. 2. Run the command below in the terminal/command prompt. #sudo –s Note: This command is applicable only for Linux machines. For Windows machine administrative permission is necessary. 3. Reboot the Intrinsyc Dragon Board in fastboot mode. i. Keep Button Vol / Zoom + pressed on the Intrinsyc Dragon Board during restart. If the board is already On in adb mode, use the command below for fastboot mode #adb reboot bootloader ii. When the Intrinsyc Dragon Board is in FASTBOOT mode, a white screen comes on with only Intrinsyc name displayed on it. iii. Execute the command below in the terminal/command prompt to list the fastboot device number and its name. #fastboot devices The board is now ready to be flashed with boot.img. 4. Enter the command below to flash system image. #fastboot flash system system.img If flashing is successful, OKAY and Finished comments are displayed on the terminal. 5. Enter the command below to flash boot.img #fastboot flash boot boot.img If flashing is successful, OKAY and Finished comments are displayed on the terminal. 6. Enter the command below reboot the board for current boot.img. #fastboot reboot 7. After reboot, go to Settings > Developer options > Stay awake. 8 iCE40LM4K Sensor Evaluation Kit Installing Sensor Hub apk to Android To flash the system image and boot image to the Intrinsyc Dragon Board: 1. Connect the Intrinsyc Dragon Board USB port to your host system through the OTG (mini-USB). 2. Run the command below in the terminal/command prompt. #sudo –s Note: This command is applicable only for Linux machines. For Windows machine administrative permission is necessary. 3. Use below commands on the terminal to establish and verify 'adb' connection. #adb kill-server #adb start-server #adb devices If the connection is successful, the device id is displayed on the terminal. 4. Run the command below to install the Sensor Hub apk to the Intrinsyc Dragon Board. #cd Lightning_Demos_Drop_WITH_APK_INSTALL/Sensor_Hub_Demo_Quick_Strart /Android_Apllication Note: This step should be performed only if not currently in the Lightning_Demos_Drop_WITH_APK_INSTALL/Sensor_Hub_Demo_Quick_start/Android_Apllication/ folder #adb install Sensor_Hub_Demo.apk Demo Procedure To execute the demo: 1. Restart Intrinsyc Dragon Board by removing and re-plugging in the power supply, with the Sensor Fusion Board connected to it. When connecting the Sensor Fusion Board to Intrinsyc Dragon Board, make sure that jumper J20 on the Sensor Fusion Board is in DRG mode. 2. Wait for Android boot sequence to complete and the home screen to appear. 3. Unlock the screen. Go to the Android application menu and open Sensor_Hub_LP3.5k_Intrinsyc. 4. Wait for the Processor Configuration to be completed. This is indicated by the lighting of the D3 LED on the Sensor Fusion board. 5. The sensor data is displayed on the Sensor_Hub_LP3.5k_Intrinsyc application. 9 iCE40LM4K Sensor Evaluation Kit Sensor_Hub_LP3.5k_Intrinsyc Application Features The Sensor_Hub_LP3.5k_Intrinsyc application provides the following features: • Temperature and pressure data gives the atmosphere pressure in kPa and room temperature in degree Celcius. • Compass image points to the magnetic north w.r.t the Sensor Fusion Board. • Light sensor progress bar indicates the intensity of light form 0 – 4000 lux. • Accelerometer GUI indicates acceleration in x,y and z direction. The dots indicate the direction and acceleration. • Gyroscope GUI shows the graphical meter to display the angular rate in x,y and z direction. • Humidity data gives humidity of the environment in %RH(Relative Humidity). Ambient RGB GUI indicates Red, Green, Blue light values. Figure 5 shows the Sensor_Hub_LP3.5k_Intrinsyc application interface. Figure 5. Sensor_Hub_LP3.5k_Intrinsyc Application Interface 10 iCE40LM4K Sensor Evaluation Kit Troubleshooting If the Android application does not respond, perform the following procedure: 1. Close the Sensor_Hub_LP3.5k_intrinsyc process running in background. In the Android menu, go to Settings > Applications > Manage Applications > Sensor_Hub_LP3.5k_intrinsyc Force Stop 2. Restart the Intrinsyc Dragon Board. 3. Open the Sensor_Hub application from Android menu and application is ready to receive all sensor’s data. 4. If the android application crashes while being opened, it means that the library file has not been copied. Run the command below to install the Sensor Hub apk to the Intrinsyc Dragon Board. #cd Lightning_Demos_Drop_WITH_APK_INSTALL/Sensor_Hub_Demo_Quick_Strart /Android_Apllication Note: This step should be performed only if not currently in the Lightning_Demos_Drop_WITH_APK_INSTALL/Sensor_Hub_Demo_Quick_start/Android_Apllication/ folder #adb install Sensor_Hub_Demo.apk 11 iCE40LM4K Sensor Evaluation Kit Technical Support Assistance e-mail: [email protected] Internet: www.latticesemi.com Revision History Date Version January 2014 01.0 Change Summary Initial release. © 2014 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal. All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice. 12 A B C D 5 SMA CONN CLOCK OSC POWER SUPPLIES (from USB) APP PROCESSOR (SPI) (10 pin CONN) 4 SPI IR RX TSSOP34338 4 IR LED (TX) BAR CODE LED JUMPER SEL BOT BANK - at 3V3 iCE40LP3k5-WLCSP25 TOP BANK - at 1.8V POOL-A I2C POOL-B I2C 5 SPI/GPIO 3 TMD27711 (I2C) Proximity & ALS SHT20 (I2C) Humidity &Temp. FT2232H Revision History 1 Rev 2- 14 Sept 2013 - VCCIO2 default 3V3, Added R42, R43, consolidated VLT adapter in same schematic Rev 1p2- 6 Aug 2013 - VCCIO2 default changed 2 USB Date: Size B Title Saturday, October 05, 2013 Document Number 102-374A-0913 Block Diagram 1 Sheet 1 of 5 SENSOR FUSION DEMO BOARD (iCE40LP3K5-WLCSP25) LATTICE SEMICONDUCTOR CORPORATION CONFIDENTIAL CHEETAH CONN Rev 2 Rev 1p1- 18July 2013 - Added CRSTb through R41 to AP INTERCONNECT Rev 1p0 - 16 July 2013 - IR/HALL muxed to free up FPGA pin D3 Rev 0p0 - 9 July 2013 - Initial draft 2 CONFIG FLASH (SPI) HALL SENSOR LSM303DLHC (I2C) Magentometer SPI BMP085 (I2C) Pressure MAX44006 (I2C) RGB ALS LSM330DLC (I2C) Accel. & Gyro 3 A B C D Appendix A. Sensor Fusion Board Schematic Diagrams JUMPER SEL A B C R11 10k VCCIO0 poolA_sensor_SDA C12 0.01u 6 7 poolA_sensor_SCL VCCIO0 SDA SCL BMP085 U6 3 4 5 TP5 TP7 TP6 INT2A INT2G INT1G 1 VDDA VDD GND NC 1 5 1 D 1 8 2 R6 Pg[4] CAP DEN_G DRDY_G/INT2_G INT1_G INT2_A INT1_A U7 LSM330DLC GND1 RES3 RES2 RES1 RES0 GND0 VCC3V3 6 5 4 3 2 1 C10 10u poolA_sensor_SDA poolA_sensor_SCL PRESSURE SENSOR sensor0_XCLR 4 C8 0.1u 1 2 3 J12 PoolA I2C R16 2k2 VCCIO0 R19 2k2 4 GYROSCOPE & ACCELEROMETER SENSOR Notes: - Gyro and Accelerometer interfaces are both set to I2C - I2C address LSB for both Gyro and Accelerometer is '1' - SPI for both Gyro and Accelerometer is disabled C9 0.1u VCCIO0 R18 DNP 1 15 16 17 18 19 20 C6 1u TP3 BMP EOC XCLR EOC 10k C7 0.1u 14 13 12 11 10 9 8 7 RES8 RES7 RES6 RES5 RES4 VDD2 VDD1 VDD0 VDD_IO_0 CS_G CS_A SCL_A/G VDD_IO_1 SDO_G SDO_A SDA_A/G 21 22 23 24 25 26 27 28 5 3 VCCIO0 C1 0.1u poolA_sensor_SDA poolA_sensor_SCL poolA_sensor_SCL Pg[4] poolA_sensor_SDA Pg[4] 3 4 6 5 4 6 4 2 VCC3V3 VDD SDA OUT GND 1 2 Hall_out MAX44006 A0 GND INT 1 2 3 R42 1k VCCIO0 C3 1u Pg[4] 2 HALL SENSOR Hall_out 1 Date: Size B Title Saturday, October 05, 2013 Document Number 102-374A-0913 Pool-A I2C Sensors 1 Sheet 2 of 5 SENSOR FUSION DEMO BOARD (iCE40LP3K5-WLCSP25) LATTICE SEMICONDUCTOR CORPORATION CONFIDENTIAL LDO reverse current bypass 2 RGB ALS SENSOR VCC1V8 VCC2V5 SCL U2 BU52051NVX VDD NC U1 1 TP1 MAXINT 3 5 3 1 J22 VCCIO0 SEL Default: VCCIO0 = 1V8 VCCIO0 5 TPAD Rev 2 A B C D A B C D GND OUT VDD VCCIO2 NC1 NC2 PAD 5 VDD SDA SCL poolB_sensor_SCL poolB_sensor_SDA 6 1 U3 SHT20 2 1 3 Q1 MMBT3904 5 R9 2k2 R3 0 R7 47 VCCIO2 Pg[4] IR EMITTER IR_LED IR RX MODULE IR_IN Pg[4] Humidity, Temperature Sensor D1 IRTX R37 68 TSOP34338 U5 C5 10u 3 4 7 0.1u VCCIO2 VSS 2 C2 1 2 3 C30 0.22u C55 4.7u C51 0.1u VCCIO2 R36 2k2 4 13 12 11 10 6 SETC SETP RES2 RES1 C1 U14 LSM303DLHC PoolB I2C J7 R38 2k2 VCCIO2 Pg[4] poolB_sensor_SDA GND SCL DRDY INT1 INT2 SDA 5 9 1 = 2v5 VCC1V8 VCC2V5 VCC3V3 3 3 COMPASS SENSOR TP9 CMP DRDY poolB_sensor_SDA 3 4 poolB_sensor_SCL 2 C28 0.1u Pg[4] C26 1u 6 4 2 Default: VCCIO2 5 3 1 J17 VCCIO2 VCCIO2 SEL poolB_sensor_SCL VCC3V3 14 VDD 4 1 VDDIO GND NC 7 8 5 C35 0.1u Pg[4] R39 150 2 4 GND VDD OUT STDBY# R34 10k 1 2 J1 SMA 4 5 Sh3 Sh4 3 1 3 1 2 clk 0 R1 R32 0 J2 EXT CLK SEL Default: 1&2 (27 Mhz Osc) C4 22u 2 EXTERNAL CLOCKING Sh2 A Sh1 Pg[4] U15 ASFLMB-27.000MHZ-LC-T VCCIO2 J6 STDBY BAR CODE LED D2 640nm BAR_LED VCCIO2 2 1 2 3 R35 0 1 4 3 0 0 SCL SDA INT LEDK LDR 10k 2 8 7 5 6 R33 1 Date: Size B Title Saturday, October 05, 2013 Document Number 102-374A-0913 1 Sheet Pool-B I2C Sensors, IR, Bar-Code LEDs & Clocking 3 of 5 SENSOR FUSION DEMO BOARD (iCE40LP3K5-WLCSP25) LATTICE SEMICONDUCTOR CORPORATION CONFIDENTIAL PROXIMITY SENSOR R5 R4 TMD27711 LEDA GND VDD U4 poolB_sensor_SDA poolB_sensor_SCL C34 1u C33 1u TP2 PROX INT 1 Rev 2 A B C D A B C D 1 3 5 7 9 proc_sdi proc_cs J21 AP INTERCONNECT Note position of pin#1 in reference board 0 2 4 6 8 10 R8 10k CRST SW1 Hall_out 5 J5 clk IR MUX 3 2 1 Pg[3] CDONE CRSTb D2 C1 D1 E1 C4 E3 E5 D5 E4 C5 D3 E2 C3 B3 DUT IOB22_SO IOB23_SI IOB24_SCLK IOB25_SS CONFIG SPI IOB12_G4 IOB11_G5 IOB2 IOB3 IOB4 IOB5 IOB16 VCCIO2/SPIVCC BOT BANK CDONE CRSTB iCE40LP3k5-WLCSP25 U11 4 GND1 GND2 AVDD/ VCC IOT46_G0 IOT45_G1 IOT28 IOT30 IOT31 IOT55 IOT56 VCCIO0 TOP BANK Default: Shunt 1,2 (for IR LED) BAR_IR_SEL 3 2 1 J4 iCE40LP3k5-WLCSP25 BAR_LED BAR_LED_MUX_IR_LED IR_LED flsh_cs flsh_sclk ice_SO ice_SI R2 poolB_sensor_SCL poolB_sensor_SDA BAR_LED_MUX_IR_LED GPIO_C5 CRSTb sensor0_XCLR 0 Pg[5] D3 DONE CDONE VCC3V3 R30 2k2 C14 C11 C15 1u 0.1u 10n Note: Place close to DUT IR_IN GPIO_C5 R22 2k2 J8 IDD_BOT Default: Shunt VCCIO2 CRSTb VCCIO0 CRSTb AP (DRAGON BOARD) INTERCONNECT R41 J10 CRST Default: Open CRSTb DRGN5V proc_sdo proc_sclk proc_intr 1 2 1 2 4 D4 B2 B4 A4 A3 A1 B1 C2 B5 A5 A2 C16 10n CDONE 3 C18 C21 0.1u 1u C17 10n C19 C22 0.1u 1u Note: Place close to DUT Pg[5] Note: Place close to DUT proc_sclk proc_cs flsh_cs Pg[3] IR_IN Pg[3] IR_LED Pg[5] poolB_sensor_SCL poolB_sensor_SDA poolA_sensor_SCL poolA_sensor_SDA proc_sdi proc_intr proc_sdo Pg[3] Pg[3] Hall_out flsh_cs flsh_miso flsh_sclk flsh_cs flsh_mosi Pg[2] Pg[5] Pg[5] Pg[5] Pg[5] Pg[5] BAR_LED sensor0_XCLR Pg[3] poolA_sensor_SDA poolA_sensor_SCL Pg[2] Pg[2] Pg[2] 3 VCCIO0 J19 IDD_TOP J18 IDD_CORE VCC1V2 Default: Shunt Default: Shunt 2 1 flsh_cs flsh_cs ice_SI flsh_mosi 2 J16 MA / SL flsh_miso flsh_miso ice_SO flsh_mosi 2 7 R40 10k 1 Date: Size B Title Saturday, October 05, 2013 Document Number 102-374A-0913 FPGA, Config Flash, AP Interconnects 1 Sheet 4 of 5 SENSOR FUSION DEMO BOARD (iCE40LP3K5-WLCSP25) LATTICE SEMICONDUCTOR CORPORATION CONFIDENTIAL SPI CONFIGURATION / FLASH For programming iCE - Shunt 3,4 and 1,2 For programming Flash - Shunt 1,3 and 2,4 (default) 3 4 1 2 2 4 6 8 10 SDO HOLD VCC SCK GND SDI CS Note position of pin#1 in reference board J13 SPI PGM VCC3V3 M25P80 U8 WP SS2 GND1 SS3 NC2 MISO NC1 SCLK MOSI SS1 GND2 6 flsh_sclk flsh_miso flsh_sclk 1 3 C38 0.1u 5 R12 10k flsh_mosi 1 3 5 7 9 R10 10k Default: Shunt 2 1 J11 FLSH EN 2 8 5 2 1 4 Rev 2 A B C D A B C D C13 0.1u GND VCC GND 5 VCC3V3 C46 0.1u GND U10 93LC56BT-I/OT L2 2 6 600 ohm, 500 mA VCC3V3 VCC3V3 10k 1k CS CLK DI DO R13 2k C45 4.7u C24 27p 12MHz Y1 C20 27p J15 FTRST Default: Open R26 C43 0.1u VCC3V3 C42 0.1u Pg[4] CDONE flsh_miso flsh_sclk flsh_cs flsh_mosi Pg[4] FTVCOR Gnd_1 OSCI OSCO VPHY Gnd_7 REF DM DP VPLL AGnd Gnd VCORE_1 TEST RESET# Gnd_2 ADBUS0 FT_DO FT_DI FT_CS 1 2 3 4 5 12k R29 6 7 USB_DM R27 10 8 USB_DP R28 10 9 10 GND 11 C44 FTVCOR GND 12 4.7u 13 GND 14 15 GND 16 FT_SK C47 0.1u EP_CS 4 5 EP_DI EP_CLK 3 1 R20 Pg[4] Pg[4] Pg[4] Pg[4] EP_CS EP_CLK EP_DI VCC3V3 CRSTb 4 1 FT_CDONE FT_CRST TP8 CS R14 330 TP4 SP BCBUS0 Gnd_5 BDBUS7 BDBUS6 BDBUS5 BDBUS4 VCCIO_2 BDBUS3 U9 BDBUS2 BDBUS1 FT2232H BDBUS0 VCORE SUSPEND# Gnd_4 ACBUS7 ACBUS6 1 C41 0.1u 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 C39 0.1u FTVCOR C37 10u VCC3V3 C36 0.1u R17 R23 R25 R21 R24 R15 C40 0.1u VCC3V3 FTVCOR FT_CDONE FT_DI FT_SK FT_CS FT_DO FT_CRST 3 USB PROGRAMMER VCC3V3 0 0 0 0 0 0 1 J14 GND 1 C23 10u J3 GND VCC5V 1 6 4 S3 S1 C27 47u 2 VCC1V8 C50 0.1u 3.3EN 3.3VO C32 10u 2.5EN 2.5VO 3 1 DRGN5V 1.8EN 1.8VO 1.2EN 1.2VO U13 AP7312-1218W6-7 C49 VCC2V5 0.1u 4 6 J20 PWR SEL Default: 1&2 (USB 5V) USB5V C31 47u 3 6 8 SW2 PWR C54 0.1u VCC1V2 VCC5V 2 1 5 4 LDO REGULATORS 7 VCC5V LATTICE SEMICONDUCTOR CORPORATION CONFIDENTIAL VCC5V C29 47u D4 PWR R31 680 VCC3V3 1 Date: Size B Saturday, October 05, 2013 Document Number 102-374A-0913 USB Programming & Power Supplies 1 Sheet 5 of 5 SENSOR FUSION DEMO BOARD (iCE40LP3K5-WLCSP25) Title 1 5 J23 USB PWR C53 47u USB5V C52 0.1u U12 MIC5320-SJYD6 TR spread across board, easy access J9 GND VCC3V3 C25 C48 47u 0.1u L1 100MHz, 330 ohms S2 S4 2 L3 100MHz, 330 ohms USB_DP 3 3 2 1 4 GND 1 2 GND 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 5 G VCORE_3 EECS EECLK EEDATA PWREN# BCBUS7 BCBUS6 BCBUS5 VCCIO_1 BCBUS4 BCBUS3 BCBUS2 BCBUS1 Gnd_6 VREGIN VREGOUT 4 ID ADBUS1 ADBUS2 ADBUS3 VCCIO ADBUS4 ADBUS5 ADBUS6 ADBUS7 Gnd_3 ACBUS0 ACBUS1 ACBUS2 ACBUS3 ACBUS4 VCCIO_3 ACBUS5 1 3 VIN GND 2 3 D+ 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 USB_DM 2 D- 5 5 VIN GND 2 5V Rev 2 A B C D