<?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: R3 Schematic - What does DISC &#38; circuitry around USBDP do?</title>
		<link>http://forums.leaflabs.com/topic.php?id=95</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:08:59 +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=95" rel="self" type="application/rss+xml" />

		<item>
			<title>siy on "R3 Schematic - What does DISC &#38; circuitry around USBDP do?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=95&amp;page=2#post-7105</link>
			<pubDate>Mon, 07 Nov 2011 00:15:55 +0000</pubDate>
			<dc:creator>siy</dc:creator>
			<guid isPermaLink="false">7105@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Well, protection across VBUS is lost with this approach, but this is minor drawback, as for me. Not all IC's contain it anyway and VBUS is not connected directly to MCU.&#60;br /&#62;
As for other upstream termination/protection IC's, there are a number of them (USBUFxx from ST or STF203, for example). I've used STF202 just because it was simpler to buy in local stores and because it is most convenient for single side board routing :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "R3 Schematic - What does DISC &#38; circuitry around USBDP do?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=95&amp;page=2#post-7104</link>
			<pubDate>Sun, 06 Nov 2011 21:55:14 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">7104@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;sly -&#60;br /&#62;
&#60;blockquote&#62;... STF202 USB upstream protection IC and PNP-driver with built-in resistors. Emitter of the transistor is connected to VCC, base to DISC pin and collector to pin 1 of the IC (VBUS). ...&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;Don't you lose the protection across VBUS using that circuit?&#60;br /&#62;
(It is still better than the normal USB input which has no protection)&#60;/p&#62;
&#60;p&#62;Did you look at NUF2042XV6?&#60;br /&#62;
It doesn't contain the 1.5K data-line pull-up, but is otherwise very similar.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>siy on "R3 Schematic - What does DISC &#38; circuitry around USBDP do?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=95&amp;page=2#post-7100</link>
			<pubDate>Sun, 06 Nov 2011 16:26:23 +0000</pubDate>
			<dc:creator>siy</dc:creator>
			<guid isPermaLink="false">7100@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;By the way: if to use some USB upstream termination IC, which has protection at all lines, direct pin connection might be completely safe.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>x893 on "R3 Schematic - What does DISC &#38; circuitry around USBDP do?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=95&amp;page=2#post-7099</link>
			<pubDate>Sun, 06 Nov 2011 15:44:42 +0000</pubDate>
			<dc:creator>x893</dc:creator>
			<guid isPermaLink="false">7099@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;but i see J-Link schematic (on AT91SAM7S chip) and see that thay use simple connect pin to D+ via 1.5K resistor. May be it normal for short line and not accepted for long distane in factory application (joke)?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>siy on "R3 Schematic - What does DISC &#38; circuitry around USBDP do?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=95&amp;page=2#post-7098</link>
			<pubDate>Sun, 06 Nov 2011 14:40:20 +0000</pubDate>
			<dc:creator>siy</dc:creator>
			<guid isPermaLink="false">7098@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Probably because there is a danger of overvoltage and/or electric discharge. Beside that I see no problems with such an approach (note about bootloader and inversion applies here as well).
