<?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>USB communication with other module</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/83903/usb-communication-with-other-module</link><description>Hi, I have a nRF52840 based Custom development board and a GSM module(AT command based) with UART and USB support. Because of lack of UARTs in nRF52840, I want to use USB to transmit AT commands and receive response. 
 How do I do that?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 27 Jan 2022 09:06:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/83903/usb-communication-with-other-module" /><item><title>RE: USB communication with other module</title><link>https://devzone.nordicsemi.com/thread/349893?ContentTypeID=1</link><pubDate>Thu, 27 Jan 2022 09:06:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aabdfe22-3f65-425b-9c53-c5c53cbb9c9a</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;The USB bootloader&amp;nbsp;uses the CDC ACM USB class (virtual COM port) to let the DK enumerate as a COM port with a computer acting as a USB host. It is able to do serial secure DFU. &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/sdk_app_serial_dfu_bootloader.html"&gt;The example&lt;/a&gt; provides transport code for UART and USB CDC ACM.&lt;/p&gt;
&lt;p&gt;How to use the DFU to upload firmware packages is described in the testing section in the&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/sdk_app_serial_dfu_bootloader.html"&gt; example documentation&lt;/a&gt;. You will need a host computer in order to do this over USB.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB communication with other module</title><link>https://devzone.nordicsemi.com/thread/349709?ContentTypeID=1</link><pubDate>Wed, 26 Jan 2022 09:56:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf8313d0-68a0-4e77-bd70-510e6d2a652f</guid><dc:creator>Venus_Bilandi</dc:creator><description>&lt;p&gt;What is USB bootloader in the SDK?&lt;/p&gt;
&lt;p&gt;How Can I use it to update the Firmware?&lt;/p&gt;
&lt;p&gt;Can I use a pendrive or I nedd a Host computer or a mobile phone for that?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB communication with other module</title><link>https://devzone.nordicsemi.com/thread/349179?ContentTypeID=1</link><pubDate>Mon, 24 Jan 2022 10:06:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:168041e3-c780-452c-b019-b3c01a274050</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Can you provide some more details on this pen drive (what device exactly is it) and how you&amp;#39;re doing firmware updates to it? Are you doing them over BLE, USB, UART or what? And how are the pen drive and nRF52840 connected? If both are connected to a computer they can communicate via the USB host on the computer for example.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB communication with other module</title><link>https://devzone.nordicsemi.com/thread/348991?ContentTypeID=1</link><pubDate>Fri, 21 Jan 2022 15:06:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6406a193-4b81-4458-952d-1e21c4efeba1</guid><dc:creator>Venus_Bilandi</dc:creator><description>&lt;p&gt;Pendrive is also a USB device(peripheral) so how does nRF52840 is able to perform a firmware update using pendrive.&lt;/p&gt;
&lt;p&gt;How it is communicating with the pendrive?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB communication with other module</title><link>https://devzone.nordicsemi.com/thread/348940?ContentTypeID=1</link><pubDate>Fri, 21 Jan 2022 13:24:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1837e94c-717f-4778-89ad-7f7a30a56634</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;From what I understand, you are out of UART instances to use, correct? And thus you want the GSM module and the nRF52840 to connect over USB. USB has a strict master/slave protocol for addressing peripheral devices, and two peripheral devices can not interact with one another directly except via a host. The nRF52840 is not able to act as a USB host, and I would assume the GSM module is not either. Making this connection require a USB host to manage the communication.&lt;/p&gt;
&lt;p&gt;Are any of the other UART devices your nRF52840 able to communicate over I.E. SPI or I2C, if so I would recommend switching to that to free up a UART instance for your GSM module.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>