EVAL-ADPD188BIZ-SK User Guide UG-1274 One Technology Way * P.O. Box 9106 * Norwood, MA 02062-9106, U.S.A. * Tel: 781.329.4700 * Fax: 781.461.3113 * www.analog.com Evaluating the ADPD188BI Optical Module FEATURES GENERAL DESCRIPTION Supports the detection of UART UDP transfer capability Full configuration of the ADPD188BI Register level High level Graph view Time graph Frequency graph The EVAL-ADPD188BIZ-SK evaluation board provides users with a simple means of evaluating the ADPD188BI optical module for smoke and aerosol detection applications. The evaluation system includes the Applications WaveTool graphical user interface (GUI), providing users with low level and high level configurability, real-time frequency and time domain analysis, and user datagram protocol (UDP) transfer capability so that the evaluation board can easily interface to the user development system. EVALUATION KIT CONTENTS The EVAL-ADPD188BIZ-SK is powered through the ribbon cable from the EVAL-ADPDUCZ microcontroller board, obtained separately. EVAL-ADPD188BIZ-SK evaluation board Ribbon cable For additional information on the functionality of the ADPD188BI, refer to the ADPD188BI data sheet. ADDITIONAL EQUIPMENT NEEDED PC running Windows 7 or Windows 10 operating system EVAL-ADPDUCZ microcontroller board ONLINE RESOURCES ADPD188BI data sheet Applications WaveTool software package 16756-001 EVALUATION BOARD PHOTOGRAPH Figure 1. PLEASE SEE THE LAST PAGE FOR AN IMPORTANT WARNING AND LEGAL TERMS AND CONDITIONS. Rev. 0 | Page 1 of 10 UG-1274 EVAL-ADPD188BIZ-SK User Guide TABLE OF CONTENTS Features .............................................................................................. 1 Checking the USB Serial Connection in Windows ..................3 Evaluation Kit Contents ................................................................... 1 Running the Applications WaveTool ..........................................3 Additional Equipment Needed ....................................................... 1 Instructions to Load the Firmware .............................................3 Online Resources .............................................................................. 1 USB UART Connection................................................................4 General Description ......................................................................... 1 Acquiring Data...................................................................................5 Evaluation Board Photograph......................................................... 1 Selecting the Proper View ............................................................5 Revision History ............................................................................... 2 Load Configuration ......................................................................5 Getting Started .................................................................................. 3 Optimizing and Running the ADPD188BI ...............................5 Installing the Applications WaveTool ........................................ 3 Evaluation Board Schematics and Artwork ...................................8 Connecting the EVAL-ADPDUCZ Microcontroller Board and the EVAL-ADPD188BIZ-SK Evaluation Board................ 3 REVISION HISTORY 6/2018--Revision 0: Initial Version Rev. 0 | Page 2 of 10 EVAL-ADPD188BIZ-SK User Guide UG-1274 GETTING STARTED INSTALLING THE APPLICATIONS WAVETOOL CHECKING THE USB SERIAL CONNECTION IN WINDOWS Download the Applications WaveTool software package from the EVAL-ADPD188BIZ-SK product page. Unzip the folder and run Applications_WaveToolx_x_x.exe. Follow the prompts for software installation, beginning with the setup window shown in Figure 2. Ensure that the COM port driver is installed correctly. To verify proper installation of the COM port driver, go to Control Panel > All Control Panel Items > System > Device Manager, as shown in Figure 4. In this case, the proper COM port selection is USB Serial Port (COM16). 16756-004 16756-002 The EVAL-ADPDUCZ microcontroller board uses an FT232 USB universal asynchronous receiver transmitter (UART) IC. If the USB driver installation does not install properly, refer to the corresponding FTDI driver installation guide that is compatible with the operating system being used. Figure 2. Applications WaveTool Setup Window Figure 4. USB Serial Port in Windows(R) 7 CONNECTING THE EVAL-ADPDUCZ MICROCONTROLLER BOARD AND THE EVALADPD188BIZ-SK EVALUATION BOARD The EVAL-ADPDUCZ also contains a Bluetooth(R) radio that can be paired with the PC if a wireless connection is desired. Connect the USB cable to the EVAL-ADPDUCZ evaluation board, connect the ribbon cable to the EVAL-ADPD188BIZ-SK board, and switch the power switch to the ON position (see Figure 3). To start the Applications WaveTool application, navigate to the Start menu > Analog Devices > ApplicationsWaveTool and click ApplicationsWaveTool. INSTRUCTIONS TO LOAD THE FIRMWARE It is possible that the EVAL-ADPDUCZ microcontroller board is loaded with an older version of the firmware at the time that it was stocked. In this scenario, the user receives the message shown in Figure 5 when attempting to connect to the WaveTool. 16756-003 When the USB cable is connected, the second light emitting diode (LED) below the power switch illuminates, indicating that the on-board battery is being charged. When the power switch is turned to the ON position, the LED immediately below the power switch illuminates, indicating that the EVAL-ADPDUCZ microcontroller board is on. RUNNING THE APPLICATIONS WAVETOOL SWITCH TO ON 16756-005 Figure 3. Connecting the EVAL-ADPDUCZ to the EVAL-ADPD188BIZ-SK Figure 5. Warning Message for Outdated Firmware Rev. 0 | Page 3 of 10 UG-1274 EVAL-ADPD188BIZ-SK User Guide If the firmware must be updated, take the following steps: 1. 2. 3. 8. Download and install the latest DfuSe USB device firmware upgrade software. Plug in a micro USB cable between the EVAL-ADPDUCZ and the PC with the power to the EVAL-ADPDUCZ turned off (see Figure 6). Press and hold the BOOT0 button, and switch the power switch to the ON position Click the Upgrade button and follow the prompts to upgrade the firmware of the EVAL-ADPDUCZ microcontroller board. After the firmware updates, connection to the WaveTool completes. 16756-008 16756-006 BOOT0 BUTTON Figure 6. Micro USB Connection and BOOT0 Button Used when Upgrading Firmware Go to Device Manager > Universal Serial Bus controllers and wait until the PC detects STM Device in DFU Mode (see Figure 7). If the PC does not detect the STM device in DFU mode, then the STM drivers must be manually installed to continue updating the firmware. USB UART CONNECTION To establish the USB UART connection, use the following menu path: Connection > Connect > UART Bridge. 16756-009 16756-007 4. Figure 8. DfuSe Demo Settings Figure 7. STM Device in DFU Mode Displayed 5. 6. 7. Figure 9. UART Connection Release the BOOT0 button. Open the DfuSe Demo by going to Start > All Programs > STMicroelectronics > DfuSe > DfuSe Demo. Figure 8 shows the DfuSe demo settings at startup. Click the Choose button from the Upgrade or Verify Action window and select Adpd_M4_uC.dfu from the Firmware folder of the downloaded software package. Select the proper COM port to connect the WaveTool to the device. If connection via Bluetooth is required, or if there are any other connection issues, refer to the Applications WaveTool user guide that is provided in the software package download. Rev. 0 | Page 4 of 10 EVAL-ADPD188BIZ-SK User Guide UG-1274 ACQUIRING DATA SELECTING THE PROPER VIEW 16756-012 The EVAL-ADPD188BIZ-SK is intended for smoke and aerosol detection applications. Select the Smoke Device data view (see Figure 10) to open a window that allows the user to run the ADPD188BI device and to collect data (see Figure 19). Figure 12. Selecting Load DCFG to Select the Configuration File OPTIMIZING AND RUNNING THE ADPD188BI 16756-010 Using the ADPD188BI_SK.dcfg configuration file, the ADPD188BI is set up with an infrared (IR) LED firing in Time Slot A and the blue LED firing in Time Slot B. The initial configuration is as shown in Figure 18. Before running the Applications WaveTool, a few steps must be taken to optimize the data collection view and provide valid blue/IR ratios. 1. Figure 10. Selecting the Smoke Device Data View LOAD CONFIGURATION In the data view (see Figure 19), click the Op Select button to open the view shown in Figure 13. Select SB_Sum, SA_Sum, and the / operation, as shown in Figure 13, to configure the blue/IR ratio in the data view. 16756-013 In the upper right corner of the data view window, click the ADPD Config button (see Figure 11) to open the Configuration window. 16756-011 Figure 13. Op Select View 2. Figure 11. Selecting ADPD Config to the Open the Configuration Window 16756-014 In the Configuration window, click Load DCFG to select a configuration file, as shown in Figure 12. For smoke and aerosol measurements, select the ADPD188BI_SK.dcfg configuration file from the file dialog box. Before running the WaveTool, make sure the operating mode shown in the Set SlotMode window of the data view is set to ADPDDrv_SUM_32 for both Time Slot A and Time Slot B, as shown in Figure 14. Figure 14. Selecting ADPDDrv_SUM_32 Rev. 0 | Page 5 of 10 UG-1274 With the sensor board in a fixed position and no aerosol or smoke in the optical path, run the WaveTool by pressing the play button. The raw data view, Slot A/B vs Time, must be at some average level. This average level must be nulled out before measuring smoke or aerosol, as described in the following steps (Step 4 to Step 6). 6. In the data view, click the Null Offset button to set the Time Slot A and Time Slot B raw data values to approximately zero, plus or minus the noise that may be present (see Figure 17). 16756-017 16756-015 3. EVAL-ADPD188BIZ-SK User Guide Figure 15. Average Value Prior to Nulling Offset 5. Open the Statistics window by clicking the Statistics button in the data view. In the Statistics window, select Continuous Update. Allow the Statistics window to calculate the mean value. After a mean value is calculated, click the Subtract mean from Offsets button. Figure 17. Data View Following Null Offset After these steps are complete, the user can begin testing with different aerosols. Figure 19 shows the raw output data, as well as the blue/IR ratio of the response to a jet of smoke spray. The EN_MW button can be pressed to enable an eight point moving average filter on the data being plotted. The settings can be further optimized by manipulating the LED drive currents, the transimpedance amplifier (TIA) gain, the number of pulses, and the decimation rate until the desired signal-to-noise ratio (SNR) is obtained from the response to the smoke or aerosol being detected. For information about optimizing the ADPD188BI, refer to the ADPD188BI data sheet. For functional descriptions of the Applications WaveTool, refer to the Applications WaveTool user guide provided in the software package download. 16756-016 4. Figure 16. Statistics Window Rev. 0 | Page 6 of 10 UG-1274 16756-018 EVAL-ADPD188BIZ-SK User Guide 16756-019 Figure 18. Smoke Device Configuration (Smoke Config) View Figure 19. Raw Data Response and Blue/IR Ratio Measurement of Smoke Spray Rev. 0 | Page 7 of 10 22F 22F R4 Figure 20. EVAL-ADPD188BIZ-SK Schematic, Page 1 G1 PD_COMM PDC G2 PD1 PD2 22F C3 VDD_3V GPIO0 12 14 16 13 15 GPIO1 3P3V LEDX1 LEDX1 5V LEDX2 LEDX2 1P8V LEDX3 LEDX3 SPI1_CS1 0 1F C44 22 19 18 17 12 2 24 VDD_3V VBOOST ADPD188BI JP1 B COM A 3PIN_JUMPER_SM 3 SPI1_CS1 2 R1 OVERLAP WITH JP1 VDD_1.8V VREF CSB_N SCLK MOSI SCL PD2 PD1 VDD_3V VDD_1.8V 1 R62 R63 SCL 137k 137k CONN1_SPI1_CS1/P2_11 R1 0 CONN1_SPI1_CLK/P1_6 R7 ECG_SP_OUT 0 R3 C43 10F 0 C40 R20 0.1F EXT SENSOR1 120 CONN1_SPI1_MOSI/P1_7 VDD_1.8V E1 CONN1_SPI1_MISO/P1_8 CONN1_SPI1_CS0/P1_9 CONN1_WAKE0/P0_15 CONN1_I2C_SCL/P0_4 VBOOST FTSH-108-01-L-D-K 10 8 7 9 6 11 4 5 CONN1_TMR0_OUT/P0_14 CONN1_WAKE1/P1_0 ECG_SP_OUT EXT_SENSOR1 0 2 P3 3 P3 1 FTSH-108-01-L-D-K EXTERNAL POWER EXTRA BYPASS C2 VBOOST C1 VDD_1.8V CONN1_SPI1_MOSI/P1_7 CONN1_SPI1_CLK/P1_6 CONN1_WAKE1/P1_0 CONN1_I2C_SDA/P0_5 CONN1_TMR0_OUT/P0_14 VBOOST R5 0 23 VDD_1.8V 5 OLD STYLE RIBBON CONNECTOR OPTION 4 VDD1 DGND 20 AGND 21 VDD2 LGND 11 VLED2 6 VLED1 NC 3 NC 7 LEDX3 PD_COMM SDA 9 1 13 3 2 1 JP2 B COM A R8 B COM 3 2 1 JP4 B COM A 3PIN_JUMPER_SM SCL R6 OVERLAP WITH JP4 0 CONN1_I2C_SCL/P0_4 R6 VDD_1.8V JP5 A 3PIN_JUMPER_SM VBOOST VDD_3V R8 OVERLAP WITH JP7 0 CONN1_SPI1_MISO/P1_8 3PIN_JUMPER_SM R2 OVERLAP WITH JP2 0 SPI OR USB MODE SELECT VDD_1.8V R2 0 SDA LEDX2 10 R67 LEDX1 16 C51 22F CONN1_TMR0_OUT/P0_14 CONN1_WAKE1/P1_0 10F C49 VDD_3V 8 15 14 ADPD188 MISO SDA PDC LEDX3 LEDX2 LEDX1 GPIO1 GPIO0 U1 CONN1_I2C_SDA/P0_5 SPARE PIN Rev. 0 | Page 8 of 10 SPARE PIN UG-1274 EVAL-ADPD188BIZ-SK User Guide EVALUATION BOARD SCHEMATICS AND ARTWORK 16756-020 Rev. 0 | Page 9 of 10 SYS_BMODE/P1_1 CONN2_SW_CLK CONN2_UART_RX VBUCK DF40HC(2.5)-20DS-0.4V(51) CONN2_BPR0_TONE_N/P0_8 CONN2_BPR0_TONE_P/SPI2_CS1/P0_9 VLDO1/IOVDD CONN2_SPI2_MISO/P1_4 CONN2_SPI2_CLK/P1_2 CONN2_ADXL364_ADC DF40HC(2.5)-20DS-0.4V(51) CONN1_SPI1_CS3/P1_10 CONN1_ADC0_VIN1/P2_4 CONN1_SPI1_MISO/P1_8 CONN1_SPI1_CLK/P1_6 CONN1_SPI1_CS1/P2_11 CONN1_WAKE1/P1_0 VBOOST VLDO2 VLDO1/IOVDD 19 17 15 13 11 9 7 5 3 1 P2 VDD_1.8V 19 17 15 13 11 9 7 5 3 1 P1 1.8V INTERFACE 0 2 3 VDD_3V VLDO3 JP6 B COM A 20 18 16 14 12 10 8 6 4 2 P2 USE VLDO3 TO SUPPLY 3V IF VLDO1 IS SET TO 1.8V 3PIN_JUMPER 1 VLDO1/IOVDD R17 OVERLAP WITH JP6 R17 DUMMY NET ONLY DF40HC(2.5)-20DS-0.4V(51) DN CONN2_IOVDD CONN2_SW_DATA CONN2_UART_TX CONN2_ADC0_VIN2/P2_5 VLDO3 CONN2_SPI2_CS0/P1_5 CONN2_SPI2_MOSI/P1_3 CONN2_WAKE3/TMR2_OUT/P2_1 SYS_HWRST VDD_1.8V_LDO2 DF40HC(2.5)-20DS-0.4V(51) CONN1_SPI1_MOSI/P1_7 CONN1_SPI1_CS0/P1_9 CONN1_WAKE0/P0_15 CONNECTOR 2 0 R15 CONN1_I2C_SCL/P0_4 CONN1_I2C_SDA/P0_5 CONN1_TMR0_OUT/P0_14 VBOOST VDD_1.8V_LDO2 VLDO1/IOVDD CONNECTOR 1 CONNECTOR 1 20 18 16 14 12 10 8 6 4 2 P1 CONN1_SPI1_CS0/P1_9 CONN1_SPI1_CLK/P1_6 C41 0.1F CONN1_SPI1_MOSI/P1_7 10F C39 ADXL362 8 4 6 2 CS_N SCLK MOSI 15 NC 12 SDA VSS INT2 INT1 13 7 16 SPARE PIN SPARE PIN SPARE PIN CONN1_TMR0_OUT/P0_14 CONN1_WAKE0/P0_15 CONN1_SPI1_MISO/P1_8 U2 ADXL362BCCZ 3 5 10 9 11 VDD_1.8V CONN1_I2C_SDA/P0_5 C47 MISO VDD_1.8V CONN1_I2C_SCL/P0_4 10F 120 E2 5 6 7 8 C46 0 R64 M24C16-RDW6TP SCL NC VCC WC_N U4A B2 CONN1_I2C_SDA/P0_5 M24C16-DFCU6TP/K SDA NC NC VSS A2 SCL U4 0.1F 4 3 2 1 B1 RESERVED GND 1 14 VDDI/O VS CONN1_I2C_SCL/P0_4 A1 VCC VDD_1.8V FOR BOARD IDENTIFICATION EEPROM MEMORY SPARE PIN Figure 21. EVAL-ADPD188BIZ-SK Schematic, Page 2 SPARE PIN STACKING CONNECTOR TO WATCH MOTHERBOARD EVAL-ADPD188BIZ-SK User Guide UG-1274 16756-021 UG-1274 EVAL-ADPD188BIZ-SK User Guide NOTES ESD Caution ESD (electrostatic discharge) sensitive device. Charged devices and circuit boards can discharge without detection. Although this product features patented or proprietary protection circuitry, damage may occur on devices subjected to high energy ESD. Therefore, proper ESD precautions should be taken to avoid performance degradation or loss of functionality. Legal Terms and Conditions By using the evaluation board discussed herein (together with any tools, components documentation or support materials, the "Evaluation Board"), you are agreeing to be bound by the terms and conditions set forth below ("Agreement") unless you have purchased the Evaluation Board, in which case the Analog Devices Standard Terms and Conditions of Sale shall govern. Do not use the Evaluation Board until you have read and agreed to the Agreement. Your use of the Evaluation Board shall signify your acceptance of the Agreement. This Agreement is made by and between you ("Customer") and Analog Devices, Inc. ("ADI"), with its principal place of business at One Technology Way, Norwood, MA 02062, USA. Subject to the terms and conditions of the Agreement, ADI hereby grants to Customer a free, limited, personal, temporary, non-exclusive, non-sublicensable, non-transferable license to use the Evaluation Board FOR EVALUATION PURPOSES ONLY. Customer understands and agrees that the Evaluation Board is provided for the sole and exclusive purpose referenced above, and agrees not to use the Evaluation Board for any other purpose. Furthermore, the license granted is expressly made subject to the following additional limitations: Customer shall not (i) rent, lease, display, sell, transfer, assign, sublicense, or distribute the Evaluation Board; and (ii) permit any Third Party to access the Evaluation Board. As used herein, the term "Third Party" includes any entity other than ADI, Customer, their employees, affiliates and in-house consultants. The Evaluation Board is NOT sold to Customer; all rights not expressly granted herein, including ownership of the Evaluation Board, are reserved by ADI. CONFIDENTIALITY. This Agreement and the Evaluation Board shall all be considered the confidential and proprietary information of ADI. Customer may not disclose or transfer any portion of the Evaluation Board to any other party for any reason. Upon discontinuation of use of the Evaluation Board or termination of this Agreement, Customer agrees to promptly return the Evaluation Board to ADI. ADDITIONAL RESTRICTIONS. Customer may not disassemble, decompile or reverse engineer chips on the Evaluation Board. Customer shall inform ADI of any occurred damages or any modifications or alterations it makes to the Evaluation Board, including but not limited to soldering or any other activity that affects the material content of the Evaluation Board. Modifications to the Evaluation Board must comply with applicable law, including but not limited to the RoHS Directive. TERMINATION. ADI may terminate this Agreement at any time upon giving written notice to Customer. Customer agrees to return to ADI the Evaluation Board at that time. LIMITATION OF LIABILITY. THE EVALUATION BOARD PROVIDED HEREUNDER IS PROVIDED "AS IS" AND ADI MAKES NO WARRANTIES OR REPRESENTATIONS OF ANY KIND WITH RESPECT TO IT. ADI SPECIFICALLY DISCLAIMS ANY REPRESENTATIONS, ENDORSEMENTS, GUARANTEES, OR WARRANTIES, EXPRESS OR IMPLIED, RELATED TO THE EVALUATION BOARD INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, TITLE, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT OF INTELLECTUAL PROPERTY RIGHTS. IN NO EVENT WILL ADI AND ITS LICENSORS BE LIABLE FOR ANY INCIDENTAL, SPECIAL, INDIRECT, OR CONSEQUENTIAL DAMAGES RESULTING FROM CUSTOMER'S POSSESSION OR USE OF THE EVALUATION BOARD, INCLUDING BUT NOT LIMITED TO LOST PROFITS, DELAY COSTS, LABOR COSTS OR LOSS OF GOODWILL. ADI'S TOTAL LIABILITY FROM ANY AND ALL CAUSES SHALL BE LIMITED TO THE AMOUNT OF ONE HUNDRED US DOLLARS ($100.00). EXPORT. Customer agrees that it will not directly or indirectly export the Evaluation Board to another country, and that it will comply with all applicable United States federal laws and regulations relating to exports. GOVERNING LAW. This Agreement shall be governed by and construed in accordance with the substantive laws of the Commonwealth of Massachusetts (excluding conflict of law rules). Any legal action regarding this Agreement will be heard in the state or federal courts having jurisdiction in Suffolk County, Massachusetts, and Customer hereby submits to the personal jurisdiction and venue of such courts. The United Nations Convention on Contracts for the International Sale of Goods shall not apply to this Agreement and is expressly disclaimed. (c)2018 Analog Devices, Inc. All rights reserved. Trademarks and registered trademarks are the property of their respective owners. UG16756-0-6/18(0) Rev. 0 | Page 10 of 10