Dump title:DMP Fifo Always Empty
Input format:Saleae I2C analysis CSV
Device(s) defined:MPU-6050 6-axis accelerometer/gyroscope @ 0x68
MPU6050 register map:Yes
Description:Working on a straight C DMP interface.
Download original dump content (165.9 kB)








#TimeDeviceModeRegisterLengthData
19.75e-0050x68 (MPU6050)Write0x6B (PWR_MGMT_1)10xC0

Bitfield detail

  • DEVICE_RESET = 1 - Triggered
  • SLEEP = 1 - Enabled
  • CYCLE = 0 - Disabled
  • TEMP_DIS = 0 - Enabled
  • CLK_SEL = 0 - Internal 8MHz oscillator
(DEVICE_RESET=1, SLEEP=1, CYCLE=0, TEMP_DIS=0, CLK_SEL=0)
20.000393250x68 (MPU6050)Write0x6C (PWR_MGMT_2)10x00

Bitfield detail

  • LP_WAKE_CTRL = 0 - 1.25 Hz
  • STBY_ZG = 0 - Disabled
  • STBY_YA = 0 - Disabled
  • STBY_ZA = 0 - Disabled
  • STBY_XG = 0 - Disabled
  • STBY_YG = 0 - Disabled
  • STBY_ZG = 0 - Disabled
(LP_WAKE_CTRL=0, STBY_ZG=0, STBY_YA=0, STBY_ZA=0, STBY_XG=0, STBY_YG=0, STBY_ZG=0)
30.0006890x68 (MPU6050)Write0x6B (PWR_MGMT_1)10x00

Bitfield detail

  • DEVICE_RESET = 0 - Inactive
  • SLEEP = 0 - Disabled
  • CYCLE = 0 - Disabled
  • TEMP_DIS = 0 - Enabled
  • CLK_SEL = 0 - Internal 8MHz oscillator
(DEVICE_RESET=0, SLEEP=0, CYCLE=0, TEMP_DIS=0, CLK_SEL=0)
40.000984750x68 (MPU6050)Write0x6D (BANK_SEL)10x70

Bitfield detail

  • PRFTCH_EN = 1 - Enabled
  • CFG_USER_BANK = 1 - Enabled
  • MEM_SEL = 16
(PRFTCH_EN=1, CFG_USER_BANK=1, MEM_SEL=16)
50.00128050x68 (MPU6050)Write0x6E (MEM_START_ADDR)10x06

Bitfield detail

  • START_ADDR = 6
(START_ADDR=6)
60.00177550x68 (MPU6050)Read0x6F (MEM_R_W)10x4D

Bitfield detail

  • MEM_R_W = 77
(MEM_R_W=77)
70.001980250x68 (MPU6050)Write0x6D (BANK_SEL)10x00

Bitfield detail

  • PRFTCH_EN = 0 - Disabled
  • CFG_USER_BANK = 0 - Disabled
  • MEM_SEL = 0
(PRFTCH_EN=0, CFG_USER_BANK=0, MEM_SEL=0)
80.0024750x68 (MPU6050)Read0x00 (AUX_VDDIO)10x89

Bitfield detail

  • AUX_VDDIO = 1 - VDD
  • XG_OFFS_TC = 4
  • OTP_BNK_VLD = 1
(AUX_VDDIO=1, XG_OFFS_TC=4, OTP_BNK_VLD=1)
90.002879250x68 (MPU6050)Read0x01 (YG_OFFS_TC)10x79

Bitfield detail

  • YG_OFFS_TC = 60
(YG_OFFS_TC=60)
100.003283250x68 (MPU6050)Read0x02 (ZG_OFFS_TC)10x81

Bitfield detail

  • ZG_OFFS_TC = 0
(ZG_OFFS_TC=0)
110.003687250x68 (MPU6050)Read0x6A (USER_CTRL)10x00

Bitfield detail

  • DMP_EN = 0 - Disabled
  • FIFO_EN = 0 - Disabled
  • I2C_MST_EN = 0 - Disabled
  • I2C_IF_DIS = 0 - Enabled
  • DMP_RESET = 0 - Inactive
  • FIFO_RESET = 0 - Inactive
  • I2C_MST_RESET = 0 - Inactive
  • SIG_COND_RESET = 0 - Inactive
(DMP_EN=0, FIFO_EN=0, I2C_MST_EN=0, I2C_IF_DIS=0, DMP_RESET=0, FIFO_RESET=0, I2C_MST_RESET=0, SIG_COND_RESET=0)
120.0038920x68 (MPU6050)Write0x37 (INT_PIN_CFG)10x32Phej Framework Error

Error: Undefined property: stdClass::$Options

#1 - File: /views/tools/tools_analyzer_viewdump.php, line 120

118:                     if ($devices[$devAddr] -> Registers[$regAddr] -> RW == 1 || $field -> RW == 1) $endis = array("Clear", "Set");
119:                     if ($field -> DataType == "set") {
120:                         $fields[] = $field -> ShortName.' = '.$v.' - '.$field -> Options[$v] -> Name;
121:                     } else if ($field -> DataType == "en") {
122:                         $fields[] = $field -> ShortName.' = '.$v.' - '.($v ? $endis[1] : $endis[0]);

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

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

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

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

#4 - 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: 

#5 - File: /controllers/tools_controller.php, line 71

69: 
70:             $this -> phej -> loadPlugin('jquery_balloon');
71:             $this -> layoutView("tools/tools_analyzer_viewdump", 'wide', $meta);
72:         } else {
73:             $meta["page_title"] = "I2C Protocol Analyzer | I2C Device Library";

#6 - 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);

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

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

Stack trace:

#FileLineCall
1 /views/tools/tools_analyzer_viewdump.php 120 phej_exception_error_handler(integer, string, string, integer)
2 /Phej.php 628 include(string)
3 /layouts/wide_layout.php 46 Controller -> loadView(string, array[3])
4 /Phej.php 681 include(string)
5 /controllers/tools_controller.php 71 Controller -> layoutView(string, string, array[3])
6 /Phej.php 273 tools_controller -> analyzer(array[1])
7 /index.php 111 Phej -> run(string)

Activity log:

LevelFileLineTime (ms)Memory (kB)Message
INFO/Phej.php9000Phej framework v2.0 started
INFO/Phej.php34203Loading plugin "pdoquery"
INFO/Phej.php3420412Loading plugin "phej_auth"
INFO/Phej.php3420414Loading plugin "jquery"
INFO/Phej.php3420416Loading plugin "tablesorter"
INFO/Phej.php3420418Loading plugin "superfish"
INFO/Phej.php3421420Loading plugin "ganalytics"
INFO/Phej.php3421421Loading plugin "woopra"
INFO/Phej.php3421422Loading plugin "syntaxhighlighter"
INFO/Phej.php1151835Starting Phej run with URI "/tools/analyzer/16"
INFO/Phej.php1962885Using controller "tools"
INFO/Phej.php2392887Using view method "analyzer"
INFO/Phej.php342352,093Loading plugin "jquery_balloon"