<?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>UART TxD pin assignment inconsistency between PSEL.TXD and Serialization UART for PCA10056</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/42509/uart-txd-pin-assignment-inconsistency-between-psel-txd-and-serialization-uart-for-pca10056</link><description>Hi, 
 In the registery definition of nRF52840 it is stated for PSEL.TXD: 
 Reg ID: A -&amp;gt; from bit 0 til 4 for Pin selection 
 Reg ID: B -&amp;gt; bit 5 for Port number 
 In this case, we should conclude that the TxD pin of the UART can only be mapped to P1.0</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 15 Jan 2019 10:12:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/42509/uart-txd-pin-assignment-inconsistency-between-psel-txd-and-serialization-uart-for-pca10056" /><item><title>RE: UART TxD pin assignment inconsistency between PSEL.TXD and Serialization UART for PCA10056</title><link>https://devzone.nordicsemi.com/thread/165690?ContentTypeID=1</link><pubDate>Tue, 15 Jan 2019 10:12:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d40a81ba-da27-4160-a4be-93b8e08830aa</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;When in doubt you can always check the examples in the SDK (\examples\peripheral\uart\pca10040).&amp;nbsp;It&amp;#39;s in binary in both cases, but nRF52832 don&amp;#39;t have PORT1.&lt;/p&gt;
&lt;p&gt;#define TX_PIN_NUMBER&amp;nbsp; 6&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-82fb35e166594d5abecd5cbf5aa0b331/pastedimage1547547129931v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART TxD pin assignment inconsistency between PSEL.TXD and Serialization UART for PCA10056</title><link>https://devzone.nordicsemi.com/thread/165564?ContentTypeID=1</link><pubDate>Mon, 14 Jan 2019 16:05:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac4c4b74-fc82-40af-ae88-6075e20f1000</guid><dc:creator>Starlord</dc:creator><description>&lt;p&gt;Hi Peter,&lt;/p&gt;
&lt;p&gt;Thanks for your response but I need further clarification.&lt;/p&gt;
&lt;p&gt;This is quite surprising. In the PSEL.TxD of the nRF52832, the PSEL register use bit masking to indicate pin location.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1547481662405v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;If we follow your response this mean that we have 2^32-1 location for TxD pin.&lt;/p&gt;
&lt;p&gt;I should have probably interpreted wrongly that bit masking was required.&lt;/p&gt;
&lt;p&gt;Should we consider that for nRF52832, pin selection is done using bit masking and with nRF52840, the selected pin number should be written in binary into the LSB portion of the register?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART TxD pin assignment inconsistency between PSEL.TXD and Serialization UART for PCA10056</title><link>https://devzone.nordicsemi.com/thread/165557?ContentTypeID=1</link><pubDate>Mon, 14 Jan 2019 15:51:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dcb006a5-373b-4968-add6-2248b2ba15f5</guid><dc:creator>Peter Kenyon</dc:creator><description>&lt;p&gt;Bit 0 to 4 gives you 32 pin values and bit 5 gives you two ports&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>