<?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: Using D24 for PWM on Maple Mini</title>
		<link>http://forums.leaflabs.com/topic.php?id=12243</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:18:15 +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=12243" rel="self" type="application/rss+xml" />

		<item>
			<title>ala42 on "Using D24 for PWM on Maple Mini"</title>
			<link>http://forums.leaflabs.com/topic.php?id=12243#post-27187</link>
			<pubDate>Sun, 23 Jun 2013 11:39:43 +0000</pubDate>
			<dc:creator>ala42</dc:creator>
			<guid isPermaLink="false">27187@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;&#38;gt;It seems to me that the bootloader should not affect the availability of the pin once the elf has been started..&#60;br /&#62;
'Seem' and 'should' do not solve problems. The bootloader initializes USB and if it is not correctly shut down it still blocks the port.&#60;br /&#62;
I can use PA11 on my FreeFlight board as PWM driven motor output, do not use a boot loader and do not touch USB at all. I have no special code to use PA11 as usual port.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jonatan.olofsson on "Using D24 for PWM on Maple Mini"</title>
			<link>http://forums.leaflabs.com/topic.php?id=12243#post-27186</link>
			<pubDate>Sun, 23 Jun 2013 10:53:12 +0000</pubDate>
			<dc:creator>jonatan.olofsson</dc:creator>
			<guid isPermaLink="false">27186@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;It seems to me that the bootloader should not affect the availability of the pin once the elf has been started.. &#60;/p&#62;
&#60;p&#62;I had an idea that the pc may pull DM low, but I have the same results with the usb fully disconnected..&#60;/p&#62;
&#60;p&#62;Still out of ideas on this though.. Have anyone used D24 for PWM previously, using e.g. USBSerial.end()?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ala42 on "Using D24 for PWM on Maple Mini"</title>
			<link>http://forums.leaflabs.com/topic.php?id=12243#post-26960</link>
			<pubDate>Tue, 18 Jun 2013 16:08:45 +0000</pubDate>
			<dc:creator>ala42</dc:creator>
			<guid isPermaLink="false">26960@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Try if you can access the pin when using a modified bootloader that uses no USB. Well, you should be able to flash using a different method...
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jonatan.olofsson on "Using D24 for PWM on Maple Mini"</title>
			<link>http://forums.leaflabs.com/topic.php?id=12243#post-26941</link>
			<pubDate>Tue, 18 Jun 2013 01:35:47 +0000</pubDate>
			<dc:creator>jonatan.olofsson</dc:creator>
			<guid isPermaLink="false">26941@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Both the libmaple/usb or wirish/usb_serial.cpp are commented out in the Makefile and rules.mk respectively, and BOARD_HAVE_USB and STM32_HAVE_USB are set to false. Also, USB_DM and USB_DP have been removed from the maple_mini/board.cpp (and 24 added to the PWM list in the same file). Also BOARD_USB_* in board/board.h have been commented out.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ala42 on "Using D24 for PWM on Maple Mini"</title>
			<link>http://forums.leaflabs.com/topic.php?id=12243#post-26917</link>
			<pubDate>Mon, 17 Jun 2013 19:11:24 +0000</pubDate>
			<dc:creator>ala42</dc:creator>
			<guid isPermaLink="false">26917@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Did you also disable setupUSB() ?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jonatan.olofsson on "Using D24 for PWM on Maple Mini"</title>
			<link>http://forums.leaflabs.com/topic.php?id=12243#post-26908</link>
			<pubDate>Mon, 17 Jun 2013 17:12:21 +0000</pubDate>
			<dc:creator>jonatan.olofsson</dc:creator>
			<guid isPermaLink="false">26908@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I'm trying to get PWM working on pin D24 on my Maple Mini. In the docs, it is suggested to call USBSerial::end() before activating pwm on this pin, since it is usually occupied by the USB_DM signal. However, in my local libmaple/wirish, I have actively tried to remove all inclusion and instantiation of usb-related code, so SerialUSB is never initialized. Since it still doesn't work, i figure i have missed one of the following;&#60;/p&#62;
&#60;p&#62;1) Some part of usb is still being configured, grabbing control over the D24 pin.&#60;br /&#62;
2) The initial setup for D24 differs due to its default use, so it isn't initialized as it's sibling gpio/pwm ports.&#60;/p&#62;
&#60;p&#62;I relly would appreciate any pointers to where to look!&#60;/p&#62;
&#60;p&#62;Best regards,&#60;br /&#62;
Jonatan
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
