<?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>Timer and BLE not working together for nRF52832</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/36005/timer-and-ble-not-working-together-for-nrf52832</link><description>Hello Everyone, 
 A part of my logic for the module i am developing requires to put the device (nRF52832) in low power mode for xx seconds. Once the timer expires, application wakes up and send the data over BLE and then again goes to low power and so</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 03 Jul 2018 07:07:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/36005/timer-and-ble-not-working-together-for-nrf52832" /><item><title>RE: Timer and BLE not working together for nRF52832</title><link>https://devzone.nordicsemi.com/thread/138672?ContentTypeID=1</link><pubDate>Tue, 03 Jul 2018 07:07:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f548b3dc-516e-45f7-b9f5-12b704408869</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;Yes, RTC0 is used by SD, RTC1 by SDK app_timer. &amp;nbsp;RTC2 is free for you.&lt;/p&gt;
&lt;p&gt;it looks like you are disabling timer before enable. &amp;nbsp;The line is ASSERT(..).&lt;/p&gt;
&lt;p&gt;Use the debugger to check the call stack to find where it happened&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timer and BLE not working together for nRF52832</title><link>https://devzone.nordicsemi.com/thread/138669?ContentTypeID=1</link><pubDate>Tue, 03 Jul 2018 07:04:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd7a911b-e76c-4548-ae3f-b8336bd3c096</guid><dc:creator>SK</dc:creator><description>&lt;p&gt;Okay, problem was with some other part of the code that i forgot to comment out (it was using some other timer). BLE and timer driver are working perfectly.&lt;/p&gt;
&lt;p&gt;Thanks @Nyugen Hoan Hoang for looking into it. Appreciate your thoughts and suggestions :)&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timer and BLE not working together for nRF52832</title><link>https://devzone.nordicsemi.com/thread/138659?ContentTypeID=1</link><pubDate>Tue, 03 Jul 2018 06:36:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8156c72e-aaff-444e-bdc1-8d02c6b1eb93</guid><dc:creator>SK</dc:creator><description>&lt;p&gt;I tried using app_timer as well (RTC1 instance) since i am under the assumption that RTC0 is used by SD and rest are free to use.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;But, it is again throwing me the same error as above. This gets me curious, if BLE itself is using some kind of timer internally? and it is conflicting with the timer that i am using somehow?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timer and BLE not working together for nRF52832</title><link>https://devzone.nordicsemi.com/thread/138638?ContentTypeID=1</link><pubDate>Tue, 03 Jul 2018 03:35:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e5d45d6-aa9d-46aa-bf95-b110afbaecb6</guid><dc:creator>SK</dc:creator><description>&lt;p&gt;Once connected, it throws me this error:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;lt;warning&amp;gt; nrf_sdh_ble: RAM starts at 0x20002A68, can be adjusted to 0x20002760.&lt;br /&gt;&amp;lt;warning&amp;gt; nrf_sdh_ble: RAM size can be adjusted to 0xD8A0.&lt;br /&gt;&amp;lt;error&amp;gt; ble_gatt: sd_ble_gap_data_length_update() (request) on connection 0x0 returned unexpected value 0x13.&lt;br /&gt;&amp;lt;info&amp;gt; app: Connected&lt;br /&gt;&amp;lt;info&amp;gt; app: Data len is set to 0x3D(61)&lt;br /&gt;&lt;strong&gt;&amp;lt;error&amp;gt; app: ERROR 3735928559 [Unknown error code] at zz_path\nordic\nrf52\nRF5_SDK_14.2.0_17b948a\components\drivers_nrf\timer\nrf_drv_timer.c:168 &lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timer and BLE not working together for nRF52832</title><link>https://devzone.nordicsemi.com/thread/138637?ContentTypeID=1</link><pubDate>Tue, 03 Jul 2018 03:30:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24486ff4-3cf9-4556-978b-da20d32fe156</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;What exactly was the error you are getting ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timer and BLE not working together for nRF52832</title><link>https://devzone.nordicsemi.com/thread/138635?ContentTypeID=1</link><pubDate>Tue, 03 Jul 2018 03:27:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eca028a7-01ff-4b65-be71-cb94fe8223aa</guid><dc:creator>SK</dc:creator><description>&lt;p&gt;I am using normal Timer driver (Timer 2 instance) as of now.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timer and BLE not working together for nRF52832</title><link>https://devzone.nordicsemi.com/thread/138634?ContentTypeID=1</link><pubDate>Tue, 03 Jul 2018 03:22:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:661bbbdc-5751-4200-bfce-235914f7986e</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;&lt;span&gt;Which timer are you using. &amp;nbsp;If Low Freq Timer (RTC) then only timer 2 is available (0, &amp;amp; 1 are used by SD and SDK). &amp;nbsp; You can also try to use app_timer instead.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>