<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Stamp C3 &#x2F; C3U SPI]]></title><description><![CDATA[<p dir="auto">First of all I really really like the Stamp C3(U), I find the plastic cover totally great. But what frustrates me (maybe I'm doing something wrong) is that SPI is not usable.</p>
<p dir="auto">The reason is that for classic full-duplex SPI on a ESP32C3 you need SPI2 (Fast SPI) which leads to the following:</p>
<ul>
<li>MOSI = FSPID = GPIO7 --&gt; nicely on the PIN header</li>
<li>MISO = FSPIQ = GPIO2 --&gt; <strong>the status LED</strong> on Stamp C3(U), not on the header</li>
<li>CLK = FSPICLK = GPIO6 --&gt; nicely on the PIN header</li>
<li>CS = FSPICS0~5 = GPIO10 for CS0 --&gt; nicely on the PIN header and in general chip select is a bit easier</li>
</ul>
<p dir="auto">I really don't get why GPIO2 was used for the status LED, from what I get there's nothing special about it. So I think / strongly believe / am convinced that SPI peripherals just don't work on the stamp...</p>
]]></description><link>https://community.m5stack.com/topic/4197/stamp-c3-c3u-spi</link><generator>RSS for Node</generator><lastBuildDate>Tue, 14 Apr 2026 02:47:05 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/4197.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 08 Apr 2022 14:17:44 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Stamp C3 &#x2F; C3U SPI on Fri, 08 Apr 2022 22:42:42 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/15087">@dominik</a></p>
<p dir="auto">the nice thing about ESP32 and its variants (like the C3) is that different functions (like SPI) can use almost any GPIOs.</p>
<p dir="auto">With the Arduino environment you can define the GPIOs to be used for SPI like this:</p>
<pre><code>#define SCK GPIO_NUM_6
#define MISO GPIO_NUM_4
#define MOSI GPIO_NUM_7
#define CS GPIO_NUM_5

SPI.begin(SCK, MISO, MOSI, -1);
</code></pre>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/17137</link><guid isPermaLink="true">https://community.m5stack.com/post/17137</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Fri, 08 Apr 2022 22:42:42 GMT</pubDate></item></channel></rss>