<?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; User Favorites: ik1wvq</title>
		<link><a href='http://forums.leaflabs.com/profile.php?id=33953'>33953</a></link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:10:16 +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?profile=33953" rel="self" type="application/rss+xml" />

		<item>
			<title>gbulmer on "&#34;DISC&#34; LINE newbie question and using PA11-PA12 lines as normal inputs GPIOs -"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74429#post-105714</link>
			<pubDate>Wed, 15 Apr 2015 20:17:26 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">105714@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;@rogerclark - there is no need to get at PB9, if all ik1wvq wants to do is disable the pull-up. By disabling the pull-up, in software, the USBDP/USBDM signals will not be pulled up by the pull-up connected to the PB9 DISC signal.&#60;/p&#62;
&#60;p&#62;FYI - the Open Source Community design for Maple-compatibles at &#60;a href=&#34;https://github.com/gbulmer/openstm32hw&#34; rel=&#34;nofollow&#34;&#62;https://github.com/gbulmer/openstm32hw&#60;/a&#62;, for example my later Orone-mini designs (&#60;a href=&#34;https://github.com/gbulmer/openstm32hw/tree/master/Orone-mini-v0&#34; rel=&#34;nofollow&#34;&#62;https://github.com/gbulmer/openstm32hw/tree/master/Orone-mini-v0&#60;/a&#62;) e.g. Orone-mini-S8J-v0r001 has DISC broken out onto a 0.1&#34; header. It was one of the improvements Siy and I added.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>rogerclark on "&#34;DISC&#34; LINE newbie question and using PA11-PA12 lines as normal inputs GPIOs -"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74429#post-105712</link>
			<pubDate>Wed, 15 Apr 2015 16:43:52 +0000</pubDate>
			<dc:creator>rogerclark</dc:creator>
			<guid isPermaLink="false">105712@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Mauro&#60;/p&#62;
&#60;p&#62;In addition to the excellent reply from @gbulmer.&#60;/p&#62;
&#60;p&#62;I don't think pb9 is broken out to a pin on the Maple mini, so I don't think you can physically access it unless you solder to the board e.g the processor pin.&#60;/p&#62;
&#60;p&#62;As a coincidence I have been working on adding PB9 back into a generic implementation of libmaple, and I now have it working on a generic stm32f103c8 board &#60;/p&#62;
&#60;p&#62;You can download and try my repo and look at the changes to the PIN MAP array etc&#60;/p&#62;
&#60;p&#62;Or just modify the enum in board.h and then PIN MAP array in board.cpp
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ik1wvq on "&#34;DISC&#34; LINE newbie question and using PA11-PA12 lines as normal inputs GPIOs -"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74429#post-105711</link>
			<pubDate>Wed, 15 Apr 2015 04:05:26 +0000</pubDate>
			<dc:creator>ik1wvq</dc:creator>
			<guid isPermaLink="false">105711@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;many thanks for the speed and completeness of your answer.&#60;/p&#62;
&#60;p&#62;regards&#60;/p&#62;
&#60;p&#62;Mauro
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "&#34;DISC&#34; LINE newbie question and using PA11-PA12 lines as normal inputs GPIOs -"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74429#post-105710</link>
			<pubDate>Tue, 14 Apr 2015 19:21:43 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">105710@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;@ik1wvq - You have correctly identified that PA11 and PA12 are USBDM and USBDP.&#60;/p&#62;
&#60;p&#62;However, the USB specification allows for different communication speeds. A USB 1.2 device signals the host which speed it is able to work at by pulling up either USBDM or USBDP with a resistor to 3.3V or (a little) higher.&#60;/p&#62;
&#60;p&#62;The pull-up could be a fixed resistor, connected to 3.3V. Once pulled-up, the host asks the device for some details about itself ('enumeration'), and then acts accordingly.&#60;/p&#62;
&#60;p&#62;However, Maple is more flexible than a single fixed USB device. Maple can change the type of USB device it implements dynamically. That requires the pull-up resistor to be activated under program control. That is what the DISC pin is doing. It can pull up the USBDP line, to signal its speed (12Mbits), and that it is ready to 'enumerate'.&#60;/p&#62;
&#60;p&#62;So if the DISC pin is active, the USBDP signal will be pulled high. Hence you need to disable the DISC pin so that it doesn't pull USBDP high.&#60;/p&#62;
&#60;p&#62;IIRC issuing a &#34;USBSerial.end()&#34; will disable the DISC signal, and the two USB pins can be used as GPIO (don;t connect them to a USB host, of course).&#60;/p&#62;
&#60;p&#62;(Full disclosure: I am not a member of LeafLabs staff.)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ik1wvq on "&#34;DISC&#34; LINE newbie question and using PA11-PA12 lines as normal inputs GPIOs -"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74429#post-105709</link>
			<pubDate>Tue, 14 Apr 2015 10:29:09 +0000</pubDate>
			<dc:creator>ik1wvq</dc:creator>
			<guid isPermaLink="false">105709@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;HI to all,&#60;/p&#62;
&#60;p&#62;I do not understand the use of &#34;DISC&#34; (PB9) line and the two transistors (Q1-Q2) near the USB connector.&#60;br /&#62;
my board is &#34;MAPLE MINI&#34;.&#60;/p&#62;
&#60;p&#62;I  ask this because my need is to use the whole PA port as input, and I do not understand how &#34;disconnect&#34; the USB port from PA11-PA12 .&#60;br /&#62;
Is sufficient to issue &#34;USBSerial.end()&#34; to free the PA11-PA12 ???&#60;/p&#62;
&#60;p&#62;thanks in advance and best regards&#60;/p&#62;
&#60;p&#62;Mauro IK1WVQ
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
