<?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>Pull up P0.08</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/117616/pull-up-p0-08</link><description>Hi, 
 
 I am trying to pull up P0.08 as an enable pin for this switch TPS7A0518 
 I use the following code and verified on development board 
 
 
 However, when I move to customized board, it does not work. I am providing a 1.8V source to VCC_NRF 
 
</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 10 Feb 2025 08:30:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/117616/pull-up-p0-08" /><item><title>RE: Pull up P0.08</title><link>https://devzone.nordicsemi.com/thread/522135?ContentTypeID=1</link><pubDate>Mon, 10 Feb 2025 08:30:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f8772f07-c91d-4fe5-ba1b-f3afd5342e3e</guid><dc:creator>xuezhi_zed</dc:creator><description>&lt;p&gt;Hi , Sorry for the late reply, was having a break for chinese new year&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I think i did not make myself clear , I comment out this&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span class="o"&gt;&amp;amp;&lt;/span&gt;&lt;span&gt;gpiote0&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span&gt;{&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span&gt;status&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s"&gt;&amp;quot;okay&amp;quot;&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;};&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;and did not change the rest&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;and the board now works&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;1. yes,i have been using 2.5.2 for a long time&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pull up P0.08</title><link>https://devzone.nordicsemi.com/thread/518790?ContentTypeID=1</link><pubDate>Fri, 17 Jan 2025 08:49:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:abc0aa24-58d8-45c3-8e97-e4048f969c99</guid><dc:creator>Asbj&amp;#248;rn</dc:creator><description>&lt;div style="border:0;color:rgba(0, 0, 0, 1);direction:ltr;font-size:11pt;font-style:normal;font-weight:400;letter-spacing:normal;line-height:inherit;margin:0;padding:0;text-indent:0;text-transform:none;vertical-align:baseline;white-space:normal;"&gt;Hello,&lt;/div&gt;
&lt;div style="border:0;color:rgba(0, 0, 0, 1);direction:ltr;font-size:11pt;font-style:normal;font-weight:400;letter-spacing:normal;line-height:inherit;margin:0;padding:0;text-indent:0;text-transform:none;vertical-align:baseline;white-space:normal;"&gt;&lt;/div&gt;
&lt;div style="border:0;color:rgba(0, 0, 0, 1);direction:ltr;font-size:11pt;font-style:normal;font-weight:400;letter-spacing:normal;line-height:inherit;margin:0;padding:0;text-indent:0;text-transform:none;vertical-align:baseline;white-space:normal;"&gt;&lt;/div&gt;
&lt;div style="border:0;color:rgba(0, 0, 0, 1);direction:ltr;font-size:11pt;font-style:normal;font-weight:400;letter-spacing:normal;line-height:inherit;margin:0;padding:0;text-indent:0;text-transform:none;vertical-align:baseline;white-space:normal;"&gt;Do you have some old project that you are working with since you are using NCS 2.5.2?&lt;/div&gt;
&lt;div style="border:0;color:rgba(0, 0, 0, 1);direction:ltr;font-size:11pt;font-style:normal;font-weight:400;letter-spacing:normal;line-height:inherit;margin:0;padding:0;text-indent:0;text-transform:none;vertical-align:baseline;white-space:normal;"&gt;Did you make any changes to the project to reflect your custom board?&lt;/div&gt;
&lt;div style="border:0;color:rgba(0, 0, 0, 1);direction:ltr;font-size:11pt;font-style:normal;font-weight:400;letter-spacing:normal;line-height:inherit;margin:0;padding:0;text-indent:0;text-transform:none;vertical-align:baseline;white-space:normal;"&gt;&lt;/div&gt;
&lt;div style="border:0;color:rgba(0, 0, 0, 1);direction:ltr;font-size:11pt;font-style:normal;font-weight:400;letter-spacing:normal;line-height:inherit;margin:0;padding:0;text-indent:0;text-transform:none;vertical-align:baseline;white-space:normal;"&gt;Is the build working now or do you see other issues with the parts you&amp;#39;ve commented out?&lt;/div&gt;
&lt;div style="border:0;color:rgba(0, 0, 0, 1);direction:ltr;font-size:11pt;font-style:normal;font-weight:400;letter-spacing:normal;line-height:inherit;margin:0;padding:0;text-indent:0;text-transform:none;vertical-align:baseline;white-space:normal;"&gt;&lt;/div&gt;
&lt;div style="border:0;color:rgba(0, 0, 0, 1);direction:ltr;font-size:11pt;font-style:normal;font-weight:400;letter-spacing:normal;line-height:inherit;margin:0;padding:0;text-indent:0;text-transform:none;vertical-align:baseline;white-space:normal;"&gt;&lt;/div&gt;
&lt;div style="border:0;color:rgba(0, 0, 0, 1);direction:ltr;font-size:11pt;font-style:normal;font-weight:400;letter-spacing:normal;line-height:inherit;margin:0;padding:0;text-indent:0;text-transform:none;vertical-align:baseline;white-space:normal;"&gt;&lt;/div&gt;
&lt;div style="border:0;color:rgba(0, 0, 0, 1);direction:ltr;font-size:11pt;font-style:normal;font-weight:400;letter-spacing:normal;line-height:inherit;margin:0;padding:0;text-indent:0;text-transform:none;vertical-align:baseline;white-space:normal;"&gt;Best regards&lt;/div&gt;
&lt;div style="border:0;color:rgba(0, 0, 0, 1);direction:ltr;font-size:11pt;font-style:normal;font-weight:400;letter-spacing:normal;line-height:inherit;margin:0;padding:0;text-indent:0;text-transform:none;vertical-align:baseline;white-space:normal;"&gt;Asbjørn&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pull up P0.08</title><link>https://devzone.nordicsemi.com/thread/518677?ContentTypeID=1</link><pubDate>Thu, 16 Jan 2025 15:01:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c007ff74-eb90-49e8-a837-2b34a99a9318</guid><dc:creator>xuezhi_zed</dc:creator><description>&lt;p&gt;i have this error&amp;nbsp;&lt;/p&gt;
&lt;p&gt;devicetree error: D:/WOS/IMU/IMU_16JAN/nrf52840dk_nrf52840.overlay:43 (column 1): parse error: undefined node label &amp;#39;gpiote0&amp;#39;&lt;br /&gt;-- In: D:/WOS/IMU/IMU_16JAN/build/zephyr, command: C:/ncs/toolchains/c57af46cb7/opt/bin/python.exe;C:/ncs/v2.5.2/zephyr/scripts/dts/gen_defines.py;--dts;D:/WOS/IMU/IMU_16JAN/build/zephyr/zephyr.dts.pre;--dtc-flags;&amp;#39;-Wno-unique_unit_address_if_enabled&amp;#39;;--bindings-dirs;C:/ncs/v2.5.2/nrf/dts/bindings;C:/ncs/v2.5.2/zephyr/dts/bindings;--header-out;D:/WOS/IMU/IMU_16JAN/build/zephyr/include/generated/devicetree_generated.h.new;--dts-out;D:/WOS/IMU/IMU_16JAN/build/zephyr/zephyr.dts.new;--edt-pickle-out;D:/WOS/IMU/IMU_16JAN/build/zephyr/edt.pickle;--vendor-prefixes;C:/ncs/v2.5.2/nrf/dts/bindings/vendor-prefixes.txt;--vendor-prefixes;C:/ncs/v2.5.2/zephyr/dts/bindings/vendor-prefixes.txt&lt;br /&gt;CMake Error at C:/ncs/v2.5.2/zephyr/cmake/modules/dts.cmake:279 (message):&lt;br /&gt; gen_defines.py failed with return code: 1&lt;br /&gt;Call Stack (most recent call first):&lt;br /&gt; C:/ncs/v2.5.2/zephyr/cmake/modules/zephyr_default.cmake:129 (include)&lt;br /&gt; C:/ncs/v2.5.2/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)&lt;br /&gt; C:/ncs/v2.5.2/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)&lt;br /&gt; CMakeLists.txt:2 (find_package)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;but i comment out that part and it works!! just FYI and hopefully understand it better&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pull up P0.08</title><link>https://devzone.nordicsemi.com/thread/516546?ContentTypeID=1</link><pubDate>Tue, 31 Dec 2024 02:35:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cfe72c16-69fb-46ed-b358-5988be94ead4</guid><dc:creator>xuezhi_zed</dc:creator><description>&lt;p&gt;will have a look ! thank you!&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pull up P0.08</title><link>https://devzone.nordicsemi.com/thread/516480?ContentTypeID=1</link><pubDate>Mon, 30 Dec 2024 10:07:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0bfabfe2-c93b-4377-916f-d70484d1458e</guid><dc:creator>Asbj&amp;#248;rn</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I&amp;#39;d recommend you to have a look at the documentation here:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/app_dev/config_and_build/hardware/use_gpio_pin_directly.html"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/app_dev/config_and_build/hardware/use_gpio_pin_directly.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;You should aslo be able to check the GPIO names with the correct absolute pin number, you can use the&amp;nbsp;&lt;a href="https://github.com/zephyrproject-rtos/hal_nordic/blob/nrfx-2.11.0/nrfx/hal/nrf_gpio.h#L81"&gt;NRF_GPIO_PIN_MAP&lt;/a&gt; helper macro in nrf_gpio.h.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Asbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pull up P0.08</title><link>https://devzone.nordicsemi.com/thread/516444?ContentTypeID=1</link><pubDate>Mon, 30 Dec 2024 06:35:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:668bd4f7-aac8-4c07-87d3-2a047aaf7687</guid><dc:creator>xuezhi_zed</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Asbj&amp;oslash;rn, thank you for the reply!&amp;nbsp;&lt;br /&gt;Can you show me any sample on how to &amp;quot;do the same configuration writes directly to gpio0.8 to make sure you set the right pin&amp;quot;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I attached my schematic as reference&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1735540224019v1.png" alt=" " /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Also parts of my overlay file,&amp;nbsp; can this issue due to disable some features? but I did the same thing with development board&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I use the same overlay file to test on my customized PCB and development board&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;i2c0 {	status = &amp;quot;disabled&amp;quot;;};
&amp;amp;spi0 {	status = &amp;quot;disabled&amp;quot;;};
&amp;amp;i2c1 {	status = &amp;quot;disabled&amp;quot;;};
&amp;amp;qspi {	status = &amp;quot;disabled&amp;quot;;};
&amp;amp;led1 {	status = &amp;quot;disabled&amp;quot;;};
&amp;amp;led3 {	status = &amp;quot;disabled&amp;quot;;};&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pull up P0.08</title><link>https://devzone.nordicsemi.com/thread/516418?ContentTypeID=1</link><pubDate>Sat, 28 Dec 2024 11:39:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b0cd34d-f91c-464b-aae9-348116955307</guid><dc:creator>Asbj&amp;#248;rn</dc:creator><description>&lt;div style="border:0;color:rgba(0, 0, 0, 1);direction:ltr;font-size:11pt;font-style:normal;font-weight:400;letter-spacing:normal;line-height:inherit;margin:0;padding:0;text-indent:0;text-transform:none;vertical-align:baseline;white-space:normal;"&gt;Hello Zhang,&lt;/div&gt;
&lt;div style="border:0;color:rgba(0, 0, 0, 1);direction:ltr;font-size:11pt;font-style:normal;font-weight:400;letter-spacing:normal;line-height:inherit;margin:0;padding:0;text-indent:0;text-transform:none;vertical-align:baseline;white-space:normal;"&gt;&lt;/div&gt;
&lt;div style="border:0;color:rgba(0, 0, 0, 1);direction:ltr;font-size:11pt;font-style:normal;font-weight:400;letter-spacing:normal;line-height:inherit;margin:0;padding:0;text-indent:0;text-transform:none;vertical-align:baseline;white-space:normal;"&gt;Not sure how you are configuring the settings for your custom board, but I suspect that gpio0_dev isn&amp;#39;t working on the same gpio on your custom board as it is on the development board.&lt;/div&gt;
&lt;div style="border:0;color:rgba(0, 0, 0, 1);direction:ltr;font-size:11pt;font-style:normal;font-weight:400;letter-spacing:normal;line-height:inherit;margin:0;padding:0;text-indent:0;text-transform:none;vertical-align:baseline;white-space:normal;"&gt;&lt;/div&gt;
&lt;div style="border:0;color:rgba(0, 0, 0, 1);direction:ltr;font-size:11pt;font-style:normal;font-weight:400;letter-spacing:normal;line-height:inherit;margin:0;padding:0;text-indent:0;text-transform:none;vertical-align:baseline;white-space:normal;"&gt;So check which gpio is used by the gpio0_dev is using or do the same configuration writes directly to gpio0.8 to make sure you set the right pin.&lt;/div&gt;
&lt;div style="border:0;color:rgba(0, 0, 0, 1);direction:ltr;font-size:11pt;font-style:normal;font-weight:400;letter-spacing:normal;line-height:inherit;margin:0;padding:0;text-indent:0;text-transform:none;vertical-align:baseline;white-space:normal;"&gt;&lt;/div&gt;
&lt;div style="border:0;color:rgba(0, 0, 0, 1);direction:ltr;font-size:11pt;font-style:normal;font-weight:400;letter-spacing:normal;line-height:inherit;margin:0;padding:0;text-indent:0;text-transform:none;vertical-align:baseline;white-space:normal;"&gt;&lt;/div&gt;
&lt;div style="border:0;color:rgba(0, 0, 0, 1);direction:ltr;font-size:11pt;font-style:normal;font-weight:400;letter-spacing:normal;line-height:inherit;margin:0;padding:0;text-indent:0;text-transform:none;vertical-align:baseline;white-space:normal;"&gt;Best regards&lt;/div&gt;
&lt;div style="border:0;color:rgba(0, 0, 0, 1);direction:ltr;font-size:11pt;font-style:normal;font-weight:400;letter-spacing:normal;line-height:inherit;margin:0;padding:0;text-indent:0;text-transform:none;vertical-align:baseline;white-space:normal;"&gt;Asbjørn&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>