<?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[M5Stack library and MCP2515]]></title><description><![CDATA[<p dir="auto">Hello everyone,<br />
I have an ESP32 WROOM 32 with a TFT ILI9341 SPI and a CAN MCP2515 SPI, but I can't operate the CAN if the command m5.begin (); is active in the code, if it is <a href="//m5.begin" target="_blank" rel="noopener noreferrer nofollow ugc">//m5.begin</a> (); The CAN works.<br />
My question is how to make the TFT Ili9341 spi with the CAN MCP2515 cohabit?</p>
<p dir="auto">Ili9341:<br />
Miso (not connected) otherwise GPIO19<br />
Mosi ===&gt; GPIO23<br />
CS =====&gt; GPIO15<br />
DC =====&gt; GPIO2<br />
Reset ===&gt; GPIO4<br />
SCLK ===&gt; GPIO18</p>
<p dir="auto">MCP2515:<br />
Miso ===&gt; GPIO19<br />
Mosi ===&gt; GPIO23<br />
CS =====&gt; GPIO5<br />
SCLK ===&gt; GPIO18</p>
<p dir="auto">I tried everything but without success it looks like the M5Stack library is incompatible and blocks the CAN.<br />
Can you help me ?</p>
<p dir="auto">Regards,<br />
Alfred from France, sorry for my english....</p>
]]></description><link>https://community.m5stack.com/topic/5353/m5stack-library-and-mcp2515</link><generator>RSS for Node</generator><lastBuildDate>Sat, 14 Mar 2026 23:38:14 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/5353.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 03 Jun 2023 05:21:02 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to M5Stack library and MCP2515 on Sun, 04 Jun 2023 17:54:08 GMT]]></title><description><![CDATA[<p dir="auto">I don't understand anymore, now it works but I changed the Libraie the same but obviously more complete.<br />
I hope it will work in time ...<br />
Thank you Felix</p>
]]></description><link>https://community.m5stack.com/post/21080</link><guid isPermaLink="true">https://community.m5stack.com/post/21080</guid><dc:creator><![CDATA[Bbjodel]]></dc:creator><pubDate>Sun, 04 Jun 2023 17:54:08 GMT</pubDate></item><item><title><![CDATA[Reply to M5Stack library and MCP2515 on Sun, 04 Jun 2023 15:11:44 GMT]]></title><description><![CDATA[<p dir="auto">I don't know like Debog ESP32 + MCP2515 with Arduino.<br />
On the other hand, is there any other pines for SPI ?</p>
]]></description><link>https://community.m5stack.com/post/21079</link><guid isPermaLink="true">https://community.m5stack.com/post/21079</guid><dc:creator><![CDATA[Bbjodel]]></dc:creator><pubDate>Sun, 04 Jun 2023 15:11:44 GMT</pubDate></item><item><title><![CDATA[Reply to M5Stack library and MCP2515 on Sat, 03 Jun 2023 18:44:02 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/43619">@Bbjodel</a></p>
<p dir="auto">nothing stands out in the debug output unfortunately.</p>
<p dir="auto">Have you tried to use two separate SPI busses? Maybe the two libraries (TFT and CAN) cannot work together?</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/21073</link><guid isPermaLink="true">https://community.m5stack.com/post/21073</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Sat, 03 Jun 2023 18:44:02 GMT</pubDate></item><item><title><![CDATA[Reply to M5Stack library and MCP2515 on Sat, 03 Jun 2023 08:08:03 GMT]]></title><description><![CDATA[<p dir="auto">I have this:<br />
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)<br />
configsip: 0, SPIWP:0xee<br />
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00<br />
mode:DIO, clock div:1<br />
load:0x3fff0018,len:4<br />
load:0x3fff001c,len:1044<br />
load:0x40078000,len:10124<br />
load:0x40080400,len:5856<br />
entry 0x400806a8<br />
Entering Configuration Mode Successful!<br />
Setting Baudrate Successful!<br />
M5Stack initializing...OK<br />
0,0,0.00,0,0<br />
0,0,0.00,0,0<br />
0,0,0.00,0,0<br />
0,0,0.00,0,0<br />
0,0,0.00,0,0<br />
0,0,0.00,0,0</p>
<p dir="auto">Felix can you see my code ?</p>
<p dir="auto">If I deactive<br />
<a href="//M5.begin" target="_blank" rel="noopener noreferrer nofollow ugc">//M5.begin</a>();<br />
<a href="//M5.Lcd.setTextColor" target="_blank" rel="noopener noreferrer nofollow ugc">//M5.Lcd.setTextColor</a>(WHITE);<br />
it works, strange.</p>
<p dir="auto">385,1,38.50,81,170<br />
385,1,38.50,81,170<br />
385,1,38.50,81,170<br />
385,1,38.50,81,170<br />
385,1,38.50,81,170<br />
385,1,38.50,81,170</p>
]]></description><link>https://community.m5stack.com/post/21068</link><guid isPermaLink="true">https://community.m5stack.com/post/21068</guid><dc:creator><![CDATA[Bbjodel]]></dc:creator><pubDate>Sat, 03 Jun 2023 08:08:03 GMT</pubDate></item><item><title><![CDATA[Reply to M5Stack library and MCP2515 on Sat, 03 Jun 2023 07:45:18 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/43619">@Bbjodel</a></p>
<p dir="auto">ok, I see. Have you looked at the debut output? Are there any errors?</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/21067</link><guid isPermaLink="true">https://community.m5stack.com/post/21067</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Sat, 03 Jun 2023 07:45:18 GMT</pubDate></item><item><title><![CDATA[Reply to M5Stack library and MCP2515 on Sat, 03 Jun 2023 07:20:03 GMT]]></title><description><![CDATA[<p dir="auto">Hello Felix Thank you for advancing, yes I know I was wrong by writing the effective position9341 CS = 15 and MCP2515 CS = 5.<br />
For the CS of the MCP2515 I tried from others GPIO E it returned to conflict with the M5Stack library ...</p>
]]></description><link>https://community.m5stack.com/post/21065</link><guid isPermaLink="true">https://community.m5stack.com/post/21065</guid><dc:creator><![CDATA[Bbjodel]]></dc:creator><pubDate>Sat, 03 Jun 2023 07:20:03 GMT</pubDate></item><item><title><![CDATA[Reply to M5Stack library and MCP2515 on Sat, 03 Jun 2023 07:07:01 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/43619">@Bbjodel</a></p>
<p dir="auto">in order for two SPI slaves to work their CS needs to be connected to different GPIOs. See <a href="https://en.wikipedia.org/wiki/Serial_Peripheral_Interface#Independent_slave_configuration" target="_blank" rel="noopener noreferrer nofollow ugc">here</a>.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/21064</link><guid isPermaLink="true">https://community.m5stack.com/post/21064</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Sat, 03 Jun 2023 07:07:01 GMT</pubDate></item></channel></rss>