<?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>52832 PWM delay</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/46349/52832-pwm-delay</link><description>I use timer+ppi+pwm model.my init code like this 
 
 I use some code to close and open PWM ,like this 
 
 question:I use oscilloscopes to check PWM, I find that when I start PWM,I must to wait about 260us before 52832 product PWM. 
 why I need to wait</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 22 May 2019 14:28:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/46349/52832-pwm-delay" /><item><title>RE: 52832 PWM delay</title><link>https://devzone.nordicsemi.com/thread/188625?ContentTypeID=1</link><pubDate>Wed, 22 May 2019 14:28:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef63cf57-0d14-4bad-9be0-1978ddfe8b0a</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve included a screenshot of the measured delay between the pin set and the PWM signal being produced on the pin. The only difference is the change in period from 250 µs to 10 µs. I used your code but configured it a bit to get a more accurate measurement&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#include &amp;lt;stdbool.h&amp;gt;
#include &amp;lt;stdint.h&amp;gt;
#include &amp;quot;nrf.h&amp;quot;
#include &amp;quot;app_error.h&amp;quot;
#include &amp;quot;bsp.h&amp;quot;
#include &amp;quot;nrf_delay.h&amp;quot;
#include &amp;quot;app_pwm.h&amp;quot;

APP_PWM_INSTANCE(PWM0,1);                   // &amp;#194;&amp;#180;&amp;#194;&amp;#180;&amp;#194;&amp;#189;&amp;#194;&amp;#168;&amp;#195;’&amp;#194;&amp;#187;&amp;#194;&amp;#184;&amp;#195;&amp;#182;&amp;#195;Š&amp;#194;&amp;#185;&amp;#195;“&amp;#195;ƒ&amp;#194;&amp;#182;&amp;#194;&amp;#168;&amp;#195;Š&amp;#194;&amp;#177;&amp;#195;†&amp;#195;&amp;#183;1&amp;#194;&amp;#178;&amp;#195;&amp;#186;&amp;#195;‰&amp;#195;&amp;#186;PWM&amp;#194;&amp;#178;&amp;#194;&amp;#168;&amp;#194;&amp;#181;&amp;#195;„&amp;#195;Š&amp;#194;&amp;#181;&amp;#195;€&amp;#195;&amp;#189;

static volatile bool ready_flag;            // &amp;#195;Š&amp;#194;&amp;#185;&amp;#195;“&amp;#195;ƒ&amp;#195;’&amp;#194;&amp;#187;&amp;#194;&amp;#184;&amp;#195;&amp;#182;&amp;#194;&amp;#177;&amp;#195;&amp;#170;&amp;#195;–&amp;#194;&amp;#190;&amp;#195;Ž&amp;#194;&amp;#187;&amp;#194;&amp;#177;&amp;#195;&amp;#173;&amp;#195;Š&amp;#194;&amp;#190;PWM&amp;#195;—&amp;#194;&amp;#180;&amp;#195;Œ&amp;#194;&amp;#172;

void pwm_ready_callback(uint32_t pwm_id)    // PWM&amp;#194;&amp;#187;&amp;#195;˜&amp;#194;&amp;#181;&amp;#195;&amp;#183;&amp;#194;&amp;#185;&amp;#194;&amp;#166;&amp;#195;„&amp;#195;œ
{
    ready_flag = true;
}

void ADC_PWM_START(void)
{
	app_pwm_enable(&amp;amp;PWM0);
	while (app_pwm_channel_duty_set(&amp;amp;PWM0, 0, 50) == NRF_ERROR_BUSY);
	nrf_gpio_pin_set(16);
}

void ADC_PWM_STOP(void)
{
	app_pwm_disable(&amp;amp;PWM0);
	nrf_gpio_pin_clear(16);
}

