XTRINSIC-SENSORS-EVK Evaluation Kit for Freescale Xtrinsic Sensors XTRINSIC-SENSORS-EVK Evaluation kit for Freescale Xtrinsic Sensors Doc ID: XTRINSICUM Rev. 0.5, 06/03/2013 Table of Contents KIT OVERVIEW........................................................................................................................................................................... 4 KIT CONTENTS: .......................................................................................................................................................................... 4 Xtrinsic Sensor Board ............................................................................................................................................................ 4 MPL3115 ............................................................................................................................................................................................... 4 MAG3110 .............................................................................................................................................................................................. 5 MMA8491Q .......................................................................................................................................................................................... 5 Pin Definition of Connectors ................................................................................................................................................. 5 Board Top View ..................................................................................................................................................................................... 5 Pin Definition......................................................................................................................................................................................... 6 Freescale Freedom FRDM-KL25Z ........................................................................................................................................ 7 XTRINSIC-Sensor board and FRDM-KL25Z......................................................................................................................... 8 Pin mapping ........................................................................................................................................................................................... 8 DRIVERS FOR SENSOR BOARD ................................................................................................................................................... 9 Driver for MPL3115A2 .......................................................................................................................................................... 9 Driver Interfaces .................................................................................................................................................................................... 9 Operation Modes ................................................................................................................................................................................... 9 Data Acquisition .................................................................................................................................................................................. 11 Raw Data Structure and Calculations ................................................................................................................................. 11 Alt Raw Data ....................................................................................................................................................................................... 11 Bar raw data ......................................................................................................................................................................................... 12 Temperature raw data........................................................................................................................................................................... 12 Drivers for MAG3110 .......................................................................................................................................................... 12 Driver Interfaces .................................................................................................................................................................................. 12 Raw Data Structure and calculations .................................................................................................................................. 13 X-Axis data .......................................................................................................................................................................................... 13 Y-Axis data .......................................................................................................................................................................................... 14 Z-Axis data .......................................................................................................................................................................................... 14 DEMONSTRATION ..................................................................................................................................................................... 15 Setup and Configuration ...................................................................................................................................................... 15 HARDWARE .............................................................................................................................................................................. 21 Schematic ............................................................................................................................................................................. 21 PCB Layout .......................................................................................................................................................................... 25 Bill of Materials ................................................................................................................................................................... 26 ESD PRECAUTIONS AND PROPER HANDLING PROCEDURES ................................................................................... 27 LIST OF FIGURES Embest and element14 are trademarks of Premier Farnell plc (c) 2013 Premier Farnell plc. All Rights Reserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. 2 XTRINSIC-SENSORS-EVK Evaluation kit for Freescale Xtrinsic Sensors Doc ID: XTRINSICUM Rev. 0.5, 06/03/2013 FIGURE 1 SENSOR BOARD .............................................................................................................................. 4 FIGURE 2 SENSOR BOARD TOP VIEW ............................................................................................................. 5 FIGURE 3: PINOUTS OF I/O HEADERS ON FRDM-KL25Z ................................................................................. 7 FIGURE 4 XSTRINSIC-SENSORS-EVK ................................................................................................................ 8 FIGURE 5: MPL3115 DEMO .......................................................................................................................... 18 FIGURE 6 MAG3110 DEMO .......................................................................................................................... 19 FIGURE 7 MMA8491Q DEMO ...................................................................................................................... 20 FIGURE 8 SENSOR BOARD SCHEMATIC - 1 ................................................................................................... 21 FIGURE 9 SENSOR BOARD SCHEMATIC - 2 ................................................................................................... 22 FIGURE 10 SENSOR BOARD SCHEMATIC - 3 ................................................................................................. 23 FIGURE 11 SENSOR BOARD SCHEMATIC - 4 ................................................................................................. 24 FIGURE 12 SENSOR BOARD PCB TOP VIEW .................................................................................................. 25 LIST OF TABLES TABLE 1 CN1 DATA INTERFACE CONNECTOR ................................................................................................. 6 TABLE 2 CN2 POWER SUPPLY CONNECTOR ................................................................................................... 6 TABLE 3 MPL3115A2 INTERFACE LIST ............................................................................................................ 9 TABLE 4 MPL3115A2_ACTIVE......................................................................................................................... 9 TABLE 5 MPL3115A2_STANDBY ..................................................................................................................... 9 TABLE 6 MPL3115A2_INIT_ALT ...................................................................................................................... 9 TABLE 7 MPL3115A2_INIT_BAR ................................................................................................................... 10 TABLE 8 SYSTEM OUTPUT DATA RATE SELECTION....................................................................................... 10 TABLE 9 MPL3115A2_SETOSR ...................................................................................................................... 10 TABLE 10 MPL3115A2_SETSTEPTIME .......................................................................................................... 10 TABLE 11 MPL3115A2_READ_ALT ............................................................................................................... 11 TABLE 12 MPL3115A2_READ_BAR ............................................................................................................... 11 TABLE 13 MPL3115A2_READ_TEMP ............................................................................................................ 11 TABLE 14 ALT RAW DATA STRUCTURE ......................................................................................................... 11 TABLE 15 BAR RAW DATA STRUCTURE ........................................................................................................ 12 TABLE 16 TEMPERATURE RAW DATA STRUCTURE ...................................................................................... 12 TABLE 17 MAG3110 INTERFACE LIST ........................................................................................................... 12 TABLE 18 MAG3110_INIT ............................................................................................................................. 12 TABLE 19 MAG3110_DEINIT ........................................................................................................................ 13 TABLE 20 MAG3110_READRAWDATA_X ..................................................................................................... 13 TABLE 21 MAG3110_READRAWDATA_Y...................................................................................................... 13 TABLE 22 MAG3110_READRAWDATA_Z ...................................................................................................... 13 TABLE 23 X-AXIS DATA STRUCTURE ............................................................................................................. 13 TABLE 24 Y-AXIS DATA STRUCTURE ............................................................................................................. 14 TABLE 25 Z-AXIS DATA STRUCTURE ............................................................................................................. 14 TABLE 26 SENSOR BOARD BOM LIST............................................................................................................ 26 Embest and element14 are trademarks of Premier Farnell plc (c) 2013 Premier Farnell plc. All Rights Reserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. 3 XTRINSIC-SENSORS-EVK Evaluation kit for Freescale Xtrinsic Sensors Doc ID: XTRINSICUM Rev. 0.5, 06/03/2013 Kit Overview The Xtrinsic sensor evaluation kit comes with a sensor board together with the Freescale FRDM-KL25Z platform. The software drivers and code enable engineers to easily evaluate and demonstrate the performance of the sensors in a variety of applications including: * eCompass * Mobile Phones/Tablet Computers * Remote Control/Wireless Mouse * Game Consoles * Navigation Devices * Medical Devices Kit Contents: * * * Xtrinsic Sensors Board FRDM-KL25Z board Quick Start Guide Xtrinsic Sensor Board The sensor board comes equipped with three of Freescale's new-generation XTRINSIC MEMS sensors. The MPL3115 is designed for accurate measurement of altitude and pressure, the MAG3110 for detection of magnetic fields, and the MMA8491 for measurement of physical positions. Figure 1 Sensor Board MPL3115 The MPL3115 is a high-precision sensor used to provide accurate pressure and altitude data. It features an adjustable sampling rate, ultra-low power consumption and intelligent functions, suitable for applications such as mobile, medical and security devices. MPL3115 is able to provide digitized output, two separated wake-up interrupts, minimum/maximum threshold mechanism, and autonomous data acquisition. The self data processing ability of the MPL3115 reduces the need for communication with MCUs, which reduces overall system power consumption. Embest and element14 are trademarks of Premier Farnell plc (c) 2013 Premier Farnell plc. All Rights Reserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. 4 XTRINSIC-SENSORS-EVK Evaluation kit for Freescale Xtrinsic Sensors Doc ID: XTRINSICUM Rev. 0.5, 06/03/2013 MAG3110 The MAG3110 is a small, low-power, digital 3-axis magnetometer featuring a wide measurement range. It can measure magnetic fields (the overlapped fields consisting of the geomagnetic field and the fields created by components on PCB) on each of the 3 axes in the position where it is placed. The MAG3110 features an I2C serial interface, and is capable of measuring magnetic fields of up to 10 Gauss with an output data rate up to 80Hz. The output data rate can vary depending on the sampling intervals and may be adjusted from 12ms to several seconds. MMA8491Q The MMA8491Q is a low voltage, 3-axis low-g accelerometer housed in a 3 mm by 3 mm QFN package. The device can accommodate two accelerometer configurations, acting as either an easy to implement 45 Tilt Sensor or a digital (I2C) output accelerometer. In the 45 Tilt Sensor mode, it offers extremely easy board implementation by using a single line of output per axis. In the digital output mode, 14-bit 8g raw data can be read from the device with high 1 mg/LSB sensitivity. The extreme low power capabilities of the MMA8491Q reduce the low data rate current consumption to less than 400 nA per Hz. Pin Definition of Connectors This section will briefly introduce the connectors used on sensor board and the pins of these connectors in terms of definition, function and application. Board Top View Figure 2 Sensor Board Top View Embest and element14 are trademarks of Premier Farnell plc (c) 2013 Premier Farnell plc. All Rights Reserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. 5 XTRINSIC-SENSORS-EVK Evaluation kit for Freescale Xtrinsic Sensors Doc ID: XTRINSICUM Rev. 0.5, 06/03/2013 Pin Definition CN1 - Data interface Pin No. Pin Name Description 1 EN MMA8491 Enable Pin 2 Zout MMA8491 Push-Pull Z-Axis Tilt Detection Output MMA8491 Push-Pull Y-Axis 3 Yout Tilt Detection Output MMA8491 Push-Pull X-Axis 4 Xout Tilt Detection Output 5 Int_U1 MPL3115 Interrupt 6 Int_U2 MAG3110 Interrupt 7 GND Ground 8 NC No Connection 9 SDA I2C Slave Data Line 10 SCL I2C Slave Clock Line Table 1 CN1 Data Interface Connector CN2: Power Supply Connector Pin No. Pin Name Description 1 VDD +3.3V DC Power Supply 2 NC No Connection 3 GND Ground Table 2 CN2 Power Supply Connector Embest and element14 are trademarks of Premier Farnell plc (c) 2013 Premier Farnell plc. All Rights Reserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. 6 XTRINSIC-SENSORS-EVK Evaluation kit for Freescale Xtrinsic Sensors Doc ID: XTRINSICUM Rev. 0.5, 06/03/2013 Freescale Freedom FRDM-KL25Z The FRDM-KL25Z features a KL25Z128VLK - a KL2 family device boasting a max operating frequency of 48MHz, 128KB of flash, a full-speed USB controller, and loads of analog and digital peripherals. The FRDM-KL25Z has an easy access to MCU I/O via Arduino TM R3 compatible I/O connectors. The board also features a programmable OpenSDA debug interface with multiple applications available including: * Mass storage device flash programming interface * P&E Debug interface provides run-control debugging and compatibility with IDE tools * CMSIS-DAP interface: new ARM standard for embedded debug interface Figure 2 FRDM-KL25Z board Figure 3: Pinouts of I/O headers on FRDM-KL25Z Embest and element14 are trademarks of Premier Farnell plc (c) 2013 Premier Farnell plc. All Rights Reserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. 7 XTRINSIC-SENSORS-EVK Evaluation kit for Freescale Xtrinsic Sensors Doc ID: XTRINSICUM Rev. 0.5, 06/03/2013 XTRINSIC-Sensor board and FRDM-KL25Z Pin mapping Sensor Board FRDM KL25Z CN1 J2 Sensor Board FRDM KL25Z CN2 J9 Figure 4 XSTRINSIC-SENSORS-EVK Embest and element14 are trademarks of Premier Farnell plc (c) 2013 Premier Farnell plc. All Rights Reserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. 8 XTRINSIC-SENSORS-EVK Evaluation kit for Freescale Xtrinsic Sensors Doc ID: XTRINSICUM Rev. 0.5, 06/03/2013 Drivers for Sensor Board Driver for MPL3115A2 Driver Interfaces The MPL3115A2 features three kinds of modes, 8 different sample rates, 16 different acquisition time steps (1 second to 9 hours), and compensated direct reading of pressure (20 bit in Pascal) or altitude (20 bit in meters). The driver provides the following interfaces for implementing these features. Table 3 MPL3115A2 Interface list 1 2 3 4 5 6 7 8 9 Modes of Operation Over sample Read raw data void MPL3115A2_Active (void) Uint8_t MPL3115A2_Standby (void) Uint8_t MPL3115A2_Init_Alt (void) Uint8_t MPL3115A2_Init_Bar (void) void MPL3115A2_SetOSR (uint8_t) void MPL3115A2_SetStepTime (uint8_t) uint32_t MPL3115A2_Read_Alt (void) uint32_t MPL3115A2_Read_Bar (void) uint32_t MPL3115A2_Read_Temp (void) Operation Modes MPL3115A2 has three operation modes: Standby, Active Altitude, and Active Barometer. These modes can be implemented using the following interfaces. Table 4 MPL3115A2_Active Name Prototype Param Return Value Description MPL3115A2_Active void MPL3115A2_Active (void) Void Void Put MPL3115A2 into Active Mode Table 5 MPL3115A2_Standby Name Prototype Param Return Value Description MPL3115A2_Standby Uint8_t MPL3115A2_Standby (void) Void The value of CTRL_REG1 before modification Put MPL3115A2 into Standby Mode Table 6 MPL3115A2_Init_Alt Name Prototype Param Return Value Description MPL3115A2_Init_Alt Uint8_t MPL3115A2_Init_Alt (void) Void 0 - fail, 1 - success Initialize MPL3115A2 for Alt mode Embest and element14 are trademarks of Premier Farnell plc (c) 2013 Premier Farnell plc. All Rights Reserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. 9 XTRINSIC-SENSORS-EVK Evaluation kit for Freescale Xtrinsic Sensors Doc ID: XTRINSICUM Rev. 0.5, 06/03/2013 Table 7 MPL3115A2_Init_Bar Name Prototype Param Return Value Description MPL3115A2_Init_Bar Uint8_t MPL3115A2_Init_Bar (void) Void 0 - fail, 1 - success Initialize MPL3115A2 for Bar mode Over Sampling Output Sample Rate can be set as shown in Table 8 System Output Data Rate Selection. Table 10 and 11 contain the functions used for configuring over-sampling parameters. Table 8 System Output Data Rate Selection OSR 0 1 2 3 4 5 6 7 Oversample Ratio 1 2 4 8 16 32 64 128 Minimum Time Between Data Samples 2.5 ms 5 ms 10 ms 20 ms 40 ms 80 ms 160 ms 320 ms Table 9 MPL3115A2_SetOSR Name Prototype Param Return Value Description MPL3115A2_SetOSR void MPL3115A2_SetOSR (uint8_t osr) OSR Ratio Void Change the OSR Ratio Table 10 MPL3115A2_SetStepTime Name Prototype Param Return Value Description MPL3115A2_SetStepTime void MPL3115A2_SetStepTime (uint8_t step) Sample Step = 2^step; Void Change sample step Embest and element14 are trademarks of Premier Farnell plc (c) 2013 Premier Farnell plc. All Rights Reserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. 10 XTRINSIC-SENSORS-EVK Evaluation kit for Freescale Xtrinsic Sensors Doc ID: XTRINSICUM Rev. 0.5, 06/03/2013 Data Acquisition Pressure (20 bit in Pascals), Altitude (20 bit in meters), and Temperature (12 bit in degrees Celsius) can be read by functions contained in the following tables, and be calculated using the formulas in section 0 Table 11 MPL3115A2_Read_Alt Name Prototype Param Return Value Description MPL3115A2_Read_Alt uint32_t MPL3115A2_Read_Alt (void) Void The raw data for Altitude: Read Altitude data from MPL3115A2 Table 12 MPL3115A2_Read_Bar Name Prototype Param Return Value Description MPL3115A2_Read_Bar uint32_t MPL3115A2_Read_Bar (void) Void The raw data for Barometer Read Barometer data from MPL3115A2 Table 13 MPL3115A2_Read_Temp Name Prototype Param Return Value Description MPL3115A2_Read_Temp uint32_t MPL3115A2_Read_Temp (void) Void The raw data for temperature Read Temperature data from MPL3115A2 Raw Data Structure and Calculations Alt Raw Data Table 14 Alt raw data structure 31 Invalid 24 23 ALT_MSB 16 15 ALT_CSB 8 7 0 ALT_LSB Integer part: ALT_MSB x 28 + ALT_CSB Decimal part: (ALT_LSB / 24) x 0.0625 Embest and element14 are trademarks of Premier Farnell plc (c) 2013 Premier Farnell plc. All Rights Reserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. 11 XTRINSIC-SENSORS-EVK Evaluation kit for Freescale Xtrinsic Sensors Doc ID: XTRINSICUM Rev. 0.5, 06/03/2013 Bar raw data Table 15 Bar raw data structure 31 24 23 Invalid 16 15 BAR_MSB BAR_CSB 8 7 0 BAR_LSB Integer part: (BAR_MSB x 216 + BAR_CSB x 28 + BAR_LSB) / 26 Decimal part: BAR_LSB.BIT5 x0.5 + BAR_LSB.BIT4 x 0. 25 Temperature raw data Table 16 Temperature raw data structure 31 24 23 Invalid 16 15 Invalid T_MSB 8 7 0 T_LSB Integer part: T_MSB Decimal part: (T_LSB / 24) x 0.0625 Drivers for MAG3110 Driver Interfaces MAG3110 is a digital 3-axis magnetometer from which the data can be read using interfaces contained in Table 17 to Table 22 Table 17 MAG3110 Interface list 1 2 3 6 7 Initialize Read raw data Uint8_t MAG3110_Init(void) void MAG3110_DeInit(void) uint32_t MAG3110_ReadRawData_x(void) uint32_t MAG3110_ReadRawData_y(void) uint32_t MAG3110_ReadRawData_z(void) Table 18 MAG3110_Init Name Prototype Param Return Value Description MAG3110_Init Uint8_t MAG3110_Init(void) Void 0 - fail, 1 - success Initialize MAG3110 Embest and element14 are trademarks of Premier Farnell plc (c) 2013 Premier Farnell plc. All Rights Reserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. 12 XTRINSIC-SENSORS-EVK Evaluation kit for Freescale Xtrinsic Sensors Doc ID: XTRINSICUM Rev. 0.5, 06/03/2013 Table 19 MAG3110_DeInit Name Prototype Param Return Value Description MAG3110_DeInit void MAG3110_DeInit(void) Void Void Deinitialize MAG3110 Table 20 MAG3110_ReadRawData_x Name Prototype Param Return Value Description MAG3110_ReadRawData_x uint32_t MAG3110_ReadRawData_x(void) Void Raw data for x-axis Read x-axis data from MAG3110 Table 21 MAG3110_ReadRawData_y Name Prototype Param Return Value Description MAG3110_ReadRawData_y uint32_t MAG3110_ReadRawData_y(void) Void Raw data for y-axis Read y-axis data from MAG3110 Table 22 MAG3110_ReadRawData_z Name Prototype Param Return Value Description MAG3110_ReadRawData_z uint32_t MAG3110_ReadRawData_z(void) Void Raw data for z-axis Read x-axis data from MAG3110 Raw Data Structure and calculations X-Axis data X-axis 16-bit output sample data of the magnetic field strength is expressed as signed 2's complement. Table 23 X-Axis data structure 31 Invalid 24 23 16 15 Invalid X_MSB 8 7 0 X_LSB Scale factor Data (in T unit) = Data(Count) x 0.1 Embest and element14 are trademarks of Premier Farnell plc (c) 2013 Premier Farnell plc. All Rights Reserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. 13 XTRINSIC-SENSORS-EVK Evaluation kit for Freescale Xtrinsic Sensors Doc ID: XTRINSICUM Rev. 0.5, 06/03/2013 Y-Axis data Y-axis 16-bit output sample data of the magnetic field strength is expressed as signed 2's complement. Table 24 Y-Axis data structure 31 Invalid 24 23 Invalid 16 15 Y_MSB 8 7 0 Y_LSB Z-Axis data Z-axis 16-bit output sample data of the magnetic field strength is expressed as signed 2's complement. Table 25 Z-Axis data structure 31 Invalid 24 23 Invalid 16 15 Z_MSB Embest and element14 are trademarks of Premier Farnell plc (c) 2013 Premier Farnell plc. All Rights Reserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. 8 7 0 Z_LSB 14 XTRINSIC-SENSORS-EVK Evaluation kit for Freescale Xtrinsic Sensors Doc ID: XTRINSICUM Rev. 0.5, 06/03/2013 Demonstration After the driver code is loaded onto the Freedom KL25Z, the sensor features can be demonstrated with a command line interface of HyperTerminal, or another UART tools. Setup and Configuration 1. Plug in a USB cable from a USB host to the OpenSDA mini-B USB connector of the FRDM-KL25Z. The FRDMKL25Z will be powered by this USB connection. FRDM-KL25Z comes with the mass-storage device (MSD) Flash Programmer OpenSDA Application preinstalled. It will appear as a removable storage drive with a volume label of FRDM-KL25Z. (Note: For more details on setup of the FRDM-KL25Z please refer to http://www.element14.com/community/docs/DOC-49219) 2. Open the FRDM-KL25Z drive, and drop the image "sensors_freedom.srec" into it, as seen below. 3. The MSD Flash Programmer also includes a USB virtual serial port which requires an .INF file for proper installation in Windows. The necessary .INF file is available as part of the P&E OpenSDA USB Drivers and on the FRDM-KL25Z removable drive. Embest and element14 are trademarks of Premier Farnell plc (c) 2013 Premier Farnell plc. All Rights Reserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. 15 XTRINSIC-SENSORS-EVK Evaluation kit for Freescale Xtrinsic Sensors Doc ID: XTRINSICUM Rev. 0.5, 06/03/2013 The serial port will be configured after the driver installation - eg. COM6 in the example. 4. Launch the terminal program (eg. Tera Term) with the properties as follows: Baud rate Data bits Stop bits Parity Flow control 115200 8-bit 1-bit None None Embest and element14 are trademarks of Premier Farnell plc (c) 2013 Premier Farnell plc. All Rights Reserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. 16 XTRINSIC-SENSORS-EVK Evaluation kit for Freescale Xtrinsic Sensors Doc ID: XTRINSICUM Rev. 0.5, 06/03/2013 5. Reset the board by pressing the reset button (SW1), and you can see the information displayed below 6. Type 'S0' into the terminal through the PC keyboard, to try out the MPL3115A2 sensor. The terminal will begin to display temperature readings. Touch the sensor with your finger and notice that the temperature readings will start to rise. At the same time, the RGB LED will begin blinking red. Embest and element14 are trademarks of Premier Farnell plc (c) 2013 Premier Farnell plc. All Rights Reserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. 17 XTRINSIC-SENSORS-EVK Evaluation kit for Freescale Xtrinsic Sensors Doc ID: XTRINSICUM Rev. 0.5, 06/03/2013 Figure 5: MPL3115 demo 7. Press the "Enter" key on the keyboard to quit the demo and go back to the menu. Type `S1' to try out the MAG3110 sensor. Shake the board around, and you can see the 3-D magnetic field measurement change. At the same time, the RGB LED will begin blinking green. Embest and element14 are trademarks of Premier Farnell plc (c) 2013 Premier Farnell plc. All Rights Reserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. 18 XTRINSIC-SENSORS-EVK Evaluation kit for Freescale Xtrinsic Sensors Doc ID: XTRINSICUM Rev. 0.5, 06/03/2013 Figure 6 MAG3110 Demo 8. Press the "Enter" key on the keyboard to return the menu, and type `S2' to try out the MMA8491Q sensor Turn the board from side to side and from front to back to see the corresponding x, y, and z coordinates change as the board is tilted. At the same time, the RGB LED will begin blinking blue. Embest and element14 are trademarks of Premier Farnell plc (c) 2013 Premier Farnell plc. All Rights Reserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. 19 XTRINSIC-SENSORS-EVK Evaluation kit for Freescale Xtrinsic Sensors Doc ID: XTRINSICUM Rev. 0.5, 06/03/2013 Figure 7 MMA8491Q Demo Embest and element14 are trademarks of Premier Farnell plc (c) 2013 Premier Farnell plc. All Rights Reserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. 20 XTRINSIC-SENSORS-EVK Evaluation kit for Freescale Xtrinsic Sensors Doc ID: XTRINSICUM Rev. 0.5, 06/03/2013 Hardware This document includes the hardware design files for the XTRINSIC Sensors board. For the FRDM-KL25Z board, please refer to http://www.element14.com/community/docs/DOC-46626 Schematic Figure 8 Sensor Board Schematic - 1 Embest and element14 are trademarks of Premier Farnell plc (c) 2013 Premier Farnell plc. All Rights Reserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. 21 XTRINSIC-SENSORS-EVK Evaluation kit for Freescale Xtrinsic Sensors Doc ID: XTRINSICUM Rev. 0.5, 06/03/2013 Figure 9 Sensor Board Schematic - 2 Embest and element14 are trademarks of Premier Farnell plc (c) 2013 Premier Farnell plc. All Rights Reserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. 22 XTRINSIC-SENSORS-EVK Evaluation kit for Freescale Xtrinsic Sensors Doc ID: XTRINSICUM Rev. 0.5, 06/03/2013 Figure 10 Sensor Board Schematic - 3 Embest and element14 are trademarks of Premier Farnell plc (c) 2013 Premier Farnell plc. All Rights Reserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. 23 XTRINSIC-SENSORS-EVK Evaluation kit for Freescale Xtrinsic Sensors Doc ID: XTRINSICUM Rev. 0.5, 06/03/2013 Figure 11 Sensor Board Schematic - 4 Embest and element14 are trademarks of Premier Farnell plc (c) 2013 Premier Farnell plc. All Rights Reserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. 24 XTRINSIC-SENSORS-EVK Evaluation kit for Freescale Xtrinsic Sensors Doc ID: XTRINSICUM Rev. 0.5, 06/03/2013 PCB Layout Figure 12 Sensor Board PCB TOP View Embest and element14 are trademarks of Premier Farnell plc (c) 2013 Premier Farnell plc. All Rights Reserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. 25 XTRINSIC-SENSORS-EVK Evaluation kit for Freescale Xtrinsic Sensors Doc ID: XTRINSICUM Rev. 0.5, 06/03/2013 Bill of Materials Reference U1 U2 U3 C1 C2~ C11 R1, R2, R3 R4 CN1 CN2 Description Manufacturer Part No. PRESSURE SENSOR, 20-110KPA FREESCALE MPL3115A2 MAGNETOMETER, 3AXIS, I2C, 80HZ FREESCALE MAG3110FCR1 ACCELEROMETER - SENSOR, QFN-16 FREESCALE MMA8491Q MLCC, 0603, 6.3V, 10UF KEMET C0603C106M9PACTU TAIYO YUDEN JMK107BJ106MA-T AVX QM036D106MAT MLCC, 0603, 16V, 0.1UF AVX CM105X7R104K16AT KEMET C0603C104J4RACTU MULTICOMP B0603R104KCT RESISTOR, 0603, 4.7K, 1% MULTICOMP MCHP03W8F4701T5E VISHAY CRCW06034K70FKEA YAGEO RC0603FR-074K7L RESISTOR, 0603, 10K, 1% MULTICOMP MCHP03W8F1002T5E VISHAY CRCW060310K0FKEA YAGEO RC0603FR-0710KL HEADER, 2.54MM, VERTICAL THT, 10WAY MOLEX 90120-0770 SAMTEC HTS-110-G-A HEADER, 2.54MM, VERTICAL THT, 3WAY TE 825433-3 SAMTEC HTS-103-G-A Farnell Newark Priority 2009084 61T7697 Preferred 2080492 83T2982 Preferred 2291592 47W865 Preferred 1288201 1463375 1867960 86K0597 30K5476 20T0206 Preferred Alternate Alternate 1216538 1650834 9406140 01M7218 Preferred 64K2836 Alternate 37K9922 Alternate 1576293 1469807 1117265 01N6891 52K8494 98K7410 Preferred Alternate Alternate 1576297 1469748 1117235 01N6844 52K8063 68R0049 Preferred Alternate Alternate 9733353 1929555 25M5816 Preferred 83T9016 Alternate 3417657 1926586 99K0795 83T8997 Preferred Alternate Table 26 Sensor Board BOM list Embest and element14 are trademarks of Premier Farnell plc (c) 2013 Premier Farnell plc. All Rights Reserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. 26 XTRINSIC-SENSORS-EVK Evaluation kit for Freescale Xtrinsic Sensors Doc ID: XTRINSICUM Rev. 0.5, 06/03/2013 ESD PRECAUTIONS AND PROPER HANDLING PROCEDURES This section includes the precautions for mechanical handling and static precautions to be taken to avoid ESD damage: Avoid carpets in cool, dry areas. Leave development kits in their anti-static packaging until ready to be installed. Dissipate static electricity before handling any system components (development kits) by touching a grounded metal object, such as the system unit unpainted metal chassis. If possible, use antistatic devices, such as wrist straps and floor mats. Always hold a evaluation board by its edges. Avoid touching the contacts and components on the board. Take care when connecting or disconnecting cables. A damaged cable can cause a short in the electrical circuit. Prevent damage to the connectors by aligning connector pins before you connect the cable. Misaligned connector pins can cause damage to system components at power-on. When disconnecting a cable, always pull on the cable connector or strain-relief loop, not on the cable itself. Embest and element14 are trademarks of Premier Farnell plc (c) 2013 Premier Farnell plc. All Rights Reserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. 27