<?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>nrf52833 P0.0 will output high level strangely</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/77635/nrf52833-p0-0-will-output-high-level-strangely</link><description>SDK17.0.2+NRF52833 
 I use nrf52833 to do some thing, P1.09 and p0.11 as two pwm singals to drive two motor and P0.0 as a led pin (high made led light). 
 the code as following: 
 
 I want light the LED after pwm init. but the led（connected P0.0）lighted</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 30 Jul 2021 07:15:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/77635/nrf52833-p0-0-will-output-high-level-strangely" /><item><title>RE: nrf52833 P0.0 will output high level strangely</title><link>https://devzone.nordicsemi.com/thread/322591?ContentTypeID=1</link><pubDate>Fri, 30 Jul 2021 07:15:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:538d27f1-fce4-4d78-912c-ef5795be1f71</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Glad you got to the bottom of this issue. Great detective work!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52833 P0.0 will output high level strangely</title><link>https://devzone.nordicsemi.com/thread/322560?ContentTypeID=1</link><pubDate>Fri, 30 Jul 2021 03:41:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db6f6a5d-dba8-49cd-9464-4547868384e7</guid><dc:creator>zk017</dc:creator><description>&lt;p&gt;OK，it&amp;#39;s solved!&amp;nbsp;NRF_DRV_PWM_PIN_NOT_USED was missed out.@&lt;a class="internal-link view-user-profile" href="https://devzone.nordicsemi.com/members/simonr"&gt;Simonr&lt;/a&gt;, thank you very much!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52833 P0.0 will output high level strangely</title><link>https://devzone.nordicsemi.com/thread/322168?ContentTypeID=1</link><pubDate>Wed, 28 Jul 2021 08:38:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:86590569-c1ae-4965-b856-9d12a7cfc562</guid><dc:creator>zk017</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/4786.main.c"&gt;devzone.nordicsemi.com/.../4786.main.c&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52833 P0.0 will output high level strangely</title><link>https://devzone.nordicsemi.com/thread/322059?ContentTypeID=1</link><pubDate>Tue, 27 Jul 2021 13:04:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:75af267b-f9f6-49e9-b3ba-f927a40af266</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Please note that you also have to short SB3 and SB4 to get an output to P0.00 (and P0.01) as well.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For me to test your application, can you upload the entire main.c file (or just the .hex file you have) so I can test the same application you have on a DK on my end.&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: nrf52833 P0.0 will output high level strangely</title><link>https://devzone.nordicsemi.com/thread/321919?ContentTypeID=1</link><pubDate>Tue, 27 Jul 2021 02:16:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:85542c86-30b7-4735-844c-32937dedaf71</guid><dc:creator>zk017</dc:creator><description>&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/63571.png" /&gt;cut off SB1 and SB2 here. You can make a try use keil add my code above, run the program and to test P0.0 level when executed function nrf_drv_pwm_simple_playback(&amp;amp;m_pwm0, &amp;amp;m_pwm_seq, 1, NRF_DRV_PWM_FLAG_LOOP).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52833 P0.0 will output high level strangely</title><link>https://devzone.nordicsemi.com/thread/321692?ContentTypeID=1</link><pubDate>Mon, 26 Jul 2021 06:28:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:167f44a1-d125-4523-839b-424b4f7bfd0f</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;How do you disconnect the 32.768kHz crystal exactly? And are you sure that the corrects packs are installed in your Keil µVision project?&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: nrf52833 P0.0 will output high level strangely</title><link>https://devzone.nordicsemi.com/thread/321480?ContentTypeID=1</link><pubDate>Fri, 23 Jul 2021 07:08:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1965a905-11ea-4ee4-9f44-c934fe9f739c</guid><dc:creator>zk017</dc:creator><description>&lt;p&gt;All of my operations are correct， the strang thing exist, so it confused me. You can use PCA10100 demo board to do a test. (I disconnect the 32k xtal with p0.0.)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52833 P0.0 will output high level strangely</title><link>https://devzone.nordicsemi.com/thread/321467?ContentTypeID=1</link><pubDate>Fri, 23 Jul 2021 06:18:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c39eca2-63a8-410a-91d5-7dec55a2c516</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;It should work as intended with Keil µVision as well, and you should be able to use your preferred IDE for development. Does the project compile and flash successfully with Keil µVision? Are you sure that the application is flashed with the SoftDevice correctly when using Keil? I see no reason why Keil wouldn&amp;#39;t work while SES does.&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: nrf52833 P0.0 will output high level strangely</title><link>https://devzone.nordicsemi.com/thread/321218?ContentTypeID=1</link><pubDate>Thu, 22 Jul 2021 02:30:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b5f82c7-cc02-4b1b-b17b-74bcc57a0dc7</guid><dc:creator>zk017</dc:creator><description>&lt;p&gt;no other reason,&amp;nbsp;I used to use keil in the past.&amp;nbsp;Do you say that the new SDK supports better with ses， we have to use ses to compile the sdk17.02+52833&amp;nbsp; in the future?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52833 P0.0 will output high level strangely</title><link>https://devzone.nordicsemi.com/thread/321130?ContentTypeID=1</link><pubDate>Wed, 21 Jul 2021 12:56:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8497a80c-ac51-49e5-88ad-08dc46ee7d49</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;So your application (and P0.00) works as expected if you compile and flash the project in SES but not in Keil? Is there any particular reason you&amp;#39;re using one over the other?&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: nrf52833 P0.0 will output high level strangely</title><link>https://devzone.nordicsemi.com/thread/321015?ContentTypeID=1</link><pubDate>Wed, 21 Jul 2021 02:15:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d273ab17-60c8-42d3-bd37-d15f30179bf6</guid><dc:creator>zk017</dc:creator><description>&lt;p&gt;&lt;span&gt;my settings of these macros is same as yours. We have found use keil to compile there exist this question(P0.0 output high strangly), but use ses compile is ok. It&amp;#39;s&amp;nbsp;confused us.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52833 P0.0 will output high level strangely</title><link>https://devzone.nordicsemi.com/thread/320877?ContentTypeID=1</link><pubDate>Tue, 20 Jul 2021 11:49:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:310a15d0-8e42-493f-aae2-58b77f1a2441</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi P0.00 (and P0.01) is by default in our examples used by the external 32.768 kHz LF crystal which is present on our DKs, but not on most 3rd party modules and might not be used on your HW. If you&amp;#39;d like to use the P0.00 as a normal GPIO, you need to configure your device to use the internal RC oscillator. This can be done by changing the following defines to these values in your sdk_config.h file.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;// &amp;lt;h&amp;gt; Clock - SoftDevice clock configuration

