<?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/8639" />

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2013-10-01T13:45:25+02:00</updated>

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

		<entry>
		<author><name><![CDATA[ulao]]></name></author>
		<updated>2013-10-01T13:45:25+02:00</updated>

		<published>2013-10-01T13:45:25+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=8639&amp;p=25882#p25882</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=8639&amp;p=25882#p25882"/>
		<title type="html"><![CDATA[Re: transfering more interrupt in data]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=8639&amp;p=25882#p25882"><![CDATA[
You can not transfer that much data in one go but of course you can do it by chunks in interrupt transfers. <br /><br /><br />while (!usbInterruptIsReady()){usbPoll(); } usbSetInterrupt( reportBuffer, 8 ); <br />while (!usbInterruptIsReady()){usbPoll(); } usbSetInterrupt((void *)&amp;reportBuffer + 8, 8 );<br />while (!usbInterruptIsReady()){usbPoll(); } usbSetInterrupt((void *)&amp;reportBuffer + 16, 8 );<br />ect...<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=1281">ulao</a> — Tue Oct 01, 2013 1:45 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Madara]]></name></author>
		<updated>2013-10-01T07:05:00+02:00</updated>

		<published>2013-10-01T07:05:00+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=8639&amp;p=25881#p25881</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=8639&amp;p=25881#p25881"/>
		<title type="html"><![CDATA[Re: transfering more interrupt in data]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=8639&amp;p=25881#p25881"><![CDATA[
The maximum data payload size is 8 bytes for Control transfers as well.However we are able to transfer upto 254 bytes in VUSB by transferring them in a chuncks of 8 bytes in single control requests. I was wondering if this could be done for interrupt tranfers as there is a little description as  &quot;If you need to transfer more bytes, use a control read after the interrupt.&quot; in the description of usbSetInterrupt.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=6952">Madara</a> — Tue Oct 01, 2013 7:05 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[matrixstorm]]></name></author>
		<updated>2013-09-30T12:48:00+02:00</updated>

		<published>2013-09-30T12:48:00+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=8639&amp;p=25878#p25878</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=8639&amp;p=25878#p25878"/>
		<title type="html"><![CDATA[Re: transfering more interrupt in data]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=8639&amp;p=25878#p25878"><![CDATA[
Hi Madara.<br /><br />VUSB only implements low-speed USB. In low-speed USB the standard forces:<br /><br />[...]<br />    The maximum data payload size for low-speed devices is 8 bytes. <br />[...] (from: <!-- m --><a class="postlink" href="http://www.beyondlogic.org/usbnutshell/usb4.shtml#Interrupt">http://www.beyondlogic.org/usbnutshell/ ... #Interrupt</a><!-- m -->)<br /><br />So, you can not implent sth. the standard does not allow.<br /><br />BR matrixstorm<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=7385">matrixstorm</a> — Mon Sep 30, 2013 12:48 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Madara]]></name></author>
		<updated>2013-09-30T10:10:07+02:00</updated>

		<published>2013-09-30T10:10:07+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=8639&amp;p=25877#p25877</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=8639&amp;p=25877#p25877"/>
		<title type="html"><![CDATA[transfering more interrupt in data]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=8639&amp;p=25877#p25877"><![CDATA[
I need to transfer 64 bytes of Interrupt In transfer to PC via AVR. The function <strong class="text-strong">usbSetInterrupt</strong> is able to transfer only 8 bytes at a time.Using it 8 times to transfer 64 bytes does not seem to be a solution. There is a line in usbdrv.h &quot;<strong class="text-strong">If you need to transfer more bytes, use a control read after the interrupt.</strong>&quot; in the description of usbSetInterrupt.<br /><br />What is control read and how to transfer more interrupt in data using this method??<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=6952">Madara</a> — Mon Sep 30, 2013 10:10 am</p><hr />
]]></content>
	</entry>
	</feed>
