<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>nRF52832 and mpu6050</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/30917/nrf52832-and-mpu6050</link><description>I am trying to program mpu_simple https://github.com/Martinsbl/nrf5-mpu-examples with Segger, and I get to connect sensor MPU6050 to my board but I do not receive datas of sensor. 
 I have configured Segger with the device and twi. The code is this: </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 16 Oct 2018 12:30:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/30917/nrf52832-and-mpu6050" /><item><title>RE: nRF52832 and mpu6050</title><link>https://devzone.nordicsemi.com/thread/153054?ContentTypeID=1</link><pubDate>Tue, 16 Oct 2018 12:30:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea7af36c-d06d-4b89-8ec4-6a6b26e65cf1</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi Sunil,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Right-click your project and select&amp;nbsp;&lt;/span&gt;&lt;span class="ph uicontrol"&gt;Edit Options,&amp;nbsp;Select Preprocessor and&amp;nbsp;&lt;span&gt;Add the definition&amp;nbsp;&lt;/span&gt;&lt;span&gt;to the Preprocessor Definitions. (&amp;nbsp;&amp;quot;MPU9255&amp;quot;, &amp;quot;MPU9150&amp;quot;, or &amp;quot;MPU60x0&amp;quot;.)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="ph uicontrol"&gt;&lt;span&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1539692975016v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 and mpu6050</title><link>https://devzone.nordicsemi.com/thread/153048?ContentTypeID=1</link><pubDate>Tue, 16 Oct 2018 12:03:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f5523474-2bdb-4ad6-ae47-bedb69bed1f8</guid><dc:creator>Sunil vignesh</dc:creator><description>&lt;p&gt;HI,&lt;/p&gt;
&lt;p&gt;I am using same github library. instead of keil i want to work in segger. but there is no SES file for the MPU library is there any SES file available..?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;and also i am trying to alternate&amp;nbsp; &amp;quot;&amp;nbsp;ble_app_uart_pca10040_s132 &amp;quot;&amp;nbsp;&amp;nbsp; segger solution to work in this MPU library which is SDK 15.2.&lt;/p&gt;
&lt;p&gt;for that i also got the error&lt;strong&gt;&amp;nbsp; #error &amp;quot;No MPU defined. Please define MPU in Target Options C/C++ Defines&amp;quot; &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;and more error like&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;Rebuilding ‘ble_app_uart_pca10040_s132 - MPU’ from solution ‘ble_app_uart_pca10040_s132 - MPU’ in configuration ‘Release’
  Assembling ‘thumb_crt0.s’
  Compiling ‘nrf_log_backend_rtt.c’
  Compiling ‘nrf_log_backend_serial.c’
  Compiling ‘nrf_log_default_backends.c’
  Compiling ‘nrf_log_frontend.c’
  Compiling ‘nrf_log_str_formatter.c’
  Compiling ‘app_button.c’
  Compiling ‘app_error.c’
  Compiling ‘app_error_handler_gcc.c’
  Compiling ‘app_error_weak.c’
  Compiling ‘app_fifo.c’
  Compiling ‘app_scheduler.c’
  Compiling ‘app_timer.c’
  Compiling ‘app_uart_fifo.c’
  Compiling ‘app_util_platform.c’
  Compiling ‘hardfault_implementation.c’
  Compiling ‘nrf_assert.c’
  Compiling ‘nrf_atfifo.c’
  Compiling ‘nrf_atflags.c’
  Compiling ‘nrf_atomic.c’
  Compiling ‘nrf_balloc.c’
  Compiling ‘nrf_fprintf.c’
  Compiling ‘nrf_fprintf_format.c’
  Compiling ‘nrf_memobj.c’
  Compiling ‘nrf_pwr_mgmt.c’
  Compiling ‘nrf_ringbuf.c’
  Compiling ‘nrf_section_iter.c’
  Compiling ‘nrf_strerror.c’
  Compiling ‘retarget.c’
  Assembling ‘ses_startup_nrf52.s’
  Assembling ‘ses_startup_nrf_common.s’
  Compiling ‘system_nrf52.c’
  Compiling ‘boards.c’
  Compiling ‘nrf_drv_clock.c’
  Compiling ‘nrf_drv_uart.c’
  Compiling ‘nrfx_clock.c’
  Compiling ‘nrfx_gpiote.c’
  Compiling ‘nrfx_power_clock.c’
  Compiling ‘nrfx_prs.c’
  Compiling ‘nrfx_uart.c’
  Compiling ‘nrfx_uarte.c’
  Compiling ‘bsp.c’
  Compiling ‘bsp_btn_ble.c’
  Compiling ‘nrf_drv_mpu_spi.c’
  Compiling ‘nrf_drv_mpu_twi.c’
  Compiling ‘main.c’
    app_mpu.h: No such file or directory
  Compiling ‘app_mpu.c’
    app_mpu.c
    #error &amp;quot;No MPU defined. Please define MPU in Target Options C/C++ Defines&amp;quot;
    app_mpu.c
    #error &amp;quot;No/unknown MPU defined&amp;quot;
    app_mpu.c
    #elif with no expression
    &amp;#39;MPU_REG_SMPLRT_DIV&amp;#39; undeclared (first use in this function)
    each undeclared identifier is reported only once for each function it appears in
    &amp;#39;MPU_REG_INT_PIN_CFG&amp;#39; undeclared (first use in this function)
    &amp;#39;MPU_REG_INT_ENABLE&amp;#39; undeclared (first use in this function)
    &amp;#39;MPU_REG_SIGNAL_PATH_RESET&amp;#39; undeclared (first use in this function)
    &amp;#39;MPU_REG_PWR_MGMT_1&amp;#39; undeclared (first use in this function)
    &amp;#39;MPU_REG_ACCEL_XOUT_H&amp;#39; undeclared (first use in this function)
    &amp;#39;MPU_REG_GYRO_XOUT_H&amp;#39; undeclared (first use in this function)
    &amp;#39;MPU_REG_TEMP_OUT_H&amp;#39; undeclared (first use in this function)
    &amp;#39;MPU_REG_INT_STATUS&amp;#39; undeclared (first use in this function)
  Compiling ‘ble_mpu.c’
    ble_mpu.h
    ble_mpu.c
    #error &amp;quot;No MPU defined. Please define MPU in Target Options C/C++ Defines&amp;quot;
    ble_mpu.h
    ble_mpu.c
    #error &amp;quot;No/unknown MPU defined&amp;quot;
  Compiling ‘SEGGER_RTT.c’
