<?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>pc-ble-driver UART pins</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/21354/pc-ble-driver-uart-pins</link><description>We&amp;#39;re targetting the nRF51822 and use the pc-ble-driver (via connectivity_1.1.0_115k2_with_s130_2.0.1 ) 
 Currently I&amp;#39;m using the dev board and the virtual COM port connection works. But ideally I would like to flash this same .hex file for production</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 21 Apr 2017 11:46:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/21354/pc-ble-driver-uart-pins" /><item><title>RE: pc-ble-driver UART pins</title><link>https://devzone.nordicsemi.com/thread/83646?ContentTypeID=1</link><pubDate>Fri, 21 Apr 2017 11:46:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:647af47f-8246-4ad1-9971-6290c728d451</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;On the nRF51-DK, UART uses pin P0.08, P0.09, P0.10, and P0.11.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver UART pins</title><link>https://devzone.nordicsemi.com/thread/83647?ContentTypeID=1</link><pubDate>Thu, 13 Apr 2017 11:06:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:00947cca-f622-44fe-9af6-dc685be75a85</guid><dc:creator>Ronaldo Pace</dc:creator><description>&lt;p&gt;&amp;quot;about the pins that are configured on the supplied .hex file&amp;quot; I&amp;#39;ve been trying this for a couple of days but I always get error 13 on &lt;code&gt;driver.open()&lt;/code&gt;, reason why I came to ask here. That is both true for on my Linux PC and on the raspberry PI that will be the controller on production. I&amp;#39;ve even sniffed the Tx out of the rPI and I can see a binary data being sent to the board. The DK simply never replies. Interesting enough I&amp;#39;ve tried the board with a host connected USB (led is solid green), with a power only USB(led blinks like crazy) and with direct external 3.3V supply (led is off). There&amp;#39;s no change there, still 13 !&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver UART pins</title><link>https://devzone.nordicsemi.com/thread/83645?ContentTypeID=1</link><pubDate>Thu, 13 Apr 2017 10:47:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:46872f4d-0549-4ba6-8623-787564358ecf</guid><dc:creator>Carles</dc:creator><description>&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;Yes, the UART is enabled of course since that is how the host communicates with the board.&lt;/p&gt;
&lt;p&gt;The way to build the .hex is described here:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver/blob/master/Installation.md#compiling-the-connectivity-hex-files"&gt;github.com/.../Installation.md&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If you look at the patch you need to apply to the SDK, you&amp;#39;ll see that it uses these macros to map the UART pins:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver/blob/master/hex/sd_api_v2/sdk110_connectivity.patch#L131"&gt;github.com/.../sdk110_connectivity.patch&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Those macros are defined somewhere on the SDK based on the board you select, just search for those in the SDK (version 11 in your case) once you&amp;#39;ve downloaded it.&lt;/p&gt;
&lt;p&gt;EDIT: about the pins that are configured on the supplied .hex file, just check the pins in a normal nRF51 DK (they are in the back of the PCB) and those would be it, since the .hex files are for our DKs.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>