1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xmlns="http://www.w3.org/1999/xhtml"> 3<head> 4<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> 5<meta http-equiv="X-UA-Compatible" content="IE=9"/> 6<meta name="generator" content="Doxygen 1.8.13"/> 7<meta name="viewport" content="width=device-width, initial-scale=1"/> 8<title>ISSDK: drivers/ads/auto_detection_shield.h Source File</title> 9<link href="tabs.css" rel="stylesheet" type="text/css"/> 10<script type="text/javascript" src="jquery.js"></script> 11<script type="text/javascript" src="dynsections.js"></script> 12<link href="issdk_stylesheet.css" rel="stylesheet" type="text/css" /> 13</head> 14<body> 15<div id="top"><!-- do not remove this div, it is closed by doxygen! --> 16<div id="titlearea"> 17<table cellspacing="0" cellpadding="0"> 18 <tbody> 19 <tr style="height: 56px;"> 20 <td id="projectlogo"><img alt="Logo" src="nxp_logo_small.png"/></td> 21 <td id="projectalign" style="padding-left: 0.5em;"> 22 <div id="projectname">ISSDK 23  <span id="projectnumber">1.8</span> 24 </div> 25 <div id="projectbrief">IoT Sensing Software Development Kit</div> 26 </td> 27 </tr> 28 </tbody> 29</table> 30</div> 31<!-- end header part --> 32<!-- Generated by Doxygen 1.8.13 --> 33<script type="text/javascript" src="menudata.js"></script> 34<script type="text/javascript" src="menu.js"></script> 35<script type="text/javascript"> 36$(function() { 37 initMenu('',false,false,'search.php','Search'); 38}); 39</script> 40<div id="main-nav"></div> 41<div id="nav-path" class="navpath"> 42 <ul> 43<li class="navelem"><a class="el" href="dir_14bc92f4b96c8519b376567118ac28b3.html">drivers</a></li><li class="navelem"><a class="el" href="dir_fe489b1a195b5b74eb4155087158bfbc.html">ads</a></li> </ul> 44</div> 45</div><!-- top --> 46<div class="header"> 47 <div class="headertitle"> 48<div class="title">auto_detection_shield.h</div> </div> 49</div><!--header--> 50<div class="contents"> 51<a href="a00545.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * Copyright (c) 2016, Freescale Semiconductor, Inc.</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * Copyright 2016-2017 NXP</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * All rights reserved.</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> *</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * SPDX-License-Identifier: BSD-3-Clause</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> */</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"></span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">/**</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> * @file auto_detection_shield.h</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * @brief The auto_detection_shield.h file describes the definitions for Sensor</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> * I2C and SPI parameters required to detects the Sensor Shield.</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> */</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> </div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#ifndef _ADS_DETECTION_SHIELD_H_</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor">#define _ADS_DETECTION_SHIELD_H_</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> </div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment">// FXOS8700 Sensor Information</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment">/*</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment"> In order to route INT1 signal from FXOS8700 to the K64F,</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="comment"> Pins 1-2 of Jumper J3 on the FRDM-FXS-MULT2-B should be connected.</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="comment"> In order to route INT2 signal from FXOS8700 to the K64F,</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="comment"> Pins 1-2 of Jumper J4 on the FRDM-FXS-MULT2-B should be connected.</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="comment">*/</span></div><div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="a00545.html#a88d604d4e5776dfa8f16848425223cbb"> 25</a></span> <span class="preprocessor">#define FXOS8700_I2C_ADDR 0x1E</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> </div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="comment">// FXAS21002 Sensor Information</span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="comment">/*</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="comment"> In order to route INT1 signal from FXAS21002 to the K64F,</span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="comment"> Pins 1-2 of Jumper J6 on the FRDM-FXS-MULT2-B should be connected.</span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="comment">*/</span></div><div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="a00545.html#a16a56b988ac0de778585d40fdada58f0"> 32</a></span> <span class="preprocessor">#define FXAS21002_I2C_ADDR 0x20</span></div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> </div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="comment">// MAG3110 Sensor Information</span></div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="comment">/*</span></div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="comment"> In order to route INT1 signal from MAG3110 to the K64F,</span></div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="comment"> Pins 2-3 of Jumper J3 on the FRDM-FXS-MULT2-B should be connected.</span></div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="comment">*/</span></div><div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="a00545.html#a4860aad19aa4ea956e2ea937fb175847"> 39</a></span> <span class="preprocessor">#define MAG3110_I2C_ADDR 0x0E</span></div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> </div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="comment">// MPL3115 Sensor Information</span></div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="comment">/*</span></div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="comment"> In order to route INT1 signal from MPL3115 to the K64F,</span></div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="comment"> Pins 2-3 of Jumper J5 on the FRDM-FXS-MULT2-B should be connected.</span></div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="comment">*/</span></div><div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="a00545.html#adec31513f28aceda1b78b1dba2f161fb"> 46</a></span> <span class="preprocessor">#define MPL3115_I2C_ADDR 0x60</span></div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span> </div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="comment">// FXPQ3115 Sensor Information</span></div><div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="a00545.html#a424ab280dcc5a1d632d3a94885a4b7af"> 49</a></span> <span class="preprocessor">#define FXPQ3115_I2C_ADDR 0x60</span></div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span> </div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span> <span class="comment">// MMA8652 Sensor Information</span></div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span> <span class="comment">/*</span></div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span> <span class="comment"> In order to route INT1 signal from MMA8652 to the K64F,</span></div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span> <span class="comment"> Pins 2-3 of Jumper J4 on the FRDM-FXS-MULT2-B should be connected.</span></div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span> <span class="comment">*/</span></div><div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="a00545.html#a8988e99259e07194918336da18dd35e9"> 56</a></span> <span class="preprocessor">#define MMA8652_I2C_ADDR 0x1D</span></div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span> </div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span> <span class="comment">// FXLS8471Q Sensor Information</span></div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span> <span class="comment">/*</span></div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span> <span class="comment"> In order to route INT1 signal from FXLS8471Q to the FRDM-K64F,</span></div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span> <span class="comment"> Pins 2-3 of Jumper J6 on the FRDM-FXS-MULT2-B should be connected.</span></div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span> <span class="comment">*/</span></div><div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="a00545.html#a796dd9723d74e61165234f822e9699fb"> 63</a></span> <span class="preprocessor">#define FXLS8471_SPI_CS D10</span></div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span> </div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span> <span class="comment">// FXLS8962 Sensor Information</span></div><div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="a00545.html#a229f68d0d94ff8e21733702990dda68b"> 66</a></span> <span class="preprocessor">#define FXLS8962_I2C_ADDR 0x18</span></div><div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="a00545.html#abcc89d3851988f5c616dd70623a2fc76"> 67</a></span> <span class="preprocessor">#define FXLS8962_CS D10</span></div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span> </div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span> <span class="comment">// FXLC95000 Sensor Information</span></div><div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="a00545.html#ae74effce2cf3ebedf210277dc530d2df"> 70</a></span> <span class="preprocessor">#define FXLC95000_I2C_ADDR 0x4C</span></div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span> </div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span> <span class="comment">// MMA9553 Sensor Information</span></div><div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="a00545.html#aad15d3a5ef0b4d38efd527d188a8f0b8"> 73</a></span> <span class="preprocessor">#define MMA9553_I2C_ADDR 0x4C</span></div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span> </div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span> <span class="comment">// MMA8491 Sensor Information</span></div><div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="a00545.html#ab4127d4cd101273ad7c1a8dddf33815f"> 76</a></span> <span class="preprocessor">#define MMA8491_I2C_ADDR 0x55</span></div><div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="a00545.html#a4e9a6685f31ff10953edfd9124895983"> 77</a></span> <span class="preprocessor">#define MMA8491_EN A1</span></div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span> </div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span> <span class="comment">// MMA8451 Sensor Information</span></div><div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="a00545.html#a9b472a8667b1060504c54db62923ea33"> 80</a></span> <span class="preprocessor">#define MMA8451_I2C_ADDR 0x1D</span></div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span> </div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span> <span class="comment">// DIFF-P Sensor Information</span></div><div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="a00545.html#a65f7da1c5270916e80ccfadee9da966c"> 83</a></span> <span class="preprocessor">#define DIFF_P_I2C_ADDR 0x60</span></div><div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="a00545.html#a861d7de6a2676b357171a80cd624f07f"> 84</a></span> <span class="preprocessor">#define DIFF_P_SPI_CS D10</span></div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span> </div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span> <span class="preprocessor">#endif </span><span class="comment">/* _ADS_DETECTION_SHIELD_H_ */</span><span class="preprocessor"></span></div></div><!-- fragment --></div><!-- contents --> 52 53<hr class="footer"/><address class="footer"><small> 54© Copyright 2016-2022 NXP. All Rights Reserved. SPDX-License-Identifier: BSD-3-Clause 55</small></address> 56</body> 57</html> 58