&#60;/p&#62;</description>
		</item>
		<item>
			<title>x893 on "R3 Schematic - What does DISC &#38; circuitry around USBDP do?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=95&amp;page=2#post-7097</link>
			<pubDate>Sun, 06 Nov 2011 12:48:54 +0000</pubDate>
			<dc:creator>x893</dc:creator>
			<guid isPermaLink="false">7097@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Why not connect 1.5K resistor directly to pin and set pin to high for USB D+ current ?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>siy on "R3 Schematic - What does DISC &#38; circuitry around USBDP do?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=95#post-7096</link>
			<pubDate>Sun, 06 Nov 2011 12:35:11 +0000</pubDate>
			<dc:creator>siy</dc:creator>
			<guid isPermaLink="false">7096@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Using OC output is a good idea, but it requires inversion of logic in maple bootloader (since current schematic is inverting).
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ala42 on "R3 Schematic - What does DISC &#38; circuitry around USBDP do?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=95#post-7095</link>
			<pubDate>Sun, 06 Nov 2011 11:15:47 +0000</pubDate>
			<dc:creator>ala42</dc:creator>
			<guid isPermaLink="false">7095@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;For the USB disconnect at D+ I use a 1k5 pullup to 3.3V and a 470Ohm resistor connected to a open collector CPU output pin to pull it down to disconnect.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>siy on "R3 Schematic - What does DISC &#38; circuitry around USBDP do?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=95#post-7094</link>
			<pubDate>Sat, 05 Nov 2011 21:02:59 +0000</pubDate>
			<dc:creator>siy</dc:creator>
			<guid isPermaLink="false">7094@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I've successfully tried even more simple circuit, which replaces both, USB input network and disconnect circuit with only two components: STF202 USB upstream protection IC and PNP-driver with built-in resistors. Emitter of the transistor is connected to VCC, base to DISC pin and collector to pin 1 of the IC (VBUS). Resulting equivalent circuit is almost exact copy of the original (except it uses single PNP transistor instead of two NPN). I've also tried P-channel MOSFET as switch and resulting circuit also works just fine, but it requires two additional resistors (probably only one is actually necessary - between gate and VCC).
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "R3 Schematic - What does DISC &#38; circuitry around USBDP do?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=95#post-5769</link>
			<pubDate>Wed, 27 Jul 2011 08:44:06 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">5769@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I am trying out a much simpler USB Rup (pull-up resistor) circuit. &#60;/p&#62;
&#60;p&#62;It uses a single P-Channel MOSFET with a pull-up resistor to hold it off by default.&#60;br /&#62;
The MOSFET source is tied to 3.3V, and the drain to the USB pull-up resistor.&#60;/p&#62;
&#60;p&#62;Two components vs six. A significant saving in board area and assembly cost.&#60;br /&#62;
(I have other changes too, which require a new PCB)&#60;/p&#62;
&#60;p&#62;I have seen the Maple USB Rup circuitry on boards from ST, ETT, and maybe Olimex.&#60;/p&#62;
&#60;p&#62;(full disclosure: I am not a member of LeafLabs staff.)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>poslathian on "R3 Schematic - What does DISC &#38; circuitry around USBDP do?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=95#post-5761</link>
			<pubDate>Tue, 26 Jul 2011 14:21:34 +0000</pubDate>
			<dc:creator>poslathian</dc:creator>
			<guid isPermaLink="false">5761@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;is that a mosfet part?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>buffalo960 on "R3 Schematic - What does DISC &#38; circuitry around USBDP do?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=95#post-5713</link>
			<pubDate>Fri, 22 Jul 2011 18:45:07 +0000</pubDate>
			<dc:creator>buffalo960</dc:creator>
			<guid isPermaLink="false">5713@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Would 2n2222s be sufficient for this application?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>poslathian on "R3 Schematic - What does DISC &#38; circuitry around USBDP do?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=95#post-4546</link>
			<pubDate>Tue, 10 May 2011 13:58:52 +0000</pubDate>
			<dc:creator>poslathian</dc:creator>
			<guid isPermaLink="false">4546@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;nail on the head.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "R3 Schematic - What does DISC &#38; circuitry around USBDP do?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=95#post-4496</link>
			<pubDate>Thu, 05 May 2011 15:06:41 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">4496@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;pagercam -&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;Why not just pull up to USB +5V then???&#60;/p&#62;
