<?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>nRF52 PCA10040 DK printf output via putty</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/70730/nrf52-pca10040-dk-printf-output-via-putty</link><description>I have the nRF52 PCA10040 DK device, and I&amp;#39;m downloading the code from the online mbed tutorial. I&amp;#39;m using Putty serial port to communicate with the device at 9600 baud rate. I&amp;#39;m trying to print out the elements of the Bluetooth beacon signals I receive</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 21 Jan 2021 13:18:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/70730/nrf52-pca10040-dk-printf-output-via-putty" /><item><title>RE: nRF52 PCA10040 DK printf output via putty</title><link>https://devzone.nordicsemi.com/thread/290536?ContentTypeID=1</link><pubDate>Thu, 21 Jan 2021 13:18:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7964eedf-693a-450b-a0fb-e49ebf6fe44c</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am not familiar with the mBed SDK. If you have questions regarding that stack, I suggest you open a ticket on the mBed forum.&lt;/p&gt;
&lt;p&gt;If you want to use the &lt;a href="https://www.nordicsemi.com/Software-and-tools/Software/nRF5-SDK"&gt;SDK from Nordic Semiconductor&lt;/a&gt;, I believe it is the retarget.c that translates from printf() to actually outputting it through the UART. It is used in the example:&lt;/p&gt;
&lt;p&gt;SDK\examples\ble_peripheral\ble_app_uart.&lt;/p&gt;
&lt;p&gt;There you can see that printf() is used in the main.c file, and it comes from including the retarget.c/h file.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Whether this is implemented/enabled in the mBed SDK, I do not know.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>