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

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

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

		<entry>
		<author><name><![CDATA[ulao]]></name></author>
		<updated>2013-06-13T13:45:19+02:00</updated>

		<published>2013-06-13T13:45:19+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=8490&amp;p=25440#p25440</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=8490&amp;p=25440#p25440"/>
		<title type="html"><![CDATA[Re: clocking my usb pulls]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=8490&amp;p=25440#p25440"><![CDATA[
I was looking for a software solution using a watchdog or something.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=1281">ulao</a> — Thu Jun 13, 2013 1:45 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[horo]]></name></author>
		<updated>2013-06-13T10:19:31+02:00</updated>

		<published>2013-06-13T10:19:31+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=8490&amp;p=25439#p25439</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=8490&amp;p=25439#p25439"/>
		<title type="html"><![CDATA[Re: clocking my usb pulls]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=8490&amp;p=25439#p25439"><![CDATA[
Hi ulao,<br /><br />My typical solution is to use an normally unused port pin that will be set on start of code and reset after completion. With an oscilloscope you can watch this port and e.g. the usb ports. <br />-&gt; <a href="http://forums.obdev.at/viewtopic.php?f=8&amp;t=1352&amp;start=15#p9040" class="postlink">http://forums.obdev.at/viewtopic.php?f=8&amp;t=1352&amp;start=15#p9040</a><br /><br />Ciao, Martin<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=891">horo</a> — Thu Jun 13, 2013 10:19 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ulao]]></name></author>
		<updated>2013-06-12T18:16:37+02:00</updated>

		<published>2013-06-12T18:16:37+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=8490&amp;p=25427#p25427</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=8490&amp;p=25427#p25427"/>
		<title type="html"><![CDATA[clocking my usb pulls]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=8490&amp;p=25427#p25427"><![CDATA[
I gather pulls are 10ms apart. Some say they clocked it at 8 on a windows box, and some say 2 on a linux box. What I want to do is see how long my code takes and determine if I'm skipping pulls. <br /><br />I would like to do one of the following.<br />a)<br />pull once ever 10ms ( lets say it take 10 ms )<br />do code ( how long did this take? )<br />pull<br /><br />B)<br />pull once ever 10ms ( lets say it take 10 ms )<br />do code<br />pull ( was data ready? if not run debug code  )<br /><br />I need to ensure my code has completed before a pull. I'm guessing this is the only way to check that. Anyone have some advice on how to do this. I use avr studio maybe there is a built in simulator to clock this?<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=1281">ulao</a> — Wed Jun 12, 2013 6:16 pm</p><hr />
]]></content>
	</entry>
	</feed>
