<?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>BLE accelerometer</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/69280/ble-accelerometer</link><description>Greetings, 
 
 I&amp;#39;m using nRF52 DK to transfer LIS3DH accelerometer data in Bluetooth. I successfully managed to establish an I2C connection with my sensor, I get my XYZ values. Now I want to send the data in Bluetooth, I&amp;#39;m a bit confused about what to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 30 Dec 2020 10:30:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/69280/ble-accelerometer" /><item><title>RE: BLE accelerometer</title><link>https://devzone.nordicsemi.com/thread/286980?ContentTypeID=1</link><pubDate>Wed, 30 Dec 2020 10:30:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e8a067b-e0bd-45a4-8858-80107ddd8116</guid><dc:creator>Karthiknk</dc:creator><description>&lt;p&gt;Im happy to say that the project is complete. Thank you for your support. You may close this ticked.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE accelerometer</title><link>https://devzone.nordicsemi.com/thread/286453?ContentTypeID=1</link><pubDate>Wed, 23 Dec 2020 12:16:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:450f2f7b-86bf-433b-acdd-466e18299970</guid><dc:creator>Karthiknk</dc:creator><description>&lt;p&gt;Hi, I found the problem. The device is advertising, When I connect to the nRF Connect application, I can not see my service, the status says disconnected.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This is the timer event handler I use in the program&lt;/p&gt;