&#60;/blockquote&#62;
&#60;p&#62;The host determines what speed the USB device wants to run at by looking at which of the two USB data lines, D+ or D-, is pulled up with the 1.5K resistor. This lets the device say it is a low-speed, 1.2Mbits, or full-speed 12Mbits (High-speed is different).&#60;/p&#62;
&#60;p&#62;Every time a USB device is plugged in, the host also needs to figure out exactly what type of USB device it is. The process the host goes through to determine that is called 'enumeration'. Once the host knows what speed the USB device is running at, the host and device have a chat so the host knows which device driver to use to communicate with the device.&#60;/p&#62;
&#60;p&#62;Currently Maple changes its USB device from a USB DFU (which is used by the bootloader when a program is being uploaded to it from the host) to a USB serial the rest of the time. &#60;/p&#62;
&#60;p&#62;Maple needs to force the USB host to changes its mind about what type of device it is by forcing the host to query its type of USB device when it needs to transition between those two USB devices. It does that by disconnecting the pull-up resistor, so it looks like the Maple has been unplugged, then raising it again to trigger the host going through USB 'enumeration'.&#60;/p&#62;
&#60;p&#62;1. The resistor can't just be tied to a voltage, or Maple couldn't force the host to 'enumerate' it. &#60;/p&#62;
&#60;p&#62;Even if LeafLabs made the Maple be a single USB device, IMHO it is better for Maple to be able to force USB re-enumeration because then folks can more easily make the Maple look like different USB devices.&#60;/p&#62;
&#60;p&#62;By allowing Maple firmware/software to decide when to activate the pull-up resistor, it can go through a pile of internal stuff, getting ready, which again makes it easier to program the Maple to take on different USB device persona's.&#60;/p&#62;
&#60;p&#62;The USB 2.0 specification is at &#60;a href=&#34;http://www.usb.org/developers/docs/&#34; rel=&#34;nofollow&#34;&#62;http://www.usb.org/developers/docs/&#60;/a&#62;&#60;br /&#62;
The bundle of documents is currently &#60;a href=&#34;http://www.usb.org/developers/docs/usb_20_021411.zip&#34; rel=&#34;nofollow&#34;&#62;http://www.usb.org/developers/docs/usb_20_021411.zip&#60;/a&#62; but it changes name with revisions.&#60;/p&#62;
&#60;p&#62;usb_20.pdf defines the electrical characteristics of USB in Table 7-7 in section 7.3.2 &#34;Bus Timing/Electrical Characteristics&#34;&#60;/p&#62;
&#60;p&#62;The maximum (signalling) voltage that can be applied to the USB D+/D- lines is called Voh (V subscript OH).&#60;br /&#62;
For low-speed and full-speed USB Voh maximum is 3.6V, with a minimum of 2.8V (this is the voltage used for signalling data)&#60;/p&#62;
&#60;p&#62;The 1.5K +/-5% pull-up resistor is used to signal the speed of the USB device to the host USB controller for low-speed or full-speed. The resistor is attached to USB D+ or D- depending on whether it wants to be treated as low-speed or full-speed.&#60;/p&#62;
&#60;p&#62;The pull-up resistor is 'terminated' by connecting it to a voltage called Vterm (V subscript TERM), and Vterm's value is minimum 3V maximum 3.6V. (I think there is an engineering change notice in that set of documents which recommends that devices should be able to cope with a voltage of up to 4.1V, but I can't see it now)&#60;/p&#62;
&#60;p&#62;2. The pull-up resistor should not be pulled up to 5V.&#60;/p&#62;
&#60;p&#62;So, if you really wanted to connect the pull-up to 5V USB, you could get a value in the 3V to 3.6V range using a couple of diodes in series which will drop about 0.7V each.&#60;/p&#62;
&#60;p&#62;(full disclosure: I am not a member of LeafLabs staff)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>anton on "R3 Schematic - What does DISC &#38; circuitry around USBDP do?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=95#post-4494</link>
			<pubDate>Thu, 05 May 2011 02:55:56 +0000</pubDate>
			<dc:creator>anton</dc:creator>
			<guid isPermaLink="false">4494@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;gbulmer, D+ pin can be pulled up to 3.3V&#60;br /&#62;
&#60;a href=&#34;http://www.beyondlogic.org/usbnutshell/usb2.shtml&#34; rel=&#34;nofollow&#34;&#62;http://www.beyondlogic.org/usbnutshell/usb2.shtml&#60;/a&#62;
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
