<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/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/"><channel><title>LPC2148 HID</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/18880/lpc2148-hid</link><description> Hello, 
 
I&amp;#39;m trying to understand this code &amp;quot;LPC2148 USB HID (Human Interface Device) Example&amp;quot;. 
 
After enumeration an interrupt is always generated (for Endpoint IN 1). Then the report is sent to the PC. 
 
Why? How could i stop it? 
 
 
thanks, </description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: LPC2148 HID</title><link>https://community.arm.com/thread/84519?ContentTypeID=1</link><pubDate>Fri, 05 Jan 2007 03:53:50 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:a70d703d-7e70-4ae2-bf5a-00a8a2cf6e48</guid><dc:creator>Sebastiano Restifo</dc:creator><description>&lt;p&gt;&lt;p&gt;
Hi,&lt;br /&gt;
I had a similar issue with LPC2378 and I solved it by using the
feature reports on the control endpoint.&lt;/p&gt;

&lt;p&gt;
I&amp;#39;ll be more clear:&lt;br /&gt;
the data are continuously sent to the host because the host itself is
requesting them periodically.&lt;br /&gt;
This happens because the device defines an input report which, by its
nature, is supposed to be requested by the host periodically on the
IN endpoint 1.&lt;br /&gt;
You can overcome this problem by replacing the input report with a
feature report which will be conveyed on the IN endpoint 0.&lt;br /&gt;
The host will now poll the IN endpoint 0 only after a specific
request coming from the application (for instance, if the host
application is written for windows with visual studio you&amp;#39;ll have to
use the function HidD_GetFeature - for more information have a look
at the link &lt;a href="http://msdn2.microsoft.com/en-us/library/ms790913.aspx"&gt;msdn2.microsoft.com/.../ms790913.aspx&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;
Hope this helps.&lt;/p&gt;

&lt;p&gt;
Sebastiano&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LPC2148 HID</title><link>https://community.arm.com/thread/73890?ContentTypeID=1</link><pubDate>Tue, 08 Aug 2006 14:31:04 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:e12dab8c-82ce-4206-88cc-29e6f15e4077</guid><dc:creator>Sadhoo Baba</dc:creator><description>&lt;p&gt;&lt;p&gt;
Hi,&lt;br /&gt;
I am using Keil USB HID code. I have modified it for a custom HID
device which does not need to send data continuously to host (alike
mouse which sends data to PC continuously).&lt;br /&gt;
Datasheets says when a packet is successfully transferred to host
from any IN endpoint, an interrupt is generated &amp;amp; if no data is
available for transfer, this data request also generates an interrupt
(See LPC214x user manual UM10139 page 198, first 5-6 lines). In my
custom HID application, I dont want this interrupt. I tried using Set
Mode command, but interrupt is always generated.&lt;br /&gt;
Hope this is enough info. Thanks in advance.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LPC2148 HID</title><link>https://community.arm.com/thread/45687?ContentTypeID=1</link><pubDate>Mon, 07 Aug 2006 12:37:54 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:db6f48f8-7b89-4aca-92d7-7201861848d0</guid><dc:creator>Andy Curda</dc:creator><description>&lt;p&gt;&lt;p&gt;
&amp;quot;How could i stop it?&amp;quot;&lt;/p&gt;

&lt;p&gt;
place a bear trap in front of it? just watch out if a real bear
falls into it, he&amp;#39;s sure to be angry:)&lt;/p&gt;

&lt;p&gt;
sorry, no idea what you are talking about. Please provide more
information about what you are doing. A web link to the app note you
are refering to would help&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LPC2148 HID</title><link>https://community.arm.com/thread/45686?ContentTypeID=1</link><pubDate>Mon, 07 Aug 2006 11:15:45 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:b9a2eee4-c241-47c2-a9c2-c3af578d5447</guid><dc:creator>Sadhoo Baba</dc:creator><description>&lt;p&gt;&lt;p&gt;
any answer..?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>