<?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: AIN &#34;analog in&#34; pin D3 and pin 38 silkscreen number</title>
		<link>http://forums.leaflabs.com/topic.php?id=231</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:19:32 +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=231" rel="self" type="application/rss+xml" />

		<item>
			<title>StephenFromNYC on "AIN &#34;analog in&#34; pin D3 and pin 38 silkscreen number"</title>
			<link>http://forums.leaflabs.com/topic.php?id=231#post-1722</link>
			<pubDate>Fri, 08 Oct 2010 21:04:24 +0000</pubDate>
			<dc:creator>StephenFromNYC</dc:creator>
			<guid isPermaLink="false">1722@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;I reinvented the wheel again.&#60;/p&#62;
&#60;p&#62;The leaflabs site has a simple PNG file of the maple rev 3 board:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://static.leaflabs.com/pub/leaflabs/maple-hardware/rev3/maple-rev3-layout-bottom.png&#34; rel=&#34;nofollow&#34;&#62;http://static.leaflabs.com/pub/leaflabs/maple-hardware/rev3/maple-rev3-layout-bottom.png&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;This image shows the silk-screened text, but from the perspective of the top of the board.  To be more legible just use a graphic app and flip the image.&#60;/p&#62;
&#60;p&#62;Thanks!&#60;/p&#62;
&#60;p&#62;Stephen from NYC
&#60;/p&#62;</description>
		</item>
		<item>
			<title>StephenFromNYC on "AIN &#34;analog in&#34; pin D3 and pin 38 silkscreen number"</title>
			<link>http://forums.leaflabs.com/topic.php?id=231#post-1721</link>
			<pubDate>Fri, 08 Oct 2010 20:37:39 +0000</pubDate>
			<dc:creator>StephenFromNYC</dc:creator>
			<guid isPermaLink="false">1721@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;For those who have fastened their Maple Rev 3 (summer 2010) boards into enclosures.  This is what I see printed on the bottom  of the board:&#60;/p&#62;
&#60;p&#62;&#38;lt;start of info&#38;gt;&#60;br /&#62;
5: I2C1-SCL&#60;br /&#62;
9: I2C1-SDA&#60;/p&#62;
&#60;p&#62;10: SPI1 ss (nss)&#60;br /&#62;
11: SPI1 mosi&#60;br /&#62;
12: SPI1 miso&#60;br /&#62;
13: SPI1 ck&#60;/p&#62;
&#60;p&#62;GND (between 13 and 14)&#60;/p&#62;
&#60;p&#62;24: PWM&#60;/p&#62;
&#60;p&#62;27: PWM/AIN&#60;br /&#62;
28: PWM/AIN&#60;/p&#62;
&#60;p&#62;29: TX3/I2C2-SCL&#60;br /&#62;
30: RX3/I2C2-SDA&#60;/p&#62;
&#60;p&#62;31: SPI2-NSS&#60;br /&#62;
32: SPI2-SCK&#60;br /&#62;
33: SPI2-MISO&#60;br /&#62;
34: SPI2-MOSI&#60;/p&#62;
&#60;p&#62;GND&#60;br /&#62;
&#38;lt;end of info&#38;gt;&#60;/p&#62;
&#60;p&#62;This seems consistent with the info on &#34;Maple Docs GPIO&#34;:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://leaflabs.com/docs/maple/gpio/&#34; rel=&#34;nofollow&#34;&#62;http://leaflabs.com/docs/maple/gpio/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;However, there is more information on the web site.  For example pins D32 and D33 are also also used by Serial3 for Clear to Send and Ready to Send (USART3_CTS and USART3_RTS).&#60;/p&#62;
&#60;p&#62;I have not used JTAG before.  On the top of the board the eight JTAG hole number assignments are clear.  However, on the bottom of the card the five hole numbers are 39, 40, 41, 42, and 43 seem to be assigned haphazardly.  If I am viewing them correctly they correspond as follows:&#60;/p&#62;
&#60;p&#62;JTAG (top): 1 = 43 (bottom)&#60;br /&#62;
JTAG (top): 3 = 40 (bottom)&#60;br /&#62;
JTAG (top): 4 = 42 (bottom)&#60;br /&#62;
JTAG (top): 5 = 41 (bottom)&#60;br /&#62;
JTAG (top): 6 = 39 (bottom)&#60;/p&#62;
&#60;p&#62;Hope this is helpful.&#60;/p&#62;
&#60;p&#62;Thanks!&#60;/p&#62;
&#60;p&#62;Stephen from NYC
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "AIN &#34;analog in&#34; pin D3 and pin 38 silkscreen number"</title>
			<link>http://forums.leaflabs.com/topic.php?id=231#post-1720</link>
			<pubDate>Fri, 08 Oct 2010 16:22:29 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">1720@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Stephen&#60;/p&#62;