Build failed&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 and mpu6050</title><link>https://devzone.nordicsemi.com/thread/122275?ContentTypeID=1</link><pubDate>Wed, 28 Feb 2018 11:47:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02ac4e07-a1d8-4ab6-a11b-5e73d507992b</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;It will be printed over the UART. Are you using a nRF52832-DK? If yes, then you should be able to see the printed data using a terminal program, such as Termite. You can download Termite from &lt;a href="https://www.compuphase.com/software_termite.htm"&gt;this link&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 and mpu6050</title><link>https://devzone.nordicsemi.com/thread/122270?ContentTypeID=1</link><pubDate>Wed, 28 Feb 2018 11:34:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a8e8406-65c8-482b-a164-4f9babb73764</guid><dc:creator>karthikeyan</dc:creator><description>&lt;p&gt;hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;try that example it will work. i have done this for nrf52840 before 2 months itself. they had released for nrf52832 and nrf52840 now. so no need to make any changes it will work fine&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 and mpu6050</title><link>https://devzone.nordicsemi.com/thread/122269?ContentTypeID=1</link><pubDate>Wed, 28 Feb 2018 11:30:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad683b9d-a4b3-4030-9a81-8ffc25bdf105</guid><dc:creator>cd.barahona</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am with the first example now, but I do not get any datas yet.&amp;nbsp;I do not know where it prints the values.&amp;nbsp;So I am gonna program the next example nrf5-ble-mpu-simple.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 and mpu6050</title><link>https://devzone.nordicsemi.com/thread/122131?ContentTypeID=1</link><pubDate>Tue, 27 Feb 2018 12:43:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17a66a43-9e4e-4052-8369-7f7caed07349</guid><dc:creator>karthikeyan</dc:creator><description>&lt;p&gt;hi,&lt;/p&gt;
&lt;p&gt;in that github file take this example&amp;nbsp;&lt;strong class="final-path"&gt;nrf5-ble-mpu-simple. this one will work&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 and mpu6050</title><link>https://devzone.nordicsemi.com/thread/122128?ContentTypeID=1</link><pubDate>Tue, 27 Feb 2018 12:38:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:264a8547-a21d-43d2-bdc0-0e3cfb5a9d0c</guid><dc:creator>karthikeyan</dc:creator><description>&lt;p&gt;hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; connect the scl and sda pin correctly i think for nrf52832 dk it is the pin no 3 and 4. after interfacing the mpu module to your dk load the program. check the output in uart (termite) or through nrf connect app. it is worked successfully for me in nrf52840.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;check whether did you called&amp;nbsp;&lt;/p&gt;
&lt;p&gt;ble_mpu_on_ble_evt(&amp;amp;m_mpu, p_ble_evt);&lt;/p&gt;
&lt;p&gt;inside the&amp;nbsp;&lt;/p&gt;
&lt;p&gt;static void ble_evt_dispatch(ble_evt_t * p_ble_evt)&lt;/p&gt;
&lt;p&gt;function&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 and mpu6050</title><link>https://devzone.nordicsemi.com/thread/122126?ContentTypeID=1</link><pubDate>Tue, 27 Feb 2018 12:33:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a130901-2945-40db-be3f-21d661c57f36</guid><dc:creator>cd.barahona</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am working with SDK 14.2 and I do not get an error but I do not receive the values of MPU6050&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 and mpu6050</title><link>https://devzone.nordicsemi.com/thread/122124?ContentTypeID=1</link><pubDate>Tue, 27 Feb 2018 12:30:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34d217d9-878c-47a6-b4de-bbdecb32c2f2</guid><dc:creator>karthikeyan</dc:creator><description>&lt;p&gt;hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; in which sdk did you ported this example. what error did you get&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>