<?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>Pin1.09 is initialized high at the beginning of code execution</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/73091/pin1-09-is-initialized-high-at-the-beginning-of-code-execution</link><description>Dear All, I have noticed the following issue: In the beginning of my code execution pin 1.09 is high, before I can even call . From what I found in the datasheet pin p1.09 is used also for trace data, so I am assuming that the pin is configured for that</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 23 Mar 2021 14:34:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/73091/pin1-09-is-initialized-high-at-the-beginning-of-code-execution" /><item><title>RE: Pin1.09 is initialized high at the beginning of code execution</title><link>https://devzone.nordicsemi.com/thread/301479?ContentTypeID=1</link><pubDate>Tue, 23 Mar 2021 14:34:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45ba99b1-1d2f-4269-a32c-2232236c3122</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;See your update now, good to hear&amp;nbsp;you found the problem!&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pin1.09 is initialized high at the beginning of code execution</title><link>https://devzone.nordicsemi.com/thread/301478?ContentTypeID=1</link><pubDate>Tue, 23 Mar 2021 14:34:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4fb42340-58e0-4c94-8ffb-f4fa87433590</guid><dc:creator>Giannis Anastasopoulos</dc:creator><description>&lt;p&gt;The issue was with the bootloader. There was some custom GPIO initialization there, that was setting the pin high&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pin1.09 is initialized high at the beginning of code execution</title><link>https://devzone.nordicsemi.com/thread/301462?ContentTypeID=1</link><pubDate>Tue, 23 Mar 2021 14:01:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9277a2a-693c-403d-89a3-39f59f3847c6</guid><dc:creator>Giannis Anastasopoulos</dc:creator><description>&lt;p&gt;Dear Kenneth,&lt;br /&gt;&lt;br /&gt;Based on what I see on the nRF52833DK, pin 1.09 is high by default. If I do not touch it the pin remains high, after the initialization of the gpio device, so I think that there is something special with this pin forcing it to behave differently.&lt;br /&gt;&lt;br /&gt;I was able to verify this with my logic analyser (CHRG is the pin in question).&lt;br /&gt;&lt;br /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1616508002358v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pin1.09 is initialized high at the beginning of code execution</title><link>https://devzone.nordicsemi.com/thread/301412?ContentTypeID=1</link><pubDate>Tue, 23 Mar 2021 12:05:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2681bcfa-5c72-4c1f-a3b0-cdbe6a57d025</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;The pin should not by default be setup for TRACE no, if you don&amp;#39;t call&amp;nbsp;nrf_drv_gpiote_init() does it stay high? Have you tried to pull it low with for instance a 1Mohm pull down, just to check by what amount it is pulled high? Can it be something nearby or connected to P1.09 pulling it high? All pins should by default be setup with floating/disconnect on power on reset, and if the pin was configured with TRACE, you would not be able to override the behavior by using&amp;nbsp;nrf_drv_gpiote_init(). You can possible check the content of&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52833/clock.html#register.TRACECONFIG"&gt;https://infocenter.nordicsemi.com/topic/ps_nrf52833/clock.html#register.TRACECONFIG&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>