<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forums.obdev.at/app.php/feed/topic/3213" />

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2010-03-05T04:56:15+02:00</updated>

	<author><name><![CDATA[Objective Development Forums]]></name></author>
	<id>https://forums.obdev.at/app.php/feed/topic/3213</id>

		<entry>
		<author><name><![CDATA[ulao]]></name></author>
		<updated>2010-03-05T04:56:15+02:00</updated>

		<published>2010-03-05T04:56:15+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=3213&amp;p=13515#p13515</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=3213&amp;p=13515#p13515"/>
		<title type="html"><![CDATA[Re: Is there any example project using endpoint 1 &amp; 3 both?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=3213&amp;p=13515#p13515"><![CDATA[
I love how there is no PM system on this board... <br /><br />So rinku, any luck? I'd like to ask how or if you got the two endpoints working. - Something gives me the feeling you want get this?<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=1281">ulao</a> — Fri Mar 05, 2010 4:56 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rinku]]></name></author>
		<updated>2009-09-04T11:43:31+02:00</updated>

		<published>2009-09-04T11:43:31+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=3213&amp;p=10839#p10839</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=3213&amp;p=10839#p10839"/>
		<title type="html"><![CDATA[Is there any example project using endpoint 1 &amp; 3 both?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=3213&amp;p=10839#p10839"><![CDATA[
Hi, <br />   I am trying to use two interface with two Interrupt In Endpoints, but some how, the device becomes slow and some times hangs.<br />  I have configured the following things to use endpoint 3:<br />  <br />  <div class="codebox"><p>Code: </p><pre><code>#define USB_CFG_HAVE_INTRIN_ENDPOINT    1<br />/* Define this to 1 if you want to compile a version with two endpoints: The<br /> * default control endpoint 0 and an interrupt-in endpoint (any other endpoint<br /> * number).<br /> */<br />#define USB_CFG_HAVE_INTRIN_ENDPOINT3   1<br />/* Define this to 1 if you want to compile a version with three endpoints: The<br /> * default control endpoint 0, an interrupt-in endpoint 3 (or the number<br /> * configured below) and a catch-all default interrupt-in endpoint as above.<br /> * You must also define USB_CFG_HAVE_INTRIN_ENDPOINT to 1 for this feature.<br /> */<br />#define USB_CFG_EP3_NUMBER              3<br />/* If the so-called endpoint 3 is used, it can now be configured to any other<br /> * endpoint number (except 0) with this macro. Default if undefined is 3.<br /> */</code></pre></div><br /><br /><br />and my Reports are sent this way:<br /><br /><div class="codebox"><p>Code: </p><pre><code>                       case 1:<br />                if(usbInterruptIsReady())<br />                  usbSetInterrupt(KbdBuffer, sizeof(KbdBuffer));<br />            break;<br /><br />            case 2:<br />                if(usbInterruptIsReady3())<br />                  usbSetInterrupt3(MouseBuffer, sizeof(MouseBuffer));<br />            break;</code></pre></div><br /><br />The Device,Configuration and Report descriptors are according to the setup, and I think there is no problem as the device enumerates very nicely. But the problem occurs when I send report repetitively (pressing the keyboard or mouse displacement button very quickly).<br /><br />Can any one help me with a project using these two IN Interrupts?<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=2439">rinku</a> — Fri Sep 04, 2009 11:43 am</p><hr />
]]></content>
	</entry>
	</feed>
