MPL3115A2 Xtrinsic Smart Pressure Sensor

Freescale's Xtrinsic MPL3115A2 provides highly precise pressure and altitude data with variable sampling rate capability. It has very low-power consumption, smart features and requires zero data processing for mobile devices, medical and security applications.

The Xtrinsic MPL3115A2 pressure sensor smart features include digital output, two interrupts for auto-wake, minimum/maximum threshold detection and autonomous data acquisition. MCU usage can be limited since the MPL3115A2 pressure sensor can process sensor data locally, reducing communications required with the host processor.

Features

  • Less than 1 foot / 0.3 m resolution
  • Pressure range: 20 - 110 kPa
  • Compensated, direct reading (software is not needed)
  • 20-bit pressure measurement (Pascals)
  • 20-bit altitude measurement (meters)
  • 12-bit temperature measurement
  • On-board intelligence
  • Flexible sampling rate up to 128 Hz

I2Cdevlib Device Source and Documentation

Example Code

There is no available example code for this device at this time.

I2C Data Capture Dumps

There are no available data capture dumps for this device at this time.

Help and FAQ

There are no questions and answers given for this device at this time.

Do you have a question that isn't answered here or elsewhere in the source code, documentation, or examples for this device? Ask away!

Register Map

 R/WBit 7Bit 6Bit 5Bit 4Bit 3Bit 2Bit 1Bit 0
[0x00] STATUS

Sensor Status (STATUS @ 0x00)

Phej Framework Error

Error: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead

#0 - File: /plugins/textile/classTextile.php, line 953

951:     {
952:         return preg_replace('/\b\[([0-9]+)\](\s)?/Ue',
953:             '$this->footnoteID(\'\1\',\'\2\')', $text);
954:     }
955: 

#1 - Function: phej_exception_error_handler

No source code available

#2 - File: /plugins/textile/classTextile.php, line 953

951:     {
952:         return preg_replace('/\b\[([0-9]+)\](\s)?/Ue',
953:             '$this->footnoteID(\'\1\',\'\2\')', $text);
954:     }
955: 

#3 - File: /plugins/textile/classTextile.php, line 657

655: 
656:         $text = $this->span($text);
657:         $text = $this->footnoteRef($text);
658:         $text = $this->glyphs($text);
659:         return rtrim($text, "\n");

#4 - File: /plugins/textile/classTextile.php, line 633

631:           }
632: 
633:         $content = $this->graf($content);
634: 
635:         return array($o1, $o2, $content, $c2, $c1);

#5 - File: /plugins/textile/classTextile.php, line 549

547:                 $anon = 1;
548:                 if ($ext or !preg_match('/^ /', $line)) {
549:                     list($o1, $o2, $content, $c2, $c1) = $this->fBlock(array(0,$tag,$atts,$ext,$cite,$line));
550:                     // skip $o1/$c1 because this is part of a continuing extended block
551:                     if ($tag == 'p' and !$this->hasRawText($content)) {

#6 - File: /plugins/textile/classTextile.php, line 297

295: 
296:             if (!$lite) {
297:                 $text = $this->block($text);
298:             }
299: 

#7 - File: /views/devices/devices_detail.php, line 152

150:             }
151: 
152:             echo '<div class="desc">'.$textile -> TextileThis($register -> Description).'</div>';
153:             echo '</div>';
154:             echo '<span class="tipvis"></span>';

#8 - File: /Phej.php, line 628

626:             }
627:             // load the view
628:             include ROOT_DIR.'/views/'.$view.'.php';
629:         }
630:     }

#9 - File: /layouts/wide_layout.php, line 46

44: 
45:       <div id="pageBody">
46:         <?php $this -> loadView($view, $meta); ?>
47:       </div>
48: 

#10 - File: /Phej.php, line 681

679:             }
680:             // load the layout (view is accessible through $view variable)
681:             include ROOT_DIR.'/layouts/'.$layout.'_layout.php';
682:         }
683: 

#11 - File: /controllers/devices_controller.php, line 55

53:             } else {
54:                 $this -> phej -> loadPlugin('jquery_balloon', 'textile');
55:                 $this -> layoutView("devices/devices_detail", 'wide', $meta);
56:             }
57:         } else {

#12 - File: /Phej.php, line 273

271:             if (!defined('VIEW')) define('VIEW', $view);
272: 
273:             $this -> controller -> $view($args);
274:         } catch (Exception $e) {
275:             phej_display_exception($this, $e);

#13 - File: /Phej.php, line 249

247:                     $this -> log(Phej::LOG_VERBOSE, __FILE__, __LINE__, 'Running with controller error URI "'.$errorURI.'"');
248:                     define('PHEJ_ERROR_REDIRECT', true);
249:                     $this -> run($errorURI);
250:                     return;
251:                 }

#14 - File: /index.php, line 111

109: 
110: session_start();
111: $phej -> run(FRONT_URI);
112: 
113: } catch (Exception $e) {

Stack trace:

#FileLineCall
1 n/a n/a phej_exception_error_handler(integer, string, string, integer, array[1])
2 /plugins/textile/classTextile.php 953 preg_replace(string, string, string)
3 /plugins/textile/classTextile.php 657 Textile -> footnoteRef(string)
4 /plugins/textile/classTextile.php 633 Textile -> graf(string)
5 /plugins/textile/classTextile.php 549 Textile -> fBlock(array[6])
6 /plugins/textile/classTextile.php 297 Textile -> block(string)
7 /views/devices/devices_detail.php 152 Textile -> TextileThis(string)
8 /Phej.php 628 include(string)
9 /layouts/wide_layout.php 46 Controller -> loadView(string, array[3])
10 /Phej.php 681 include(string)
11 /controllers/devices_controller.php 55 Controller -> layoutView(string, string, array[3])
12 /Phej.php 273 devices_controller -> fallback(array[0])
13 /Phej.php 249 Phej -> run(string)
14 /index.php 111 Phej -> run(string)

Activity log:

LevelFileLineTime (ms)Memory (kB)Message
INFO/Phej.php9001Phej framework v2.0 started
INFO/Phej.php34207Loading plugin "pdoquery"
INFO/Phej.php342049Loading plugin "phej_auth"
INFO/Phej.php342055Loading plugin "jquery"
INFO/Phej.php342058Loading plugin "tablesorter"
INFO/Phej.php342061Loading plugin "superfish"
INFO/Phej.php342065Loading plugin "ganalytics"
INFO/Phej.php342067Loading plugin "woopra"
INFO/Phej.php342069Loading plugin "syntaxhighlighter"
INFO/Phej.php1151413Starting Phej run with URI "/devices/mpl3115a2"
INFO/Phej.php1962428Using controller "devices"
INFO/Phej.php2392436Using view method "mpl3115a2"
ERROR/Phej.php2432437Could not locate view "mpl3115a2" as part of "devices" controller
INFO/Phej.php1152439Starting Phej run with URI "devices/fallback"
INFO/Phej.php1962442Using controller "devices"
INFO/Phej.php2392443Using view method "fallback"
INFO/Phej.php34233795Loading plugin "jquery_balloon"
INFO/Phej.php34234799Loading plugin "textile"