<?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[ATOM TF-CARD Kit SPI pins are not default SPI pins?]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I just wanted to ask if the pins used for SD card interface on ATOM TF-CARD Kit are just GPIO pins and they not default SPI pins of ESP32 Pico?<br />
Because I tried to use it with esp-idf and it does not work. Because SD card driver of esp-idf uses default SPI pins.</p>
<p dir="auto">Can you please suggest any way to use ATOM TF-CARD Kit with esp-idf?</p>
<p dir="auto">Thanks</p>
]]></description><link>https://community.m5stack.com/topic/3292/atom-tf-card-kit-spi-pins-are-not-default-spi-pins</link><generator>RSS for Node</generator><lastBuildDate>Tue, 17 Mar 2026 01:05:53 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/3292.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 19 May 2021 13:25:17 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to ATOM TF-CARD Kit SPI pins are not default SPI pins? on Sun, 27 Feb 2022 14:16:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/4037">@felmue</a> said in <a href="/post/16747">ATOM TF-CARD Kit SPI pins are not default SPI pins?</a>:</p>
<blockquote>
<p dir="auto"><a href="http://sd.info" target="_blank" rel="noopener noreferrer nofollow ugc">sd.info</a>()</p>
</blockquote>
<p dir="auto">Hi Felix,<br />
Thanks a lot.<br />
Your solution also works for me.</p>
]]></description><link>https://community.m5stack.com/post/16788</link><guid isPermaLink="true">https://community.m5stack.com/post/16788</guid><dc:creator><![CDATA[pieter]]></dc:creator><pubDate>Sun, 27 Feb 2022 14:16:14 GMT</pubDate></item><item><title><![CDATA[Reply to ATOM TF-CARD Kit SPI pins are not default SPI pins? on Wed, 23 Feb 2022 20:21:25 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/1786">@pieter</a></p>
<p dir="auto">this works for me:</p>
<pre><code>from machine import SDCard
from machine import Pin
import os

try:
    sd = SDCard(slot=3, miso=Pin(33), mosi=Pin(19), sck=Pin(23), cs=Pin(4))
    sd.info()
    os.mount(sd, '/sd')
    print("SD card mounted at \"/sd\"")
except (KeyboardInterrupt, Exception) as e:
    print('SD mount caught exception {} {}'.format(type(e).__name__, e))
    pass

print(os.listdir('/sd'))
</code></pre>
<p dir="auto">Note: mostly taken from <code>boot.py</code> from an M5Core2 with modified pin config. CS pin is not really required as the SD card always selected anyways.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/16747</link><guid isPermaLink="true">https://community.m5stack.com/post/16747</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Wed, 23 Feb 2022 20:21:25 GMT</pubDate></item><item><title><![CDATA[Reply to ATOM TF-CARD Kit SPI pins are not default SPI pins? on Wed, 23 Feb 2022 11:20:24 GMT]]></title><description><![CDATA[<p dir="auto">How to use the ATOM TF-Card in Python?</p>
<p dir="auto">I tried to mount the TF-CARD as below with my ATOM Matrix  but it when I load my code I get a red cross on the display. (I use cs=21 because it is not used in the ATOM)</p>
<p dir="auto">import uos<br />
uos.sdconfig(uos.SDMODE_SPI,clk=23,mosi=19,miso=33,cs =21)<br />
uos.mountsd()</p>
]]></description><link>https://community.m5stack.com/post/16738</link><guid isPermaLink="true">https://community.m5stack.com/post/16738</guid><dc:creator><![CDATA[pieter]]></dc:creator><pubDate>Wed, 23 Feb 2022 11:20:24 GMT</pubDate></item><item><title><![CDATA[Reply to ATOM TF-CARD Kit SPI pins are not default SPI pins? on Fri, 21 May 2021 09:20:20 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/9626">@mviewlab</a></p>
<p dir="auto">yes, they are just GPIO pins. Please checkout the <a href="https://docs.m5stack.com/en/atom/atomictf?id=pinmap" target="_blank" rel="noopener noreferrer nofollow ugc">pinmap</a> here.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/13829</link><guid isPermaLink="true">https://community.m5stack.com/post/13829</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Fri, 21 May 2021 09:20:20 GMT</pubDate></item></channel></rss>