&#60;p&#62;I checked the Maple Eagle CAD, and yes, D3 is conected to&#60;br /&#62;
PA1/USART2_RTS/ADC12_IN1/TIM2_CH2 on the STM32F physical pin P$15.&#60;/p&#62;
&#60;p&#62;The Maple library currently only uses 1 ADC to read values, so ADC12_IN1 would be read using ADC1 on channel 1.&#60;/p&#62;
&#60;p&#62;I checked wirish_analog.c, which contains &#60;code&#62;analogRead(uint8 pin)&#60;/code&#62;, which in turn uses a lower level function &#60;code&#62;adc_read(int channel)&#60;/code&#62; (in adc.h) and the adc channel field in an array of struct's called &#60;code&#62;PIN_MAP[]&#60;/code&#62;.&#60;/p&#62;
&#60;p&#62;So &#60;code&#62;analogRead&#60;/code&#62; takes a &#60;code&#62;pin&#60;/code&#62; number, and converts it into the adc channel using &#60;code&#62;PIN_MAP[pin].adc&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;so just do &#60;code&#62;analogRead(3)&#60;/code&#62;, and it &#34;should Just Work&#34; (TM)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>leaflabsandy on "AIN &#34;analog in&#34; pin D3 and pin 38 silkscreen number"</title>
			<link>http://forums.leaflabs.com/topic.php?id=231#post-1712</link>
			<pubDate>Fri, 08 Oct 2010 14:23:27 +0000</pubDate>
			<dc:creator>leaflabsandy</dc:creator>
			<guid isPermaLink="false">1712@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;The new rev. 5 Maple, which supersedes the rev. 3 Maple, is being re-done and I believe&#60;br /&#62;
the silkscreen is being fixed plus some other changes.&#60;/p&#62;
&#60;p&#62;Link: &#60;a href=&#34;http://forums.leaflabs.com/topic.php?id=103&#34; rel=&#34;nofollow&#34;&#62;http://forums.leaflabs.com/topic.php?id=103&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;On a further note... there is even a silkscreen on the bottom of the board? I am still trying to figure its use out because, in my case, the board is securely fastened via mounting holes to an enclosure. Maybe I need a mirror?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>StephenFromNYC on "AIN &#34;analog in&#34; pin D3 and pin 38 silkscreen number"</title>
			<link>http://forums.leaflabs.com/topic.php?id=231#post-1711</link>
			<pubDate>Fri, 08 Oct 2010 13:34:43 +0000</pubDate>
			<dc:creator>StephenFromNYC</dc:creator>
			<guid isPermaLink="false">1711@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;More comments regarding my previous post (above).&#60;/p&#62;
&#60;p&#62;1) Analog Input and Maple Pin D3&#60;/p&#62;
&#60;p&#62;In the table of the web site (&#34;Maple Docs: GPIO&#34;):&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://leaflabs.com/docs/maple/gpio/&#34; rel=&#34;nofollow&#34;&#62;http://leaflabs.com/docs/maple/gpio/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;It says D3 is ADC1 (and is connected to STM32 Pin PA1).  I have not checked the STM documentation yet so I do not know what to conclude.&#60;/p&#62;
&#60;p&#62;2) Pin &#34;38&#34; marking&#60;/p&#62;
&#60;p&#62;I now understand why the &#34;38&#34; on the back of the Maple Rev 3 card is covered using a black marker.&#60;/p&#62;
&#60;p&#62;Pin 38 is the BUT on the card.  The last pin on the double-row plastic &#34;riser&#34; is ground GND.&#60;/p&#62;
&#60;p&#62;If this is true then the &#34;38&#34; on the front of the Rev 3 card should also be marked out before the double-row plastic &#34;riser&#34; is soldered.&#60;/p&#62;
&#60;p&#62;I hope these conclusions are correct.&#60;/p&#62;
&#60;p&#62;Thanks!&#60;/p&#62;
&#60;p&#62;Stephen from NYC
&#60;/p&#62;</description>
		</item>
		<item>
			<title>StephenFromNYC on "AIN &#34;analog in&#34; pin D3 and pin 38 silkscreen number"</title>
			<link>http://forums.leaflabs.com/topic.php?id=231#post-1705</link>
			<pubDate>Fri, 08 Oct 2010 07:29:18 +0000</pubDate>
			<dc:creator>StephenFromNYC</dc:creator>
			<guid isPermaLink="false">1705@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;I have a question about pin D3 on the Maple Rev 3 (summer 2010) board.&#60;/p&#62;
&#60;p&#62;Can the D3 pin be used for analog (ADC) input?&#60;/p&#62;
&#60;p&#62;I am asking, because web site page (&#34;Maple Docs: ADC&#34;):&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://leaflabs.com/docs/maple/adc/&#34; rel=&#34;nofollow&#34;&#62;http://leaflabs.com/docs/maple/adc/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;includes D3, but the letters AIN are not silkscreened on my board.&#60;/p&#62;
&#60;p&#62;Also, on the back of the board, a black marker was used to cover pin &#34;38' on the silkscreen.  What does this indicate?&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
