<?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>Please tell me how to set the button processing</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/92745/please-tell-me-how-to-set-the-button-processing</link><description>OS in development environment ：Windows10 HARD :(Taiyo Yuden)EBSHSN Series Evaluation Board : Central / Peripherals CPU :(Nordic) nRF52832 / ARMR Cortex-M4F 32 bit processor 28-pin Land Grid Array / 15GPIOs / SWD builder :SEGGER Embedded Studio for ARM</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 18 Oct 2022 23:57:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/92745/please-tell-me-how-to-set-the-button-processing" /><item><title>RE: Please tell me how to set the button processing</title><link>https://devzone.nordicsemi.com/thread/391303?ContentTypeID=1</link><pubDate>Tue, 18 Oct 2022 23:57:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8b3bf091-8272-4122-897f-3d38ccbbe4e9</guid><dc:creator>yokokawa</dc:creator><description>&lt;p&gt;Since the accuracy of the timer interrupt will decrease if two timers are not used, the key processing was created to be processed within the timer interrupt.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Please tell me how to set the button processing</title><link>https://devzone.nordicsemi.com/thread/391103?ContentTypeID=1</link><pubDate>Tue, 18 Oct 2022 07:58:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bda68711-3854-4d43-b7f3-b1a7efd2302c</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;&lt;span&gt;Can you also share the full debug log so we can make sure this is still the bsp_init() function returning error 4 (NO_MEM)?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If you in fact have an unused timer, then I don&amp;#39;t see why this function would return the NO_MEM error.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Simon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Please tell me how to set the button processing</title><link>https://devzone.nordicsemi.com/thread/390878?ContentTypeID=1</link><pubDate>Mon, 17 Oct 2022 00:33:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:adfef9a9-e22e-4e2f-a412-43ebd7e6afe4</guid><dc:creator>yokokawa</dc:creator><description>&lt;p&gt;[Timer Usage]&lt;br /&gt;1) timer0: SoftDevice&lt;br /&gt;2) timer1: 0.5m interrupt&lt;br /&gt;3) timer2: unused&lt;br /&gt;4) timer3: ADC&lt;br /&gt;5) timer4: PWM&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Please tell me how to set the button processing</title><link>https://devzone.nordicsemi.com/thread/390742?ContentTypeID=1</link><pubDate>Fri, 14 Oct 2022 06:15:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24a6ce2f-1666-43f7-9b16-d19ad85da043</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Can you please share some details on what your application does exactly, what timers it use for what, etc.?&lt;/p&gt;
&lt;p&gt;Can you also share the full debug log so we can make sure this is still the bsp_init() function returning error 4 (NO_MEM)?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Please tell me how to set the button processing</title><link>https://devzone.nordicsemi.com/thread/390547?ContentTypeID=1</link><pubDate>Thu, 13 Oct 2022 06:04:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ca4b245-81bf-47a1-9249-0066005b1bcd</guid><dc:creator>yokokawa</dc:creator><description>&lt;p&gt;Since &amp;quot;timer1&amp;quot; and &amp;quot;timer2&amp;quot; were used for timer interrupts, I changed it to work only with &amp;quot;timer1&amp;quot;, but the state did not change.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Please tell me how to set the button processing</title><link>https://devzone.nordicsemi.com/thread/390546?ContentTypeID=1</link><pubDate>Thu, 13 Oct 2022 05:57:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:81c86de9-7e58-4e38-bae1-71320a798220</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Is it still the bsp_init() that returns error 4 here as well? That must mean that some other peripheral is using Timer 2 already in your application. Please make sure only one peripheral use each timer.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Please tell me how to set the button processing</title><link>https://devzone.nordicsemi.com/thread/390342?ContentTypeID=1</link><pubDate>Wed, 12 Oct 2022 01:28:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8dbee190-51fa-4895-8547-0be2a0b722da</guid><dc:creator>yokokawa</dc:creator><description>&lt;p&gt;I set timer 2 to unused state and checked again, but the behavior did not change and error 4 occurred.&lt;/p&gt;
&lt;p&gt;If you are using a specific timer for key processing, please tell us which timer you are using for key processing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Please tell me how to set the button processing</title><link>https://devzone.nordicsemi.com/thread/390175?ContentTypeID=1</link><pubDate>Tue, 11 Oct 2022 07:59:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10681621-8967-48fb-841f-38cb23affb98</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Error 4 points to there not being enough memory. When the&lt;strong&gt; bsp_init()&lt;/strong&gt; function returns this error, it points to the maximum number of timers already being reached, so my guess is that your application is already using all available timers.&amp;nbsp;The nRF52832 has 5 timers available, and the SoftDevice requires one, and multiple other peripherals require timers, so it seems like you&amp;#39;ve just reached the maximum number.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>