&lt;p&gt;&lt;em&gt;static void timer_timeout_handler(void * p_context)&lt;/em&gt;&lt;br /&gt;&lt;em&gt;{&lt;/em&gt;&lt;br /&gt;&lt;em&gt; // Acquire accelerometer data&lt;/em&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;MPU6050_ReadAcc(AccValue); // accelerometer read&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;&lt;em&gt; acc[0] = AccValue[0];&lt;/em&gt;&lt;br /&gt;&lt;em&gt; acc[1] = AccValue[1];&lt;/em&gt;&lt;br /&gt;&lt;em&gt; acc[2] = AccValue[2];&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;characteristic_accel_update(&amp;amp;m_our_service, acc); &lt;/em&gt;&lt;br /&gt;&lt;em&gt;}&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;If I&amp;nbsp; line comment my accelerometer read function, The app works fine, I can see the service and its characters at the nrf connect(without accel. values). How can I include my accelerometer read function into my program without crashing the app?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE accelerometer</title><link>https://devzone.nordicsemi.com/thread/286178?ContentTypeID=1</link><pubDate>Mon, 21 Dec 2020 22:23:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb58a07d-9b38-4ee3-925a-9facd9418000</guid><dc:creator>Karthiknk</dc:creator><description>&lt;p&gt;Hi Jorgen. While setting up sniffer, programming my nRF52 DK, I accidentally put my DK in bootloader mode. How can I bring it back to normal? I can not see the device in nrf connect.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE accelerometer</title><link>https://devzone.nordicsemi.com/thread/286165?ContentTypeID=1</link><pubDate>Mon, 21 Dec 2020 19:08:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72cf718d-26fa-4627-8e14-05325bdfb1e5</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>[quote user="Karthiknk"]&lt;p&gt;&lt;em&gt;Are you checking error codes from all softdevice APIs you are calling in your application?&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Yes I guess, I didn&amp;#39;t change anything in the app_template example regarding error check.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;I was thinking more about the code that you added from the tutorial, that you have remembered to store the return code from all function calls, and pass this along to APP_ERROR_CHECK() macro.&lt;/p&gt;
[quote user="Karthiknk"]&lt;p&gt;&lt;em&gt;And in nRF connect log. I get error 133 (0x85): GATT ERROR&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;didn&amp;#39;t this log information helps in any way?&lt;/p&gt;[/quote]
&lt;p&gt;Unfortunately, this is a very generic error code. It can be caused by a lot of things. Can you post the full log output from nRF Connect? A sniffer trace will also tell if the peripheral did not respond to packets, etc.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE accelerometer</title><link>https://devzone.nordicsemi.com/thread/286162?ContentTypeID=1</link><pubDate>Mon, 21 Dec 2020 18:51:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c0ce372-9cd3-434b-bb38-28b88e4b5cf1</guid><dc:creator>Karthiknk</dc:creator><description>&lt;p&gt;&lt;em&gt;Are you checking error codes from all softdevice APIs you are calling in your application?&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Yes I guess, I didn&amp;#39;t change anything in the app_template example regarding error check.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;And in nRF connect log. I get error 133 (0x85): GATT ERROR&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;didn&amp;#39;t this log information helps in any way?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE accelerometer</title><link>https://devzone.nordicsemi.com/thread/286160?ContentTypeID=1</link><pubDate>Mon, 21 Dec 2020 18:40:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c0410ae-1017-4f91-9697-c0b73805f9d7</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Are you checking error codes from all softdevice APIs you are calling in your application?&lt;/p&gt;
&lt;p&gt;If you could provide a &lt;a href="https://infocenter.nordicsemi.com/topic/ug_sniffer_ble/UG/sniffer_ble/intro.html"&gt;sniffer trace&lt;/a&gt; of the communication between the two devices, that could also help determining where the issue occurs.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE accelerometer</title><link>https://devzone.nordicsemi.com/thread/286145?ContentTypeID=1</link><pubDate>Mon, 21 Dec 2020 18:31:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df7af4a4-7a1f-4d95-bd38-a7df9d071f7c</guid><dc:creator>Karthiknk</dc:creator><description>&lt;p&gt;This is what I see in the debugger terminal.&lt;/p&gt;
&lt;p&gt;&amp;lt;info&amp;gt; app_timer: RTC: initialized.&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_sdh: State request: 0x00000000&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_sdh: Notify observer 0x0003095C =&amp;gt; ready&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_sdh: State change: 0x00000000&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_sdh: State change: 0x00000001&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_sdh_ble: RAM starts at 0x20002260&lt;br /&gt;&amp;lt;info&amp;gt; app: Template example started.&lt;br /&gt;&amp;lt;info&amp;gt; app: Fast advertising.&lt;/p&gt;
&lt;p&gt;And in nRF connect log. I get error 133 (0x85): GATT ERROR&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE accelerometer</title><link>https://devzone.nordicsemi.com/thread/286144?ContentTypeID=1</link><pubDate>Mon, 21 Dec 2020 18:27:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5209bed7-b4f5-4b21-a6c1-a37819e0996c</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Try dragging the empty client window towards the right side of the screen, that should reveal the log terminal. It may be that something crashes on the peripheral side during connection, leading to a reset or something. Does the log on the peripheral side not give any output regarding what happens?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE accelerometer</title><link>https://devzone.nordicsemi.com/thread/286142?ContentTypeID=1</link><pubDate>Mon, 21 Dec 2020 18:23:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c4cfb9a-a9f3-48ea-89fa-b7c7a1620509</guid><dc:creator>Karthiknk</dc:creator><description>&lt;p&gt;The device is shown in scanner. I give connect. It opens up Nordic_template. I can not see anything in the client.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1608575017693v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE accelerometer</title><link>https://devzone.nordicsemi.com/thread/286138?ContentTypeID=1</link><pubDate>Mon, 21 Dec 2020 18:17:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3bc838c6-f53c-482f-bc7f-02cbb70b3414</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;&amp;quot;Not bonded&amp;quot; and &amp;quot;not connected&amp;quot; are two different things. Do the phone try to connect, but fails? Are you seeing anything in the logs of nRF Connect application, or the peripheral device that indicates what goes wrong?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE accelerometer</title><link>https://devzone.nordicsemi.com/thread/286136?ContentTypeID=1</link><pubDate>Mon, 21 Dec 2020 17:57:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38eefbea-7f12-49aa-82c9-86f390856bb9</guid><dc:creator>Karthiknk</dc:creator><description>&lt;p&gt;I fixed the RAM issue. The device is advertising. But it is not connecting. In nRF Connect app, I see not bonded. How can I fix it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE accelerometer</title><link>https://devzone.nordicsemi.com/thread/285930?ContentTypeID=1</link><pubDate>Sat, 19 Dec 2020 13:48:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:50b599ac-b4a8-4373-b0e0-a2033e75410c</guid><dc:creator>Karthiknk</dc:creator><description>&lt;p&gt;I made the Debug terminal to work. I changed the RAM start address as recommended. Still, I get Fatal error. unsigned int error_code=0x00000004. This is what I get in the Debug Terminal.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;info&amp;gt; app_timer: RTC: initialized.&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_sdh: State request: 0x00000000&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_sdh: Notify observer 0x0003095C =&amp;gt; ready&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_sdh: State change: 0x00000000&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_sdh: State change: 0x00000001&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_sdh_ble: RAM starts at 0x20002250&lt;br /&gt;&amp;lt;error&amp;gt; app: Fatal error&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE accelerometer</title><link>https://devzone.nordicsemi.com/thread/285910?ContentTypeID=1</link><pubDate>Fri, 18 Dec 2020 18:29:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a5c1c865-bfbb-4e5a-8dce-b0ec12e67a4e</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;You need to adjust the size to match the size of the RAM available in the chip you are using. If you increase the RAM start address, you need to decrease the size accordingly.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE accelerometer</title><link>https://devzone.nordicsemi.com/thread/285909?ContentTypeID=1</link><pubDate>Fri, 18 Dec 2020 18:10:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c43ea1d-738f-4809-8882-628a0c3e5c32</guid><dc:creator>Karthiknk</dc:creator><description>&lt;p&gt;Thank you, sure I will go through the material. I followed &lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/getting-started/posts/adjustment-of-ram-and-flash-memory"&gt;this tutorial&lt;/a&gt;&amp;nbsp;about the adjustment of flash and RAM memory. When I change to debugger recommended RAM start, then the&amp;nbsp;&lt;span&gt;RAM_START&amp;nbsp;+&amp;nbsp;&amp;nbsp;RAM_SIZE is larger than RAM_PH_START&amp;nbsp;+ RAM_PH_SIZE.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/1040x102/__key/communityserver-discussions-components-files/4/pastedimage1608314880011v1.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;What should I do now? I&amp;#39;m stuck.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE accelerometer</title><link>https://devzone.nordicsemi.com/thread/285901?ContentTypeID=1</link><pubDate>Fri, 18 Dec 2020 17:04:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1876207-58fd-467b-833e-bb529bbf5af5</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Try increasing&amp;nbsp;&lt;span&gt;NRF_SDH_BLE_VS_UUID_COUNT in your sdk_config.h file. Regarding logging, have you enabled the logger module through NRF_LOG_ENABLED config in your sdk_config.h file?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You also have to call the init macro in main(): NRF_LOG_INIT(NULL);, and you may have to call&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/group__nrf__log__default__backends.html#gac2e95ef0e3a46df6d129589accabc9e8"&gt;NRF_LOG_DEFAULT_BACKENDS_INIT()&lt;/a&gt;. More details can be found in the&amp;nbsp;&lt;a title="Logger module" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/lib_nrf_log.html?cp=7_1_3_27"&gt;Logger module&lt;/a&gt;&amp;nbsp;documentation.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;br /&gt;Jørgen&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE accelerometer</title><link>https://devzone.nordicsemi.com/thread/285727?ContentTypeID=1</link><pubDate>Thu, 17 Dec 2020 22:29:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d6cd810d-8c84-4060-bc7c-6b18f92be305</guid><dc:creator>Karthiknk</dc:creator><description>&lt;p&gt;Hi, Sorry for the late update. I followed&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/bluetooth-low-energy/posts/ble-characteristics-a-beginners-tutorial"&gt;this tutorial&lt;/a&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;and created a program. It compiles without error. But the device is not advertising. In the debug, I found this error, eror_code=0x00000004&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/1040x204/__key/communityserver-discussions-components-files/4/pastedimage1608243429087v2.png" /&gt;&lt;/p&gt;
&lt;p&gt;I saw it as a memory error from&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://www.youtube.com/watch?v=uP8RYgYGRvI&amp;amp;t=136s"&gt;this video&lt;/a&gt;. I enabled the nrf_log_enabled and nrf_log_backed_rtt to see the debug terminal. But I can&amp;#39;t see anything in the terminal. How can I fix this issue? If you want additional information, please let me know.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE accelerometer</title><link>https://devzone.nordicsemi.com/thread/285013?ContentTypeID=1</link><pubDate>Tue, 15 Dec 2020 10:58:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4fc64cb2-d1c1-4572-a5de-5dd0eca39420</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Do you get any error codes when calling&amp;nbsp;&lt;span&gt;ble_nus_data_send? Also, make sure that twim_handler does not run at a interrupt priority higher than 4, as this will prevent you from calling softdevice APIs.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE accelerometer</title><link>https://devzone.nordicsemi.com/thread/284867?ContentTypeID=1</link><pubDate>Mon, 14 Dec 2020 16:43:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e08a6fd-37b6-4404-966b-bda7f7a405c9</guid><dc:creator>Karthiknk</dc:creator><description>&lt;p&gt;Thank you for your information. I fixed the driver issue. As per your advice, I&amp;#39;m trying to use app_ble_uart to send my TWI sensor data. Can I just use the NUS function to send the data or should I program the ble services and events to function properly? Because I called the function&amp;nbsp;&lt;strong&gt;ble_nus_data_send &lt;/strong&gt;into my sensor read and it didn&amp;#39;t work.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;void twim_handler(nrfx_twim_evt_t const * p_event, void * p_context)&lt;br /&gt;{&lt;/p&gt;
&lt;p&gt;static uint8_t data_array[BLE_NUS_MAX_DATA_LEN];&lt;br /&gt; static uint8_t index = 0;&lt;br /&gt; uint32_t err_code;&lt;/p&gt;
&lt;p&gt;switch (p_event-&amp;gt;type)&lt;br /&gt; {&lt;br /&gt; case NRFX_TWIM_EVT_DONE:&lt;br /&gt; UNUSED_VARIABLE(MPU6050_ReadAcc( &amp;amp;data_array[index]));&lt;br /&gt; index++;&lt;/p&gt;
&lt;p&gt;if ((data_array[index - 1] == &amp;#39;\n&amp;#39;) ||&lt;br /&gt; (data_array[index - 1] == &amp;#39;\r&amp;#39;) ||&lt;br /&gt; (index &amp;gt;= m_ble_nus_max_data_len))&lt;br /&gt; {&lt;br /&gt; if (index &amp;gt; 1)&lt;br /&gt; {&lt;br /&gt; NRF_LOG_DEBUG(&amp;quot;Ready to send data over BLE NUS&amp;quot;);&lt;br /&gt; NRF_LOG_HEXDUMP_DEBUG(data_array, index);&lt;/p&gt;
&lt;p&gt;do&lt;br /&gt; {&lt;br /&gt; uint16_t length = (uint16_t)index;&lt;br /&gt; err_code = ble_nus_data_send(&amp;amp;m_nus, data_array, &amp;amp;length, m_conn_handle);&lt;br /&gt; if ((err_code != NRF_ERROR_INVALID_STATE) &amp;amp;&amp;amp;&lt;br /&gt; (err_code != NRF_ERROR_RESOURCES) &amp;amp;&amp;amp;&lt;br /&gt; (err_code != NRF_ERROR_NOT_FOUND))&lt;br /&gt; {&lt;br /&gt; APP_ERROR_CHECK(err_code);&lt;br /&gt; }&lt;br /&gt; } while (err_code == NRF_ERROR_RESOURCES);&lt;br /&gt; }&lt;/p&gt;
&lt;p&gt;index = 0;&lt;br /&gt; }&lt;br /&gt; break;&lt;/p&gt;
&lt;p&gt;m_xfer_done = true;&lt;br /&gt; break;&lt;br /&gt; default:&lt;br /&gt; break;&lt;br /&gt; }&lt;br /&gt;}&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE accelerometer</title><link>https://devzone.nordicsemi.com/thread/284865?ContentTypeID=1</link><pubDate>Mon, 14 Dec 2020 16:33:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb556ca4-4e18-49ce-a5fc-ab328ec55ac8</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;I assume you mean&amp;nbsp;&lt;a title="NRFX_TWIM_XFER_DESC_TX" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/group__nrfx__twim.html?cp=7_1_6_8_0_39_0_15#gaf5c6310cff2a4288810f066a8d56d1a2"&gt;NRFX_TWIM_XFER_DESC_TX&lt;/a&gt;? These are also present in the legacy driver:&amp;nbsp;&lt;a title="Advanced usage" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/hardware_driver_twi.html?cp=7_1_2_0_17_2#hardware_driver_twi_advanced"&gt;Advanced usage&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;There is not much advantage of migrating to the NRFX driver, most of it is just redefinitions of the old API, both APIs use the&amp;nbsp;NRFX&amp;nbsp;driver in the bottom layer anyway.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE accelerometer</title><link>https://devzone.nordicsemi.com/thread/284634?ContentTypeID=1</link><pubDate>Sat, 12 Dec 2020 19:18:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:112f7d17-503b-4cae-a712-d1b4fd37cb85</guid><dc:creator>Karthiknk</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I tried the BLE UART example to send my TWI sensor data. I&amp;#39;m having trouble with sdk_config. In my TWI program, im using the nrf_drv_twi legacy driver. I think it is creating some compatibility problems. So as per the article in &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/63114/undefined-reference-twi-error"&gt;devzone&lt;/a&gt;, I&amp;#39;m migrating from nrf_drv_twi to nrfx_twim driver. I have a doubt in it. What is this NRFX_TWIM_DESC_TX macro? I don&amp;#39;t understand what is this descriptor means. I searched for other functions in nrfx_twim, but the functions are not advised to use. Please help me to understand this, I&amp;#39;m a t lost here. What are the functions or macros I need to migrate to this new nrfx_twim driver? For your information, I&amp;#39;m reading 3axis accelerometer LIS3DH using I2C communication. Please let me know&amp;nbsp;my approach is correct.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE accelerometer</title><link>https://devzone.nordicsemi.com/thread/284123?ContentTypeID=1</link><pubDate>Wed, 09 Dec 2020 14:43:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:76e444b8-88f1-4683-beec-35bb6cba0caf</guid><dc:creator>Karthiknk</dc:creator><description>&lt;p&gt;Thank you for the quick response. I will go through your materials.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE accelerometer</title><link>https://devzone.nordicsemi.com/thread/284081?ContentTypeID=1</link><pubDate>Wed, 09 Dec 2020 13:44:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6546ca8d-77f8-405c-85ee-5bdb63473390</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It is possible to send the values as a string using Nordic UART Service (NUS). There is an example available in the SDK:&amp;nbsp;&lt;a title="UART/Serial Port Emulation over BLE" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/ble_sdk_app_nus_eval.html?cp=7_1_4_2_2_25"&gt;UART/Serial Port Emulation over BLE&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If you want to create your own custom service for sending accelerometer data, please have a look at the BLE tutorials. These should be most useful:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/bluetooth-low-energy/posts/ble-services-a-beginners-tutorial"&gt;Bluetooth low energy Services, a beginner&amp;#39;s tutorial&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/bluetooth-low-energy/posts/ble-characteristics-a-beginners-tutorial"&gt;Bluetooth low energy Characteristics, a beginner&amp;#39;s tutorial&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>