<?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>PCA10040 Virtual COM port what is it used for</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/57698/pca10040-virtual-com-port-what-is-it-used-for</link><description>Hi 
 We are using PCA10040 for a development and we are using P0.8 , we were setting it up to be No connect when low (IE Open collector) but it was being driven high and we realized it was used for the virtual com port as described in the PCA10040 user</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 12 Feb 2020 09:35:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/57698/pca10040-virtual-com-port-what-is-it-used-for" /><item><title>RE: PCA10040 Virtual COM port what is it used for</title><link>https://devzone.nordicsemi.com/thread/233906?ContentTypeID=1</link><pubDate>Wed, 12 Feb 2020 09:35:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f29d55a3-7a09-401b-acb5-5ecd2ac58946</guid><dc:creator>awneil</dc:creator><description>[quote userid="77447" url="~/f/nordic-q-a/57698/pca10040-virtual-com-port-what-is-it-used-for"]We were expecting this to have some affect on the debugging interface[/quote]
&lt;p&gt;Why would you expect that?&lt;/p&gt;
&lt;p&gt;Debugging used the &lt;strong&gt;SWI&lt;/strong&gt; interface - as for &lt;em&gt;any&lt;/em&gt; Cortex-M microcontroller.&lt;/p&gt;
[quote userid="77447" url="~/f/nordic-q-a/57698/pca10040-virtual-com-port-what-is-it-used-for"]or logging[/quote]
&lt;p&gt;Logging can be configured to use Segger RTT, or the UART.&lt;/p&gt;
&lt;p&gt;To use the UART, you need&amp;nbsp;a COM port.&lt;/p&gt;
&lt;p&gt;RTT uses the debug interface.&lt;/p&gt;
[quote userid="77447" url="~/f/nordic-q-a/57698/pca10040-virtual-com-port-what-is-it-used-for"]So what is this com port used for ?[/quote]
&lt;p&gt;It connects the UART of the nRF52 chip to a virtual COM port on the development Host (eg, PC) - so that you can do serial comms between host &amp;amp; target.&lt;/p&gt;
&lt;p&gt;eg, send text to a terminal and/or receive text from a terminal.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>