//==========================================================
// &amp;lt;o&amp;gt; NRF_SDH_CLOCK_LF_SRC  - SoftDevice clock source.
 
// &amp;lt;0=&amp;gt; NRF_CLOCK_LF_SRC_RC 
// &amp;lt;1=&amp;gt; NRF_CLOCK_LF_SRC_XTAL 
// &amp;lt;2=&amp;gt; NRF_CLOCK_LF_SRC_SYNTH 

#ifndef NRF_SDH_CLOCK_LF_SRC
#define NRF_SDH_CLOCK_LF_SRC 0
#endif

// &amp;lt;o&amp;gt; NRF_SDH_CLOCK_LF_RC_CTIV - SoftDevice calibration timer interval. 
#ifndef NRF_SDH_CLOCK_LF_RC_CTIV
#define NRF_SDH_CLOCK_LF_RC_CTIV 16
#endif

// &amp;lt;o&amp;gt; NRF_SDH_CLOCK_LF_RC_TEMP_CTIV - SoftDevice calibration timer interval under constant temperature. 
// &amp;lt;i&amp;gt; How often (in number of calibration intervals) the RC oscillator shall be calibrated
// &amp;lt;i&amp;gt;  if the temperature has not changed.

#ifndef NRF_SDH_CLOCK_LF_RC_TEMP_CTIV
#define NRF_SDH_CLOCK_LF_RC_TEMP_CTIV 2
#endif

// &amp;lt;o&amp;gt; NRF_SDH_CLOCK_LF_ACCURACY  - External clock accuracy used in the LL to compute timing.
 
// &amp;lt;0=&amp;gt; NRF_CLOCK_LF_ACCURACY_250_PPM 
// &amp;lt;1=&amp;gt; NRF_CLOCK_LF_ACCURACY_500_PPM 
// &amp;lt;2=&amp;gt; NRF_CLOCK_LF_ACCURACY_150_PPM 
// &amp;lt;3=&amp;gt; NRF_CLOCK_LF_ACCURACY_100_PPM 
// &amp;lt;4=&amp;gt; NRF_CLOCK_LF_ACCURACY_75_PPM 
// &amp;lt;5=&amp;gt; NRF_CLOCK_LF_ACCURACY_50_PPM 
// &amp;lt;6=&amp;gt; NRF_CLOCK_LF_ACCURACY_30_PPM 
// &amp;lt;7=&amp;gt; NRF_CLOCK_LF_ACCURACY_20_PPM 
// &amp;lt;8=&amp;gt; NRF_CLOCK_LF_ACCURACY_10_PPM 
// &amp;lt;9=&amp;gt; NRF_CLOCK_LF_ACCURACY_5_PPM 
// &amp;lt;10=&amp;gt; NRF_CLOCK_LF_ACCURACY_2_PPM 
// &amp;lt;11=&amp;gt; NRF_CLOCK_LF_ACCURACY_1_PPM 

#ifndef NRF_SDH_CLOCK_LF_ACCURACY
#define NRF_SDH_CLOCK_LF_ACCURACY 1
#endif&lt;/pre&gt;&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>