int main(void)
{
    ret_code_t err_code;
    
    /* 2-&amp;#194;&amp;#184;&amp;#195;&amp;#182;&amp;#195;†&amp;#194;&amp;#181;&amp;#194;&amp;#181;&amp;#195;€&amp;#194;&amp;#181;&amp;#195;„ PWM, 200Hz&amp;#194;&amp;#163;&amp;#194;&amp;#168;5000us=5ms), &amp;#195;&amp;#194;&amp;#168;&amp;#194;&amp;#185;&amp;#195;&amp;#189; &amp;#194;&amp;#191;&amp;#194;&amp;#170;&amp;#194;&amp;#183;&amp;#194;&amp;#162;&amp;#194;&amp;#176;&amp;#195;&amp;#165;LED &amp;#194;&amp;#185;&amp;#195;œ&amp;#194;&amp;#189;&amp;#195;…&amp;#195;Š&amp;#195;&amp;#164;&amp;#194;&amp;#179;&amp;#195;&amp;#182;. */
    app_pwm_config_t pwm1_cfg = APP_PWM_DEFAULT_CONFIG_1CH(10, 26);
    
    /* &amp;#195;‡&amp;#195;&amp;#194;&amp;#187;&amp;#194;&amp;#187;&amp;#195;&amp;#194;&amp;#189;&amp;#194;&amp;#184;&amp;#195;&amp;#182;&amp;#195;†&amp;#194;&amp;#181;&amp;#194;&amp;#181;&amp;#195;€&amp;#194;&amp;#181;&amp;#195;„&amp;#194;&amp;#188;&amp;#194;&amp;#171;&amp;#195;&amp;#195;” */
    pwm1_cfg.pin_polarity[0] = APP_PWM_POLARITY_ACTIVE_HIGH;
    
    /* &amp;#194;&amp;#179;&amp;#195;&amp;#181;&amp;#195;Š&amp;#194;&amp;#188;&amp;#194;&amp;#187;&amp;#194;&amp;#175;&amp;#194;&amp;#186;&amp;#195;&amp;#195;Š&amp;#194;&amp;#185;&amp;#195;„&amp;#195;œPWM. */
    err_code = app_pwm_init(&amp;amp;PWM0,&amp;amp;pwm1_cfg,NULL);
    APP_ERROR_CHECK(err_code);
    nrf_gpio_cfg_output(4);
    app_pwm_enable(&amp;amp;PWM0);//&amp;#195;Š&amp;#194;&amp;#185;&amp;#195;„&amp;#195;œPWM
   		
            
		/* &amp;#195;‰&amp;#195;&amp;#168;&amp;#195;–&amp;#195;ƒ&amp;#195;•&amp;#194;&amp;#188;&amp;#194;&amp;#191;&amp;#195;•&amp;#194;&amp;#177;&amp;#195;ˆ - &amp;#194;&amp;#178;&amp;#194;&amp;#187;&amp;#195;&amp;#194;&amp;#163;&amp;#195;‰&amp;#195;&amp;#168;&amp;#195;–&amp;#195;ƒ&amp;#195;–&amp;#194;&amp;#177;&amp;#194;&amp;#181;&amp;#194;&amp;#189;PWM&amp;#195;—&amp;#194;&amp;#188;&amp;#194;&amp;#177;&amp;#194;&amp;#184;&amp;#194;&amp;#186;&amp;#195;ƒ. */
		while (app_pwm_channel_duty_set(&amp;amp;PWM0, 0, 50) == NRF_ERROR_BUSY);  
		/* &amp;#194;&amp;#181;&amp;#195;ˆ&amp;#194;&amp;#180;&amp;#195;&amp;#189;&amp;#194;&amp;#187;&amp;#195;˜&amp;#194;&amp;#181;&amp;#195;&amp;#183; */
		//nrf_delay_ms(25);
		nrf_gpio_pin_set(4);
	
   /* while(true)
    {
				nrf_delay_ms(1);
				ADC_PWM_STOP();
				nrf_delay_ms(1);
        ADC_PWM_START();							
    }*/
    
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/680x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-620d053f5a6d45d1b79b7bc11a33aace/pastedimage1558535027942v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-620d053f5a6d45d1b79b7bc11a33aace/pastedimage1558535119555v3.png" /&gt;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Jared&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52832 PWM delay</title><link>https://devzone.nordicsemi.com/thread/187108?ContentTypeID=1</link><pubDate>Wed, 15 May 2019 05:17:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b4edf2b9-9c7f-4182-8e70-fba7f3d2969a</guid><dc:creator>NORDIC_SUR</dc:creator><description>&lt;p&gt;&amp;quot;decrease the period to 10 &amp;micro;s from 50 &amp;micro;s&amp;quot; is meant to modify this code &amp;quot;while (app_pwm_channel_duty_set(&amp;amp;PWM0, 0, 50) == NRF_ERROR_BUSY);&amp;quot; is right?&lt;/p&gt;
&lt;p&gt;but I cant found the &amp;quot;delay&amp;quot; is decreased.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52832 PWM delay</title><link>https://devzone.nordicsemi.com/thread/187107?ContentTypeID=1</link><pubDate>Wed, 15 May 2019 05:16:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f8b84c95-ebd1-47f6-9113-6a8051c81b9b</guid><dc:creator>NORDIC_SUR</dc:creator><description>&lt;p&gt;&amp;quot;decrease the period to 10 &amp;micro;s from 50 &amp;micro;s&amp;quot; is meant to modify this code &amp;quot;while (app_pwm_channel_duty_set(&amp;amp;PWM0, 0, 50) == NRF_ERROR_BUSY);&amp;quot; is right?&lt;/p&gt;
&lt;p&gt;but I cant found the &amp;quot;delay&amp;quot; is decreased.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52832 PWM delay</title><link>https://devzone.nordicsemi.com/thread/185845?ContentTypeID=1</link><pubDate>Wed, 08 May 2019 07:54:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:431eb051-ed87-4f69-9686-21cf0453d745</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Sorry, I meant if you decrease the period to 10 &amp;micro;s from 50 &amp;micro;s, you will see that the &amp;quot;delay&amp;quot; between the function call and the produced signal is decreased.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You should also modify your code before testing to easier highlight the difference. Initializing of the pin and the delay should either be removed to an earlier point in the code or removed.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Jared&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52832 PWM delay</title><link>https://devzone.nordicsemi.com/thread/185541?ContentTypeID=1</link><pubDate>Mon, 06 May 2019 14:40:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34850dc7-38d1-432a-b28c-690bed82b89d</guid><dc:creator>NORDIC_SUR</dc:creator><description>&lt;p&gt;sorry,I dont kown what you mean to reduce the period to 10.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52832 PWM delay</title><link>https://devzone.nordicsemi.com/thread/185523?ContentTypeID=1</link><pubDate>Mon, 06 May 2019 13:54:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa2a47ec-95ba-4f08-a244-106720e514bb</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The added delay is a result of the prolonged period. You can see this yourself by reducing the period to 10 for example.It should then take shorter time for the signal to be produced on the GPIO. It&amp;#39;s not a delay per se, but a consequence of a bigger period.&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52832 PWM delay</title><link>https://devzone.nordicsemi.com/thread/184413?ContentTypeID=1</link><pubDate>Tue, 30 Apr 2019 01:51:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6090f5bd-25e2-421f-82c5-7de1b350c183</guid><dc:creator>NORDIC_SUR</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#include &amp;lt;stdbool.h&amp;gt;
#include &amp;lt;stdint.h&amp;gt;
#include &amp;quot;nrf.h&amp;quot;
#include &amp;quot;app_error.h&amp;quot;
#include &amp;quot;bsp.h&amp;quot;
#include &amp;quot;nrf_delay.h&amp;quot;
#include &amp;quot;app_pwm.h&amp;quot;

APP_PWM_INSTANCE(PWM0,1);                   // &amp;#180;&amp;#180;&amp;#189;&amp;#168;&amp;#210;&amp;#187;&amp;#184;&amp;#246;&amp;#202;&amp;#185;&amp;#211;&amp;#195;&amp;#182;&amp;#168;&amp;#202;&amp;#177;&amp;#198;&amp;#247;1&amp;#178;&amp;#250;&amp;#201;&amp;#250;PWM&amp;#178;&amp;#168;&amp;#181;&amp;#196;&amp;#202;&amp;#181;&amp;#192;&amp;#253;

static volatile bool ready_flag;            // &amp;#202;&amp;#185;&amp;#211;&amp;#195;&amp;#210;&amp;#187;&amp;#184;&amp;#246;&amp;#177;&amp;#234;&amp;#214;&amp;#190;&amp;#206;&amp;#187;&amp;#177;&amp;#237;&amp;#202;&amp;#190;PWM&amp;#215;&amp;#180;&amp;#204;&amp;#172;

void pwm_ready_callback(uint32_t pwm_id)    // PWM&amp;#187;&amp;#216;&amp;#181;&amp;#247;&amp;#185;&amp;#166;&amp;#196;&amp;#220;
{
    ready_flag = true;
}

void ADC_PWM_START(void)
{
	app_pwm_enable(&amp;amp;PWM0);
	while (app_pwm_channel_duty_set(&amp;amp;PWM0, 0, 50) == NRF_ERROR_BUSY);
	nrf_gpio_pin_set(16);
}

void ADC_PWM_STOP(void)
{
	app_pwm_disable(&amp;amp;PWM0);
	nrf_gpio_pin_clear(16);
}

int main(void)
{
    ret_code_t err_code;
    
    /* 2-&amp;#184;&amp;#246;&amp;#198;&amp;#181;&amp;#181;&amp;#192;&amp;#181;&amp;#196; PWM, 200Hz&amp;#163;&amp;#168;5000us=5ms), &amp;#205;&amp;#168;&amp;#185;&amp;#253; &amp;#191;&amp;#170;&amp;#183;&amp;#162;&amp;#176;&amp;#229;LED &amp;#185;&amp;#220;&amp;#189;&amp;#197;&amp;#202;&amp;#228;&amp;#179;&amp;#246;. */
    app_pwm_config_t pwm1_cfg = APP_PWM_DEFAULT_CONFIG_1CH(250, 26);
    
    /* &amp;#199;&amp;#208;&amp;#187;&amp;#187;&amp;#193;&amp;#189;&amp;#184;&amp;#246;&amp;#198;&amp;#181;&amp;#181;&amp;#192;&amp;#181;&amp;#196;&amp;#188;&amp;#171;&amp;#208;&amp;#212; */
    pwm1_cfg.pin_polarity[0] = APP_PWM_POLARITY_ACTIVE_HIGH;
    
    /* &amp;#179;&amp;#245;&amp;#202;&amp;#188;&amp;#187;&amp;#175;&amp;#186;&amp;#205;&amp;#202;&amp;#185;&amp;#196;&amp;#220;PWM. */
    err_code = app_pwm_init(&amp;amp;PWM0,&amp;amp;pwm1_cfg,NULL);
    APP_ERROR_CHECK(err_code);
    app_pwm_enable(&amp;amp;PWM0);//&amp;#202;&amp;#185;&amp;#196;&amp;#220;PWM
   		
            
		/* &amp;#201;&amp;#232;&amp;#214;&amp;#195;&amp;#213;&amp;#188;&amp;#191;&amp;#213;&amp;#177;&amp;#200; - &amp;#178;&amp;#187;&amp;#205;&amp;#163;&amp;#201;&amp;#232;&amp;#214;&amp;#195;&amp;#214;&amp;#177;&amp;#181;&amp;#189;PWM&amp;#215;&amp;#188;&amp;#177;&amp;#184;&amp;#186;&amp;#195;. */
		while (app_pwm_channel_duty_set(&amp;amp;PWM0, 0, 0) == NRF_ERROR_BUSY);  
		/* &amp;#181;&amp;#200;&amp;#180;&amp;#253;&amp;#187;&amp;#216;&amp;#181;&amp;#247; */
		nrf_delay_ms(25);
		nrf_gpio_cfg_output(16);
		nrf_gpio_pin_set(16);
	
    while(true)
    {
				nrf_delay_ms(1);
				ADC_PWM_STOP();
				nrf_delay_ms(1);
        ADC_PWM_START();								
    }
    
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;my code like this.it&amp;#39;s diferent with your.please test my code on your circuit.thaks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52832 PWM delay</title><link>https://devzone.nordicsemi.com/thread/184337?ContentTypeID=1</link><pubDate>Mon, 29 Apr 2019 13:15:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7729f2b6-b7b9-4b99-832e-a323c9d0cc21</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#include &amp;lt;stdbool.h&amp;gt;
#include &amp;lt;stdint.h&amp;gt;
#include &amp;quot;nrf.h&amp;quot;
#include &amp;quot;app_error.h&amp;quot;
#include &amp;quot;bsp.h&amp;quot;
#include &amp;quot;nrf_delay.h&amp;quot;
#include &amp;quot;app_pwm.h&amp;quot;

APP_PWM_INSTANCE(PWM1,1);                   // Create the instance &amp;quot;PWM1&amp;quot; using TIMER1.

static volatile bool ready_flag;            // A flag indicating PWM status.

void pwm_ready_callback(uint32_t pwm_id)    // PWM callback function
{

}

int main(void)
{
ret_code_t  err_code;
uint16_t value = 0XFF;

app_pwm_config_t pwm1_cfg = APP_PWM_DEFAULT_CONFIG_1CH(10,3);
pwm1_cfg.pin_polarity[0] = APP_PWM_POLARITY_ACTIVE_HIGH;
nrf_gpio_cfg_output(4);
nrf_gpio_pin_clear(4);



err_code = app_pwm_init(&amp;amp;PWM1,&amp;amp;pwm1_cfg, pwm_ready_callback);
APP_ERROR_CHECK(err_code);
app_pwm_enable(&amp;amp;PWM1);
while (app_pwm_channel_duty_set(&amp;amp;PWM1, 0, value) == NRF_ERROR_BUSY);
nrf_gpio_pin_set(4);


while(true)
{
}

}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52832 PWM delay</title><link>https://devzone.nordicsemi.com/thread/184218?ContentTypeID=1</link><pubDate>Mon, 29 Apr 2019 07:41:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d6aa4365-8daa-439c-9c00-2b06901a284e</guid><dc:creator>NORDIC_SUR</dc:creator><description>&lt;p&gt;if I set pwm like this &amp;quot;while (app_pwm_channel_duty_set(&amp;amp;PWM0, 0, 100) == NRF_ERROR_BUSY)&amp;quot;,the delay time only 2.2us.why have all this strange phenomena&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52832 PWM delay</title><link>https://devzone.nordicsemi.com/thread/184215?ContentTypeID=1</link><pubDate>Mon, 29 Apr 2019 07:18:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:230a7e4c-e122-4778-a930-63fab881f5fd</guid><dc:creator>NORDIC_SUR</dc:creator><description>&lt;p&gt;I use the SDK_15.0.0/PWM_library project to do the same thing,it also have the same bug.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52832 PWM delay</title><link>https://devzone.nordicsemi.com/thread/184200?ContentTypeID=1</link><pubDate>Mon, 29 Apr 2019 03:54:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b754eaa7-c4b7-4693-802d-f11dc41a777a</guid><dc:creator>NORDIC_SUR</dc:creator><description>&lt;p&gt;I try some test today.&lt;/p&gt;
&lt;p&gt;1. if I set the pwm frequence like this APP_PWM_DEFAULT_CONFIG_1CH(250L, PWM_PIN);the delay time is about 250us&lt;/p&gt;
&lt;p&gt;2. APP_PWM_DEFAULT_CONFIG_1CH(2500L, PWM_PIN),the delay time is about 2500us;&lt;/p&gt;
&lt;p&gt;3. APP_PWM_DEFAULT_CONFIG_1CH(4000L, PWM_PIN),the delay time is about 4000us;&lt;/p&gt;
&lt;p&gt;so it look like I don&amp;#39;t diable some register,which cause a pwm delay.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52832 PWM delay</title><link>https://devzone.nordicsemi.com/thread/184198?ContentTypeID=1</link><pubDate>Mon, 29 Apr 2019 03:13:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:262837e6-64e1-4999-9e33-7f22321a7be0</guid><dc:creator>NORDIC_SUR</dc:creator><description>&lt;p&gt;I find that only use PWM ,not use ble stack.it also need to wait 200us before 52832 product pwm.can you send your code for me?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52832 PWM delay</title><link>https://devzone.nordicsemi.com/thread/184187?ContentTypeID=1</link><pubDate>Sun, 28 Apr 2019 12:16:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8004c88c-aba4-43a9-9e5c-82ce48e3db5d</guid><dc:creator>NORDIC_SUR</dc:creator><description>&lt;p&gt;I find that I need to wait about 100us before&amp;nbsp; 52832 stop pwm&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52832 PWM delay</title><link>https://devzone.nordicsemi.com/thread/184184?ContentTypeID=1</link><pubDate>Sun, 28 Apr 2019 11:16:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af3f8060-f88f-4ad1-ac9c-efbbc30ad683</guid><dc:creator>NORDIC_SUR</dc:creator><description>&lt;p&gt;I use the PWM on the ble protocol stack.can you help me to try it on the ble protocol stack?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52832 PWM delay</title><link>https://devzone.nordicsemi.com/thread/183750?ContentTypeID=1</link><pubDate>Thu, 25 Apr 2019 11:13:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:73b268e5-c068-4404-bea0-bd768c9d4dcf</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I reproduced the measurement and measured 2.63 &amp;micro;s. Are you doing something else in your code besides using the pwm?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Best regards&lt;/p&gt;
&lt;p&gt;Jared&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pwmtiming.PNG" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52832 PWM delay</title><link>https://devzone.nordicsemi.com/thread/183392?ContentTypeID=1</link><pubDate>Wed, 24 Apr 2019 09:53:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8d70c94-361c-4d91-aa3a-7baffed7d560</guid><dc:creator>NORDIC_SUR</dc:creator><description>&lt;p&gt;Hi, Jared.&lt;/p&gt;
&lt;p&gt;thank you for your answer.&lt;/p&gt;
&lt;p&gt;I set pin17 to output high level after &amp;quot;while (app_pwm_channel_duty_set(&amp;amp;PWM0, 0, 50) == NRF_ERROR_BUSY);&amp;quot;&lt;/p&gt;
&lt;p&gt;and then set pin17 output low level after I disable the PWM.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52832 PWM delay</title><link>https://devzone.nordicsemi.com/thread/183363?ContentTypeID=1</link><pubDate>Wed, 24 Apr 2019 08:58:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:26161c90-1ecd-4e1d-b407-898679efeb6b</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Could you explain your measurement setup a bit more in detail?&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Are you measuring from the moment the CPU boots until the PWM signal is produced?&lt;/li&gt;
&lt;li&gt;Or are you measuring from the moment the function PWM_start() is called and until the PWM signal is produced?&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If it&amp;#39;s the latter, how are you signaling that the function PWM_start() is called?&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>