<?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>Mapping PX.Y to Number</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/72192/mapping-px-y-to-number</link><description>Hi, 
 I am new to Nordic chip sets, though I have firmware experience with STM and other boards. I have to wire an accelerometer to a nRF development board, and fix some existent code. The SPI in the code is defined like : 
 My chip is 52832, s132. 
</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 01 Mar 2021 20:03:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/72192/mapping-px-y-to-number" /><item><title>RE: Mapping PX.Y to Number</title><link>https://devzone.nordicsemi.com/thread/297013?ContentTypeID=1</link><pubDate>Mon, 01 Mar 2021 20:03:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e66e3ccb-2cea-4c5b-902e-026e199f085b</guid><dc:creator>comarius</dc:creator><description>&lt;p&gt;Thank you.&lt;/p&gt;
&lt;p&gt;Test on P0.27 pass.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; nrf_gpio_cfg_output(NRF_GPIO_PIN_MAP(0,27));&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; nrf_gpio_pin_set(NRF_GPIO_PIN_MAP(0,27));&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mapping PX.Y to Number</title><link>https://devzone.nordicsemi.com/thread/296995?ContentTypeID=1</link><pubDate>Mon, 01 Mar 2021 18:55:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:533c1bed-5e39-4a37-a6c3-bd803279fd43</guid><dc:creator>Patrick</dc:creator><description>&lt;p&gt;All GPIO on the nrf52832 are on port 0. There is a macro something along the lines of nrf_gpio_pin_map(pin) that will select the correct port (if more than one exists a la the nrf52840).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>