<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>LeafLabs Garden &#187; Topic: What are Q2 and Q3 for?</title>
		<link>http://forums.leaflabs.com/topic.php?id=25</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:10:28 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://forums.leaflabs.com/search.php</link>
		</textInput>
		<atom:link href="http://forums.leaflabs.com/rss.php?topic=25" rel="self" type="application/rss+xml" />

		<item>
			<title>importer on "What are Q2 and Q3 for?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=25#post-104</link>
			<pubDate>Sat, 03 Apr 2010 15:02:36 +0000</pubDate>
			<dc:creator>importer</dc:creator>
			<guid isPermaLink="false">104@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;on Mon 28 of Dec., 2009 17:02 EST, by poslathian &#60;/p&#62;
&#60;p&#62;Nic &#38;amp; Larry,&#60;br /&#62;
The USB protocol specifies that new bus devices announce themselves to the host operating system via pulling either D+ or D- up (via a pullup resistor). Which line gets pulled depends on whether the device is a full speed or high speed device (I cant remember which is which..i think FS pulls up d+?).&#60;br /&#62;
USB_DISC handles this operation. If you reset USB_DISC, then the host computer will see the board as a USB device and begin the enumeration. Similarly, setting the USB_DISC pin will disconnect the device, which might be desirable to initiate a usb reset or if you just want to steal power from USB and not actually connect.&#60;br /&#62;
The USB_P pin is for the device to recognize that it has been plugged in at all. For example, if you are powered off of a battery, you might disable the USB peripheral altogether, then re-enable it once USB_P is high.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>importer on "What are Q2 and Q3 for?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=25#post-103</link>
			<pubDate>Sat, 03 Apr 2010 15:02:10 +0000</pubDate>
			<dc:creator>importer</dc:creator>
			<guid isPermaLink="false">103@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;on Mon 28 of Dec., 2009 13:39 EST, by LarryP &#60;/p&#62;
&#60;p&#62;Nic,&#60;/p&#62;
&#60;p&#62;I'm not sure, either (I haven't done any USB hardware.)&#60;br /&#62;
However, it seems to me that the same functionality could be done with 2 of the 6 gates of a hex inverter (e.g. '14 schmitt trigger), leaving 4 unused gates to buffer other output lines.&#60;/p&#62;
&#60;p&#62;-- Larry
&#60;/p&#62;</description>
		</item>
		<item>
			<title>importer on "What are Q2 and Q3 for?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=25#post-101</link>
			<pubDate>Sat, 03 Apr 2010 15:01:50 +0000</pubDate>
			<dc:creator>importer</dc:creator>
			<guid isPermaLink="false">101@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;on Fri 25 of Dec., 2009 22:28 EST, by Nic &#60;/p&#62;
&#60;p&#62;I've been looking at the schematic, and I'm wondering what the circuitry on the USB port is for. It's based around Q2 and Q3, and it looks like it pulls D+ up to 3.3V while DISC is driven low if there's 5V coming in the USB port. I've seen the same circuitry on other STM32 boards, but haven't yet found an explanation for it in the mountains of documentation for the chip or other boards.&#60;/p&#62;
&#60;p&#62;I take it DISC is short for &#34;discover&#34;, but isn't the same thing accomplished by sensing USB_P?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
