<?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>Is it possible to emulate a usb serial on nrf51x22 ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/7885/is-it-possible-to-emulate-a-usb-serial-on-nrf51x22</link><description>Hi. 
 nrf51x22 has 32 IOs. can we assign 2 pin to usb d+, d-, and listen interrupt. 
 yes, nrf51x22 has uart support, but many host device only have usb port. serial port has miss a long time. 
 USB have power supply, and could communication with host</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 29 Jun 2015 13:50:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/7885/is-it-possible-to-emulate-a-usb-serial-on-nrf51x22" /><item><title>RE: Is it possible to emulate a usb serial on nrf51x22 ?</title><link>https://devzone.nordicsemi.com/thread/28170?ContentTypeID=1</link><pubDate>Mon, 29 Jun 2015 13:50:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:938b3665-7060-4a1e-abc1-585a1659cfac</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;That link brings up another point I forgot to mention. USB 1.1 speed is 1.5Mb/s, that&amp;#39;s the old old USB. At that speed on the nrf51 series you have 10 machine instructions per transmitted bit. That&amp;#39;s really not very much, it&amp;#39;s possibly not even enough.&lt;/p&gt;
&lt;p&gt;That reminds me again what a great job the integrated USB chips do.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to emulate a usb serial on nrf51x22 ?</title><link>https://devzone.nordicsemi.com/thread/28169?ContentTypeID=1</link><pubDate>Mon, 29 Jun 2015 13:35:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ffce3ac7-2734-4f7d-9dd0-12203707f98d</guid><dc:creator>Wojtek</dc:creator><description>&lt;p&gt;You can find some clues &lt;a href="http://hackaday.com/2014/03/22/bitbanging-usb-on-low-power-arms/"&gt;here&lt;/a&gt;, but I&amp;#39;d also don&amp;#39;t recommend bitbanging as You still need some physical elements to meet electrical requirements. Using FTDI-like chips is just much simplier.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to emulate a usb serial on nrf51x22 ?</title><link>https://devzone.nordicsemi.com/thread/28168?ContentTypeID=1</link><pubDate>Sat, 27 Jun 2015 12:49:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f01654d-707b-44fe-b8a9-31ba73890d35</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;I wouldn&amp;#39;t bother trying to bitbang USB. The protocol is sufficiently complex it&amp;#39;s hard to get right. There&amp;#39;s probably libraries you can find which you could use, but the timing requirements are such it wouldn&amp;#39;t likely work with the softdevice running anyway.&lt;/p&gt;
&lt;p&gt;Buy a chip which does USB, like an FTDI, and hook it up over I2C or SPI or whatever you like to the nrf51x22.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>