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

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2016-02-01T19:16:36+02:00</updated>

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

		<entry>
		<author><name><![CDATA[horo]]></name></author>
		<updated>2016-02-01T19:16:36+02:00</updated>

		<published>2016-02-01T19:16:36+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=10260&amp;p=30793#p30793</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=10260&amp;p=30793#p30793"/>
		<title type="html"><![CDATA[Re: Pin / port choice for usb data]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=10260&amp;p=30793#p30793"><![CDATA[
Hi,<br /><br />Have a look: <br /><a href="https://forums.obdev.at/viewtopic.php?f=8&amp;t=6322" class="postlink">https://forums.obdev.at/viewtopic.php?f=8&amp;t=6322</a><br /><a href="http://vusb.wikidot.com/examples" class="postlink">http://vusb.wikidot.com/examples</a>   (Scroll down to &quot;Other interrupts than INT0 for USB&quot;)<br /><br />Ciao, Martin<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=891">horo</a> — Mon Feb 01, 2016 7:16 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[shiona]]></name></author>
		<updated>2016-01-31T22:48:05+02:00</updated>

		<published>2016-01-31T22:48:05+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=10260&amp;p=30789#p30789</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=10260&amp;p=30789#p30789"/>
		<title type="html"><![CDATA[Pin / port choice for usb data]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=10260&amp;p=30789#p30789"><![CDATA[
I'm creating my first v-usb project. <br />Attiny24 ended up as my µC of choice.<br /><br />On the main page I found: <br /><blockquote class="uncited"><div>No UART, timer, input capture unit or other special hardware is required (except one edge triggered interrupt).</div></blockquote><br />Also <!-- m --><a class="postlink" href="http://vusb.wikidot.com/hardware">http://vusb.wikidot.com/hardware</a><!-- m --> makes no mention of any hardware requirements about pin selection.<br /><br />Unable to find any realiable source, I looked up multiple schematics of different V-USB projects and it seemed everyone<br />was using INT0 connected to D+, so I did so too. This is PB2 on the device. PB0-1 are XTAL and PB3 is RESET', which I <br />would prefer not to disable. That meant D- would have to go to port A. PA0 was the closest pin to trace to, so I went with that.<br /><br />Now, after designing the board, etching, sourcing the parts and soldering, I came across <br /><!-- m --><a class="postlink" href="http://codeandlife.com/2012/01/29/avr-attiny-usb-tutorial-part-3/">http://codeandlife.com/2012/01/29/avr-a ... al-part-3/</a><!-- m --><br />which cites some code which gives me the impression D+ and D- are required to share the port.<br />Is this the case?<br /><br />I do have PA1-2 free, can I use them somehow to save my situation?<br /><br />EDIT: <br />After posting I found out that yes, the fear in my original post is true. This information is hidden inside usbdrv.h.<br />I believe sharing the information about this limitation with potential users would be fair.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=21820">shiona</a> — Sun Jan 31, 2016 10:48 pm</p><hr />
]]></content>
	</entry>
	</feed>
