<?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>nRF52840: Enable/disable usbd generic hid endpoints using app_usbd_ep_disable/app_usbd_ep_enable</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/38754/nrf52840-enable-disable-usbd-generic-hid-endpoints-using-app_usbd_ep_disable-app_usbd_ep_enable</link><description>Hello Nordic experts, 
 I am trying to use app_usbd_ep_enable and app_usbd_ep_disable in order to enable/disable an endpoint. I need this to fake usb unplug/re-plug. Currently, I use app_usbd_stop and app_usbd_start and they work fine, but this actually</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 22 Sep 2018 10:43:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/38754/nrf52840-enable-disable-usbd-generic-hid-endpoints-using-app_usbd_ep_disable-app_usbd_ep_enable" /><item><title>RE: nRF52840: Enable/disable usbd generic hid endpoints using app_usbd_ep_disable/app_usbd_ep_enable</title><link>https://devzone.nordicsemi.com/thread/149906?ContentTypeID=1</link><pubDate>Sat, 22 Sep 2018 10:43:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3302186e-b52f-4521-9730-fe5323db1813</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;That is not really possible unless the interface in question supports that in another way (e.g. &amp;quot;removable&amp;quot; USB Mass storage device).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840: Enable/disable usbd generic hid endpoints using app_usbd_ep_disable/app_usbd_ep_enable</title><link>https://devzone.nordicsemi.com/thread/149886?ContentTypeID=1</link><pubDate>Fri, 21 Sep 2018 18:40:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ecd3b38-a8cd-431d-85e3-3ba4a7d5b010</guid><dc:creator>HSh</dc:creator><description>&lt;p&gt;Thanks for your comment. So, that&amp;#39;s why it does not work. However, I am looking for a way to just disconnect/connect a particular endpoint with no distraction to others.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840: Enable/disable usbd generic hid endpoints using app_usbd_ep_disable/app_usbd_ep_enable</title><link>https://devzone.nordicsemi.com/thread/149718?ContentTypeID=1</link><pubDate>Fri, 21 Sep 2018 01:14:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d708540a-69b0-44cd-ac66-c9a6548170b6</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;Wrong method. Disabling EPs requires driver support in the PC - which is not available in the default hid driver.&lt;/p&gt;
&lt;p&gt;A simple disconnect can be triggered by writing a zero in the USBPULLUP register - disconnecting the pullup resistor on D+. From the host side this look excactly like a disconnected port.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>