<?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 HID keyboard sample not working on nrf52840 dongle(PCA10059)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/119845/usb-hid-keyboard-sample-not-working-on-nrf52840-dongle-pca10059</link><description>I got an nrf52840 dongle(PCA10059) and I&amp;#39;m trying to run the official usb-hid-keyboard example on it, but the compilation is failing. What could be the cause, and how should I go about modifying the example code? 
 
 
 the toolchain and sdk is v2.9.1</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 17 Mar 2025 14:03:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/119845/usb-hid-keyboard-sample-not-working-on-nrf52840-dongle-pca10059" /><item><title>RE: USB HID keyboard sample not working on nrf52840 dongle(PCA10059)</title><link>https://devzone.nordicsemi.com/thread/527669?ContentTypeID=1</link><pubDate>Mon, 17 Mar 2025 14:03:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:84183ed8-e6f7-44a6-8969-585b474c9068</guid><dc:creator>Lorenzo Amicucci</dc:creator><description>&lt;p&gt;please refer to nRF Desktop for official Nordic application for HID in nRF Connect SDK:&lt;br /&gt;&lt;a id="" href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/applications/nrf_desktop/README.html"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/applications/nrf_desktop/README.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;or you can check Nordic HID samples:&lt;/p&gt;
&lt;ul&gt;
&lt;li class="toctree-l1"&gt;&lt;a class="reference internal" href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/bluetooth/peripheral_hids_keyboard/README.html" data-bundleid="ncs-latest" data-navpath="nrf/samples/bluetooth/peripheral_hids_keyboard/README.html"&gt;Bluetooth: Peripheral HIDS keyboard&lt;/a&gt;&lt;/li&gt;
&lt;li class="toctree-l1"&gt;&lt;a class="reference internal" href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/bluetooth/peripheral_hids_mouse/README.html" data-bundleid="ncs-latest" data-navpath="nrf/samples/bluetooth/peripheral_hids_mouse/README.html"&gt;Bluetooth: Peripheral HIDS mouse&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB HID keyboard sample not working on nrf52840 dongle(PCA10059)</title><link>https://devzone.nordicsemi.com/thread/527652?ContentTypeID=1</link><pubDate>Mon, 17 Mar 2025 13:41:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d4118dd-1cbc-4473-a348-732872cce731</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;IRQ39 is for USB, and the reason for the error is that by default the nRF52840 Dongle board files use USB for logging. You can disable logging over USB by adding this to prj.conf, and the project should build:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_LOG=n
CONFIG_CONSOLE=n
CONFIG_BOARD_SERIAL_BACKEND_CDC_ACM=n
CONFIG_USB_CDC_ACM=n&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;PS:&amp;nbsp;The &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/f851cad162b8b37884c26b601a92946894b7bdc7/samples/subsys/usb/hid-keyboard"&gt;hid-keyboard&lt;/a&gt;&amp;nbsp;sample comes from the Zephyr project and while included in the nRF Connect SDK as part of Zephyr it is not officially supported by Nordic.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>