Home
XTRINSIC-SENSORS-EVK Evaluation Kit for Freescale
Contents
1. 11 TABLE 12 MPL3115A2 READ _BAR cccssssccossscoussensssscoussssneusscescuesesccuscencusseeeessceussssnoussencureseuesesencusses 11 TABLE 13 MPLE3115A2 READ 11 TABLE 14 ALT RAW DATA STRUCTURE ict ui indue Eva ED ward rud Ee repas 11 TABLE 15 BAR RAW DATA STRUCTURE ti ststisbeviveiows cud va mua cesset dude ud low E ua aS xU ud Up UE dev Rr UM Slate 12 TABLE 16 TEMPERATURE RAW DATA STRUCTURE c c ssecccsseeccesececsecceeeuececeueceesesecesenseteuseeeegeceseuaesenes 12 TABLE 17 MAG3 110 INTERFACE LIST 5 iussit asia entes Dee pns a used uaa e upbnr t auo Suibva Ran e Pd dones c xot a PYYPVES Ebr pS YE Ec 12 TABLE 13 VIACOM 1 12 TABLE 19 MAG3110 13 TABLE 20 MAG3110 READRAWDATA X ccccsssccccssseccesececeesecceensceceeeceeeeeeces
2. E 9 RH c 9 Oo SP NT EE acto EU URDU 11 Dua smuci C GICUIGIIONS EE 1 E a E 1 dir NONE eec 12 Temperature raw Cab PRETERITO 12 DFG E A 12 bur diui T 12 kaw DIU aro ae T OTI DIETE TII Cm 13 PEU P 13 boo Fo H 14 Kd uL m 14 DEMON TOI eR eerie ede 15 I UI BONUS DUI Se pid 15 ig Hp d Zh 21 tenon teen chien 20 Iu MALETI M 26 ESD PRECAUTIONS AND PROPER HANDLING PROCEDURES 24 LIST OF FIGURES Embest and element14 are trademarks of Premier Farnell plc 2 O 2013 Premier Farnell plc All Rights Reser
3. Reg U S Pat amp Tm Off Exclusively from elementi4 XTRINSIC SENSORS EVK Evaluation kit for Freescale Xtrinsic Sensors Doc ID XTRINSICUM Rev 0 5 06 03 2013 MPL3115fH2 58 IPL3115 63 5625 64 4375 18 3750 715 0625 I od P P d 9 j 9 H Sx Stream Polling MPL3115A2 91 9625 Temp 24 21 6875 Temp 24 21 8758 Temp 24 91 8750 Temp 24 51 3758 Temp 24 ol 3798 Tenp ok 1 MAG3110 2 MMR84910 84 6250 Ten 26 5000 Figure 5 MPL3115 demo 0629 The temperature will rise whensensoristouched 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 O 2013 Premier Farnell plc All Rights Reserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor Inc Reg U S Pat amp Tm Off Exclusively from XTRINSIC SENSORS EVK 5 5 nt Uu Evaluation kit for Freescale Xtrinsic Sensors Doc ID XTRINSICUM Rev 0 5 06 03 2013 H363110 8 ul Y 11 f Jul MHAGS116 Iul Y 1 ul f HAG3110 4 iul Y f 32ul H3631180 H lluI Y oul f oul HAG3110 H Iul Y Bul f Jul HAG3110 oul lul f HAG3110 Sul Y f 32ul HAG3110 H
4. Xtrinsic Sensors element Doc ID XTRINSICUM Rev 0 5 06 03 2013 PCB Layout 290 14mm IO oO e lt E Y o Co E LC i ah uf S uf Z aa U 1 MPL3115 Se z freescale element14 95 ly Figure 12 Sensor Board PCB TOP View Embest and element14 are trademarks of Premier Farnell plc 25 2013 Premier Farnell plc All Rights Reserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor Inc Reg U S Pat amp Tm Off Exclusively from XTRINSIC SENSORS EVK 5 5 nt Uu Evaluation kit for Freescale Xtrinsic Sensors Doc ID XTRINSICUM Rev 0 5 06 03 2013 Bill of Materials Reference Description Manufacturer Part No Farnell Newark Priority P FREESCALE MPL31iA2 2009084 6117697 Preferred FREESCALE MAGSIIOFCRI 2080492 8312982 Preferred SC REESCALE MMABA910 2291592 47W865 Preferred KtMET C003CIOSMSPACTU 1288201 86K0597 Preferred JMKi07BH06MA T 1463375 30K5476 Alternate Fave QMO36Di06MAT 1867960 2070206 Alternate AV CMH0SKRIAKIGAT 1216538 017218 Preferred ket CO603CIOAMRACTU 1650834 64K2836 Alternate MULTCOMP BOeSRIOAKCI 9406140 37K9922 alternate gt gt MUICOMP MCHPOSWBFI7OITSE 1576293 O1NG891 Preferred isa crcwosoaak7orkea 1469807 52K8494 alternate YAGE0 RCO60SFRO7AK
5. amp Tm Off Exclusively from XTRINSIC SENSORS EVK 5 5 nt Uu 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 Plugin a USB cable from a USB host to the OpenSDA mini B USB connector of the FRDM KL25Z The FRDM KL25Z 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 KL252Z Note For more details on setup of the FRDM KL25Z please refer to http www element14 com community docs DOC 49219 FSL_WEB LASTSTAT Chrome HTML Docu 1 KB 1 SDA SERCICS9 f Chrome HIML Docu uc EROR T KB SERCICEY sensors freedom A te se SREC art 3 KB 45 KB TODLS zt Chrome HIML Docu 1 KB 3 The MSD Flash Programmer also includes a USB virtual serial port which requires an INF file for proper installation in Windows The necessary file is available as part of the P amp E OpenSDA USB Drivers and on the FRDM KL25Z removable drive FEMicro Freezcale CIC Serial Port dm r ee ILL m um m Embest and element14 are trademarks of Premier Farnell plc 15 O
6. e nt Uu Evaluation kit for Freescale Xtrinsic Sensors Doc ID XTRINSICUM Rev 0 5 06 03 2013 Table 7 MPL3115A2 Init Bar Name MPL3115A2 Init Bar Prototype Uint8 t MPL3115A2 Init Bar void Return Value O 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 Oversample Ratio Minimum Time Between Data Samples 1 2 5 ms 2 5 ms 10 ms 20 ms 16 40 ms 32 80 ms 160 ms 28 1 320 ms Table 9 MPL3115A2 SetOSR Name MPL3115A2 SetOSR void MPL3115A2 SetOSR uint8 t osr OSR Ratio Void Change the OSR Ratio Table 10 MPL3115A2 SetStepTime Name MPL3115A2 SetStepTime Prototype void MPL3115A2 SetStepTime uint8 t step Sample Step 2 step Return Value Void Change sample step Embest and element14 are trademarks of Premier Farnell plc 10 O 2013 Premier Farnell plc All Rights Reserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor Inc Reg U S Pat amp Tm Off Exclusively from XTRINSIC SENSORS EVK 5 5 nt Uu 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
7. 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 e Xtrinsic Sensors Board e FRDM KL25Z board e 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 m XTRINSIC SENSORS Board 4 te element14 d WELL 2 p v MPL3145 La bz ETT FTF z U2 cire 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 4 2013 Premier Farnell plc All Rights Reserved Freescale and the Freescale logo are trademarks of Freescale
8. from MAG3110 Table 22 MAG3110 ReadRawData z MAG3110 ReadRawData 7 Prototype uint32 t MAG3110 ReadRawData z void Param Void Return Value 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 al s i ejs Pi fe Invalid X_MSB 158 Scale factor Data in uT unit Data Count x 0 1 Embest and element14 are trademarks of Premier Farnell plc 13 O 2013 Premier Farnell plc All Rights Reserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor Inc Reg U S Pat amp Tm Off Exclusively from XTRINSIC SENSORS EVK 5 5 nt Uu 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 51111111 i sisri e Y_MSB 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 ali s i sis erie 7 MSB 158 Embest and element14 are trademarks of Premier Farnell plc 14 2013 Premier Farnell plc All Rights Reserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor Inc Reg U S Pat
9. lul Y lul 1 HAGS116 Bul Y Jul HAG3110 H lul Y 2ul 2iul H363110 lul Y lul f H363110 Bul Y 28ul HAG3110 Jul Y Jul H3631180 amp dul v lul f HAG3110 8 Bul Y oul f Jul HAG3110 amp Bul Y Bul 29ul HAG3110 amp dul Y 29ul H363110 8 Aul Y 1 f Jul HAG3110 H v 1 28ul HAG3110 amp lul Y 12 f Jul HAG3110 H 2ul Y 1 2 MHAGS116 H 2ul Y 1 f Jul HAG3110 amp 2ul Y 1 29ul H3631180 H 2ul Y 1 Jul Figure 6 MAG3110 Demo 8 Press the Enter key on the keyboard to return the menu and type S to try out the MMA8491Q sensor Stream Polling 11152 1 HAGS110 2 HMBS4911 MPL3115H2 52 Turn the board from side to side and from front to back to see the corresponding x 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 19 2013 Premier Farnell plc All Rights Reserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor Inc Reg U S Pat amp Tm Off XTRINSIC SENSORS EVK Evaluation kit for Freescale Xtrinsic Sensors Doc ID XTRINSICUM Rev 0 5 06 03 2013 Exclusively from elementiu MMA84910 K 129mg Y 692mg 615mg MM
10. plc 16 2013 Premier Farnell plc All Rights Reserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor Inc Reg U S Pat amp Tm Off Exclusively from XTRINSIC SENSORS EVK 5 5 nt Uu Evaluation kit for Freescale Xtrinsic Sensors Doc ID XTRINSICUM Rev 0 5 06 03 2013 5 Resetthe board by pressing the reset button SW1 and you can see the information displayed below ABL xd MA sig S0 FAC HRM External Pin Reset K2580pin Low Power Line with Cortex H SRAM Size 16 KB Silicon reu 15 Flash parameter version 0 0 8 6 Flash version ID 6 0 1 0 Flash size 128 KB program flash 4 KB protection region Running the blinky project xx Elementl4 Freescale MPL3315A2 amp MAG3110 Demo Initializing to OSR 128 Time Step 2 00 Mode Altimeter Stream Polling 0 MPL311582 1 MAG3110 2 MMA84910 So 0 00 2c Babtei 115200 amp N 1 SCROLL Cars 35 TED 6 Type SO 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 17 O 2013 Premier Farnell plc All Rights Reserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor Inc
11. 2013 Premier Farnell plc All Rights Reserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor Inc Reg U S Pat amp Tm Off Exclusively from XTRINSIC SENSORS EVK 5 5 nt Uu Evaluation kit for Freescale Xtrinsic Sensors Doc ID XTRINSICUM Rev 0 5 06 03 2013 File Action View Help 5 fS eRe 4 amp Jungo 5 PEMicro OpenSDA Debug Driver A WinDriver Mice and other pointing devices p g gt 4E Modems i Monitors b Network adapters Portable Devices 4 Ports COM amp LPT 9 ECP Printer Port LPT1 OpenSDA CDC Serial Port http www pemicro com opensda COMB J RIM Virtual Serial Port v2 COM3 RIM Virtual Serial Port v2 COMA 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 Parity Noe AA Flow control None Sensor Module HyperTerminal Bl x File Edit View Call Transfer Help Dg e see Com3 Properties 5l Port Settings Bits per second m 5 Data bits 5 Parity Noes Stop bits ho mx Flow control Restore Defaults Cancel Apply Disconnected Auto detect Auto detect SCROLL CAPS NUM Capture Print echo Ai Embest and element14 are trademarks of Premier Farnell
12. 3 Pinouts of I O headers on FRDM KL25Z Embest and element14 are trademarks of Premier Farnell plc 7 O 2013 Premier Farnell plc All Rights Reserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor Inc Reg U S Pat amp Tm Off Exclusively from XTRINSIC SENSORS EVK 5 5 nt Uu 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 Sensor Board FRDM KL25Z CN1 CN2 J9 EN1 O 1 2 pTA13 GND 3 112 GND Zour2 3 4 PTD5 1110 P5V USB You 3 O 6 PTDO vDD 1 L118 P3V3 Xour4 L2 8 PTD2 INT U15 210 PTD3 INT U26 LJ 12 PTDI GND7 Lj 4 GND NC8 O 16 VREFH SDA9 4 LJ18 PTEI scL10 ka 20 PTEO Figure 4 XSTRINSIC SENSORS EVK Embest and element14 are trademarks of Premier Farnell plc 8 O 2013 Premier Farnell plc All Rights Reserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor Inc Reg U S Pat amp Tm Off Exclusively from XTRINSIC SENSORS EVK 5 5 nt Uu 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 Pas
13. 7L 1117265 98K7410 Alternate Ra RESIORORS IKE MUICOMP MCHPOSWBFIQOZISE 1576297 1 Preferred visa crcwosoaz0Korkea 1469748 S2K8063 Alternate vao RC0603FRO710KL 1117235 68R0049 Alternate P MOLEX 901200770 9733353 25MS816 Preferred SAMTEC HIS 10 6 A 1929555 8319016 alternate o fe fasas 3417657 99K0795 Preferred SAMTEC HISH03G A 1926586 8318997 alternate Table 26 Sensor Board BOM list Embest and element14 are trademarks of Premier Farnell plc 26 O 2013 Premier Farnell plc All Rights Reserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor Inc Reg U S Pat amp Tm Off Exclusively from XTRINSIC SENSORS EVK e e Y e nt Uu 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 f possible use antistatic devices such as wrist straps and floor mats Always hold a evaluation board by its edges Avoid
14. A84910 H 220mg Y 989mg f amp 79mg MMA84910 K 36mg 1136mg f 436mg MMA84 910 A 33mg 696mg 993mg MMAG4 910 H Jomg Y 306mg f 1061mg MMA84910 K Y 29 img f 930mg MMA84910 H 101mg Y 661mg f 486mg MMAS4910 H l mg 13920mg f 121mg MMH84910 H 120mg Y 1203mg f 67mg MMA84910 H 99mg Y 491mg 306mg MMA84910 K Y 17mg f 11 71mg 491 K 20mg Y Img f 909mg MMA84 910 131mg Y 89mg 976mg MMAG4 910 184mg Y 29mg f 11 5mg MMA84910 H 8 mg Y 70mg 964mg MMA84910 K Y l mg 1826mg MMAS4910 K f mg Y 33mg f 103 mg MMA64 910 H 64mg Y f 1036mg MMA84910 H 88mg Y 33mg 180 2mg MMA84910 H Y 24mg l1815mg MMAS4910 H llmg Y 49mg 181 mg MMH84910 H 88mg Y omg 986mg MMAG4 910 118mg Y 38mg f 1023mg MMA84910 K 153mg Y 64mg f 38 EEE 14 4 115200 8 N 1 SCROLL fears 13 Figure 7 MMA8491Q Demo Embest and element14 are trademarks of Premier Farnell plc 20 2013 Premier Farnell plc All Rights Reserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor Inc Reg U S Pat amp Tm Off Exclusively from XTRINSIC SENSORS EVK 5 5 5 nt Uu Evaluation kit for Freescale Xtrinsic Sensors Doc ID XTRINSICUM Rev 0 5 06 03 2013 Hardware This document includes the hardware de
15. RINSIC SENSORS EVK 5 5 5 nt Uu Evaluation kit for Freescale Xtrinsic Sensors Doc ID XTRINSICUM Rev 0 5 06 03 2013 s W lt lt x CY N 15 U C v gt i Cj D E ad r t EE Se O 1a 5 23 c 2 Re uU r C ii Li og dg E ES e Figure 10 Sensor Board Schematic 3 Embest and element14 are trademarks of Premier Farnell plc 23 O 2013 Premier Farnell plc All Rights Reserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor Inc Reg U S Pat amp Tm Off Exclusively from XTRINSIC SENSORS EVK 5 5 5 nt Uu Evaluation kit for Freescale Xtrinsic Sensors Doc ID XTRINSICUM Rev 0 5 06 03 2013 5 LI lt CY N SE 15 i v gt C Ole G cZ l M Ax qd M m 9 Eg u C y r C on dg ES in e a Sz C C C 9 gt o 5 5 D co lt A O zi 5 C p 301 OLD any a Z D CAE KO anjo Figure 11 Sensor Board Schematic 4 Embest and element14 are trademarks of Premier Farnell plc 24 O 2013 Premier Farnell plc All Rights Reserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor Inc Reg U S Pat amp Tm Off Exclusively from XTRINSIC SENSORS EVK Evaluation kit for Freescale
16. SB Integer part T MSB Decimal part T LSB 2 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 m Uint8 t MAG3110 Init void Initialize void MAG3110 Delnit void uint32 t MAG3110 ReadRawData x void Read raw data uint32 t MAG3110 ReadRawData y void uint32 t MAG3110 ReadRawData z void Table 18 MAG3110 Init Name MAG3110 Init Uint8 t MAG3110 Init void Return Value O fail 1 success Initialize MAG3110 Embest and element14 are trademarks of Premier Farnell plc O 2013 Premier Farnell plc All Rights Reserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor Inc Reg U S Pat amp Tm Off 12 Exclusively from XTRINSIC SENSORS EVK 5 5 nt Uu Evaluation kit for Freescale Xtrinsic Sensors Doc ID XTRINSICUM Rev 0 5 06 03 2013 Table 19 MAG3110 Delnit MAG3110 Delnit Prototype void MAG3110 Delnit void Voic Return Value Void Deinitialize MAG3110 Table 20 MAG3110 ReadRawData x MAG3110 ReadRawData x Prototype uint32 t MAG3110 ReadRawData_x void Void Return Value Raw data for x axis Read x axis data from MAG3110 Table 21 MAG3110 ReadRawData y MAG3110 ReadRawData y Prototype uint32 t MAG3110 ReadRawData y void Void Return Value Raw data for y axis Read y axis data
17. Semiconductor Inc Reg U S Pat amp Tm Off Exclusively from XTRINSIC SENSORS EVK 5 5 nt Uu 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 8 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 senso
18. USER MANUAL te freescale Enabled XTRINSIC SENSORS EVK Evaluation Kit for Freescale Xtrinsic Sensors Exclusively from element iu Exclusively from XTRINSIC SENSORS EVK e e Y e nt Uu Evaluation kit for Freescale Xtrinsic Sensors Doc ID XTRINSICUM Rev 0 5 06 03 2013 Table of Contents ON ERY IEW cst C eia tia 4 UTI ieetadeaaceamiaciaes 4 CHS mmm 4 029611 O 4 E 5 1 5 PU OI C ONO TOS NM 5 BA Eoo de RR m 5 RR 6 Freescale Freedom 7 ATIRINSIC Sensor board iadieeduraadsiadadbaadvedianiadebosdadausaanlandedeniabeeniseveveaietusondaaddencaan PET ID TOO mE 8 DRIVERS FOR ENSOR BOARD eisson nee a e E E A E 9 9 Bar ull
19. cal or altitude 20 bit in meters The driver provides the following interfaces for implementing these features Table 3 MPL3115A2 Interface list void MPL3115A2 Active void Uint8 t MPL3115A2 Standby void Uint8 t MPL3115A2 Init Alt void Uint8 t MPL3115A2 Init Bar void Modes of Operation void MPL3115A2_SetOSR uint8 t void MPL3115A2 SetStepTime uint8 t redraws uint32 t MPL3115A2 Read Alt void Read raw data 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 MPL3115A2 Active void MPL3115A2 Active void Void Void Put MPL3115A2 into Active Mode Table 5 3115 2 Standby Name MPL3115A2 Standby Uint8 t MPL3115A2 Standby void Voic Return Value The value of CTRL REG1 before modification Put MPL3115A2 into Standby Mode Table 6 MPL3115A2 Init Alt Name MPL3115A2 Init Alt Prototype Uint8 t MPL3115A2 Init Alt void Void Return Value O fail 1 success Description Initialize MPL3115A2 for Alt mode Embest and element14 are trademarks of Premier Farnell plc 9 O 2013 Premier Farnell plc All Rights Reserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor Inc Reg U S Pat amp Tm Off Exclusively from XTRINSIC SENSORS EVK e e Y
20. eescale 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 R3 compatible I O connectors The board also features a programmable OpenSDA debug interface with multiple applications available including e Mass storage device flash programming interface e P amp E Debug interface provides run control debugging and compatibility with IDE tools e CMSIS DAP interface new ARM standard for embedded debug interface 2012 FREESCALE a KL25Z Capacitive 80 LQFP m Touch Slider N 49 lt lee J1 x 199 J10 Header lt joo Header ee O jmoj TE a RGB LED J2 J9 Header Header MMA8451Q Reset KL25Z OpenSDA USB Figure 2 FRDM KL25Z board PTE30 11 12 PTC1 PTE29 9 34 10 PTC2 PTE23 7 LIIS PTB3 22 5 RAJ 6 PTB2 PTE21 3 LL I4 PTE20 111 12 PTBO PTES 15 CE 71116 5 0 VIN PTE4 13 1114 GND PTE3 11 51 112 GND PTE2 9 210 USB PTB11 7 1 18 P3V3 PTB10 5 1 1 RESET PTA20 PTBS 311 114 P3V3 PTB8 115217 2 SDA PTD5 PTD3 10 LL o PTAIG PTD1 12 LL ALTI PTAI7 GND 14 LL 13 3 VREFH 16 LUAM 15 NC 18 MAU i PTD6 PTEO 20 L2LA 19 PTD7 Figure
21. esenesseccusssneusscensusensusrsseusseneceseensnsrsenes 24 FIGURE 12 SENSOR BOARD PCB TOP Gxxi vk ica data Rud ER da Dew eo dor ba oen eu EX e dur R seq e Suo 25 LIST OF TABLES TABLE 1 CN1 DATA INTERFACE CONNECTOR cccccssececssccceeececceeceeeeeceeeeeceeeuaeceseneesseecessuseetsenecesseesetsees 6 IABLE2 CN2 POWER SUPPLY CONNECT OR etna iine tX E Cu uev us EN uv dO S POPE ERS uU PIRE 6 TABLES MPESLTISA2 INTERFACE LIST veut tbe EEEE ED du bUXINER UNA DEM EDPIE SERT E ENNEA 9 TABLE MPESTISBA2 ACTI Brass waco etnies tier ats ean de tees na ate Id q MP D UNE MEM 9 TABLE 5 MPL3115A2 STANDBY TT T T TEA 9 5 11 6 9 TABLE 7 MPL3115A2 INIT DRE 10 TABLE 8 SYSTEM OUTPUT DATA RATE SELECTION ccccsseccccseeccensecesecceeeenececeeeceeseseeeeaecesenseeeseeceseuaeeenes 10 TABLE Edda Taba ne a Us itis ue Ce M E RULES 10 TABLE 10 MPLE3115A2 SEISTEPTIMIE icona dedit dae e en aab ine Ru Eur tkt dee qu pm AE 10 LABLETLMPESI1I5A2 75
22. euceeeaeecesenecsseneeeseeceeensecesaneees 13 TABLE 21 MAG3110 READRAWDATA V csssccsossscssesscossssstoussensusssescouscencusseneusssseusesneusseneuseseussssseussees 13 TABLE 22 MAG3110 READRAWDATA Z ccsssccsossscssesscossscsnousscnscessescouscencussceeusssseusessousseneuereseussesneussees 13 TABLE 23 X AXIS DATA STRUCTURE 5 eos eorr et rro po RET OPPR Rx tue R xor Lin POR eU M Du PAR FEN UP ead Esas EEUU RUE Can MR R Ee 13 TABLE 24 5 5 14 TABLE 25 Z AXIS DATASTRUCTUR EA 14 TABLE 26 SENSOR BOARD BOM UST wsssescsvacceecseacssnenetecantcatianesedhoueetananaatenecscpantandeaunswsucesuanieudederguecedeusntocnebunns 26 Embest and element14 are trademarks of Premier Farnell plc 2013 Premier Farnell plc All Rights Reserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor Inc Reg U S Pat amp Tm Off Exclusively from XTRINSIC SENSORS EVK e e Y e nt Uu 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
23. functions contained in the following tables and be calculated using the formulas in section O Table 11 MPL3115A2 Read Alt Name MPL3115A2 Read Alt Prototype uint32 t MPL3115A2 Read Alt void Return Value The raw data for Altitude Read Altitude data from MPL3115A2 Table 12 MPL3115A2 Read Bar Name uint32 t MPL3115A2 Read Bar void Table 13 MPL3115A2 Read Temp Name MPL3115A2 Read Temp Prototype uint32 t MPL3115A2 Read Temp void Return Value The raw data for temperature Read Temperature data from MPL3115A2 Raw Data Structure and Calculations Alt Raw Data Table 14 Alt raw data structure a i i es e Pei 1 ALT_MSB ALT_CSB ALT_LSB Integer part ALT_MSB x 2 ALT_CSB Decimal part ALT LSB 2 x 0 0625 Embest and element14 are trademarks of Premier Farnell plc 11 O 2013 Premier Farnell plc All Rights Reserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor Inc Reg U S Pat amp Tm Off Exclusively from XTRINSIC SENSORS EVK Evaluation kit for Freescale Xtrinsic Sensors element Doc ID XTRINSICUM Rev 0 5 06 03 2013 Bar raw data Table 15 Bar raw data structure alasi 1615111111 8 7 1 1119 5 BAR_CSB BAR_LSB Integer part BAR MSB x 27 BAR_CSB x 2 BAR LSB 2 Decimal part BAR LSB BIT5 0 5 BAR LSB BITA x 0 25 Temperature raw data Table 16 Temperature raw data structure a i ehs eri e T_MSB T_L
24. r board and the pins of these connectors in terms of definition function and application Board Top View 53 34mm 4 10 Ww XTRINSIC Sensors board Q o2 09 y i TEN 5 an Pt w I i 2 0 c i 4 3 3 2 1 Figure 2 Sensor Board Top View Embest and element14 are trademarks of Premier Farnell plc 5 O 2013 Premier Farnell plc All Rights Reserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor Inc Reg U S Pat amp Tm Off Exclusively from XTRINSIC SENSORS EVK 5 5 nt Uu Evaluation kit for Freescale Xtrinsic Sensors Doc ID XTRINSICUM Rev 0 5 06 03 2013 Pin Definition CN1 Data interface MMAS8491 Enable Pin MMAS8491 Push Pull Z Axis Tilt Detection Output MMA8491 Push Pull Y Axis Tilt Detection Output MMAS8491 Push Pull X Axis Tilt Detection Output MPL3115 Interrupt C e Amine EN e eo NN EE RENE LN Table 1 CN1 Data Interface Connector CN2 Power Supply Connector oom p ommo o Table 2 CN2 Power Supply Connector Embest and element14 are trademarks of Premier Farnell plc 6 O 2013 Premier Farnell plc All Rights Reserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor Inc Reg U S Pat amp Tm Off Exclusively from XTRINSIC SENSORS EVK e e Y e nt Uu Evaluation kit for Freescale Xtrinsic Sensors Doc ID XTRINSICUM Rev 0 5 06 03 2013 Fr
25. sign files for the XTRINSIC Sensors board For the FRDM KL25Z board please refer to http www element14 com community docs DOC 46626 Schematic Sheet 1 4 element 14 Sensor for Kinetis 04 Sensor for kinetis L Document Number Do not assemble R1 R2 if pull ups are assembled on MCU board C1 and C2 should be placed as near as possible to VDD NOTE 2 10uF 10V NOTE 1 0 1uF Figure 8 Sensor Board Schematic 1 Embest and element14 are trademarks of Premier Farnell plc 21 O 2013 Premier Farnell plc All Rights Reserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor Inc Reg U S Pat amp Tm Off Exclusively from XTRINSIC SENSORS EVK 5 5 5 nt Uu Evaluation kit for Freescale Xtrinsic Sensors Doc ID XTRINSICUM Rev 0 5 06 03 2013 5 Ll x CY N N 15 U C v gt i Cj sp Ww Ole E ad yd 0 EE i Se D a 5 M te ha 9 Eg Re uU r C on Li og J 8 ES 8 e x z e a 9 M Xv e 5 A gt LL o 5 o 5 5 LL 5 a e 5 H Figure 9 Sensor Board Schematic 2 Embest and element14 are trademarks of Premier Farnell plc 22 2013 Premier Farnell plc All Rights Reserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor Inc Reg U S Pat amp Tm Off Exclusively from XT
26. 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 27 O 2013 Premier Farnell plc All Rights Reserved Freescale and the Freescale logo are trademarks of Freescale Semiconductor Inc Reg U S Pat amp Tm Off
27. ved Freescale and the Freescale logo are trademarks of Freescale Semiconductor Inc Reg U S Pat amp Tm Off Exclusively from XTRINSIC SENSORS EVK e e m e nt Evaluation kit for Freescale Xtrinsic Sensors Doc ID XTRINSICUM Rev 0 5 06 03 2013 FIGURE T SENSOR BOARD ache Fenton remit a re medo et sn dam tnde ud du er etta mir modus dU PS VIR RE 4 FIGURE 2 SENSOR BOARD TOP 5 FIGURE 3 PINOUTS OF I O HEADERS ON FRDM KL25Z ccccssssseeeseccecceeccecscceseeeeauaueeeneeeseceseeesueaauansesssss 7 FIGURE 4 XSTRINSIC SENSORS EVK eestidmd Sen Pe een eM 8 FIGURE MPLS 115 DEMO T 18 FIGURE 6 MAG3110 DEMO MD 19 FIGURE 7 MMA84910 DEM Os ossa tiras at pev netta diutina uoc aoa entes Eh Rd Corea o Du rn otto eric sa due dS 20 FIGURE S SENSOR BOARD SCHEMATIC atat rad atrbEd Forti ees tus cate nba panne Bn simt du daga 21 FIGURE 9 SENSOR BOARD SCHEMATIC 2 ccccccseccccssecceenecccesececesecceceeeceeueeceseuseeeeeeesegeceeanecetsnssesseeeetenes 22 FIGURE 10 SENSOR BOARD SCHEMATIC 3 ssssssccssscsnousscncnsseccussesencusseceusssneusscensusensussseeusseneceseensnsrsenes 23 FIGURE 11 SENSOR BOARD SCHEMATIC 4 csssssccssecscussencssscccuss
Download Pdf Manuals
Related Search
Related Contents
Sempell Globe Valves, Forged High Pressure Tecumseh AKA9446EXDXC Performance Data Sheet Dell R2 Important Information Guide DOWNLOAD : 4.9MB 45 - Projeto Iguassu ~INSTALLATION AND SERVICE MANUAL Quick Setup Guide EF24-105mm f/4L IS USM Copyright © All rights reserved.
Failed to retrieve file