<?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[SPI error between Core2 and W5500]]></title><description><![CDATA[<h2>Used products are<br />
M5Stack Core2 ESP32 IoT Development Kit for AWS IoT EduKit<br />
and LAN Module W5500 with POE.<br />
Softwares are esp-idf-master(v4.4) and esp-idf-tools-setup-online-2.7.exe<br />
<img src="/assets/uploads/files/1622429855535-w5500-resized.png" alt="0_1622429855020_w5500.png" class=" img-fluid img-markdown" /><br />
<img src="/assets/uploads/files/1622429875341-spi.png" alt="0_1622429874788_spi.png" class=" img-fluid img-markdown" /><br />
in the picture, "SPI MISO GPIO number is fixed "19",<br />
I found all relevant sources and changed 19 to 38.<br />
I compiled and download.<br />
the core2 showed the following message.</h2>
<p dir="auto">E (363) spi_hal: spi_hal_cal_clock_conf(101): When work in full-duplex mode at frequency &gt; 26.7MHz, device cannot read correct data.<br />
Try to use IOMUX pins to increase the frequency limit, or use the half duplex mode.<br />
Please note the SPI master can only work at divisors of 80MHz, and the driver always tries to find the closest frequency to your configuration.<br />
Specify <code>SPI_DEVICE_NO_DUMMY</code> to ignore this checking. Then you can output data at higher speed, or read data at your own risk.<br />
E (403) spi_master: spi_bus_add_device(368): assigned clock speed not supported<br />
ESP_ERROR_CHECK failed: esp_err_t 0x106 (ESP_ERR_NOT_SUPPORTED) at 0x40085f10<br />
file: "../main/ethernet_example_main.c" line 153<br />
func: app_main<br />
expression: spi_bus_add_device(CONFIG_EXAMPLE_ETH_SPI_HOST, &amp;devcfg, &amp;spi_handle)</p>
<p dir="auto">abort() was called at PC 0x40085f13 on core 0</p>
<p dir="auto">=========================================================================<br />
Here is the full message of booting.<br />
Rebooting...<br />
I (12) boot: ESP-IDF v4.4-dev-1183-g9d34a1cd4 2nd stage bootloader<br />
I (12) boot: compile time 14:59:17<br />
I (12) boot: chip revision: 3<br />
I (16) boot_comm: chip revision: 3, min. bootloader chip revision: 0<br />
I (23) boot.esp32: SPI Speed      : 40MHz<br />
I (27) boot.esp32: SPI Mode       : DIO<br />
I (32) boot.esp32: SPI Flash Size : 16MB<br />
I (36) boot: Enabling RNG early entropy source...<br />
I (42) boot: Partition Table:<br />
I (45) boot: ## Label            Usage          Type ST Offset   Length<br />
I (53) boot:  0 nvs              WiFi data        01 02 00009000 00006000<br />
I (60) boot:  1 phy_init         RF data          01 01 0000f000 00001000<br />
I (68) boot:  2 factory          factory app      00 00 00010000 00100000<br />
I (75) boot: End of partition table<br />
I (79) boot_comm: chip revision: 3, min. application chip revision: 0<br />
I (86) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=1079ch ( 67484) map<br />
I (120) esp_image: segment 1: paddr=000207c4 vaddr=3ffbdb60 size=02590h (  9616) load<br />
I (125) esp_image: segment 2: paddr=00022d5c vaddr=40080000 size=0c9f0h ( 51696) load<br />
I (148) esp_image: segment 3: paddr=0002f754 vaddr=50000000 size=00010h (    16) load<br />
I (149) esp_image: segment 4: paddr=0002f76c vaddr=00000000 size=008ach (  2220)<br />
I (155) esp_image: segment 5: paddr=00030020 vaddr=400d0020 size=313f8h (201720) map<br />
I (245) boot: Loaded app from partition at offset 0x10000<br />
I (245) boot: Disabling RNG early entropy source...<br />
I (257) cpu_start: Pro cpu up.<br />
I (257) cpu_start: Starting app cpu, entry point is 0x40081114<br />
I (251) cpu_start: App cpu up.<br />
I (271) cpu_start: Pro cpu start user code<br />
I (272) cpu_start: cpu freq: 160000000<br />
I (272) cpu_start: Application information:<br />
I (276) cpu_start: Project name:     ethernet_basic<br />
I (282) cpu_start: App version:      1<br />
I (286) cpu_start: Compile time:     May 28 2021 15:28:52<br />
I (292) cpu_start: ELF file SHA256:  3002b11df1bc5d6d...<br />
I (298) cpu_start: ESP-IDF:          v4.4-dev-1183-g9d34a1cd4<br />
I (305) heap_init: Initializing. RAM available for dynamic allocation:<br />
I (312) heap_init: At 3FFAE6E0 len 0000F480 (61 KiB): DRAM<br />
I (318) heap_init: At 3FFC18B0 len 0001E750 (121 KiB): DRAM<br />
I (324) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM<br />
I (330) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM<br />
I (337) heap_init: At 4008C9F0 len 00013610 (77 KiB): IRAM<br />
I (344) spi_flash: detected chip: generic<br />
I (348) spi_flash: flash io: dio<br />
I (353) cpu_start: Starting scheduler on PRO CPU.<br />
I (0) cpu_start: Starting scheduler on APP CPU.<br />
E (363) spi_hal: spi_hal_cal_clock_conf(101): When work in full-duplex mode at frequency &gt; 26.7MHz, device cannot read correct data.<br />
Try to use IOMUX pins to increase the frequency limit, or use the half duplex mode.<br />
Please note the SPI master can only work at divisors of 80MHz, and the driver always tries to find the closest frequency to your configuration.<br />
Specify <code>SPI_DEVICE_NO_DUMMY</code> to ignore this checking. Then you can output data at higher speed, or read data at your own risk.<br />
E (403) spi_master: spi_bus_add_device(368): assigned clock speed not supported<br />
ESP_ERROR_CHECK failed: esp_err_t 0x106 (ESP_ERR_NOT_SUPPORTED) at 0x40085f10<br />
file: "../main/ethernet_example_main.c" line 153<br />
func: app_main<br />
expression: spi_bus_add_device(CONFIG_EXAMPLE_ETH_SPI_HOST, &amp;devcfg, &amp;spi_handle)</p>
<p dir="auto">abort() was called at PC 0x40085f13 on core 0</p>
<p dir="auto">Backtrace:0x400d2fcf:0x3ffb24e00x40085f21:0x3ffb2500 0x4008b7f6:0x3ffb2520 0x40085f13:0x3ffb2590 0x400d87d8:0x3ffb25b0 0x401010e9:0x3ffb2690 0x40088b41:0x3ffb26b0</p>
]]></description><link>https://community.m5stack.com/topic/3337/spi-error-between-core2-and-w5500</link><generator>RSS for Node</generator><lastBuildDate>Fri, 15 May 2026 00:05:23 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/3337.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 31 May 2021 03:14:43 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to SPI error between Core2 and W5500 on Mon, 04 Oct 2021 22:51:26 GMT]]></title><description><![CDATA[<p dir="auto">Hi...I’ve begun using a W5500 on a WIZ850io board. I am employing a microcontroller to conversation to the W5500 over the SPI. I can compose and arrange the gadget, but when I perused back I get mistakes on two out of each four bytes (when bit 1 is set to 1).</p>
<p dir="auto"><a href="https://www.7pcb.com/" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.7pcb.com/</a></p>
]]></description><link>https://community.m5stack.com/post/14589</link><guid isPermaLink="true">https://community.m5stack.com/post/14589</guid><dc:creator><![CDATA[BriggTrim]]></dc:creator><pubDate>Mon, 04 Oct 2021 22:51:26 GMT</pubDate></item><item><title><![CDATA[Reply to SPI error between Core2 and W5500 on Tue, 13 Jul 2021 02:25:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/felmue" aria-label="Profile: felmue">@<bdi>felmue</bdi></a> said in <a href="/post/14012">SPI error between Core2 and W5500</a> <a href="https://happywheels2.io" target="_blank" rel="noopener noreferrer nofollow ugc">happy wheels</a>:</p>
<blockquote>
<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/ykpark1126" aria-label="Profile: ykpark1126">@<bdi>ykpark1126</bdi></a></p>
<p dir="auto">the error message actually tells you what's wrong. The SPI speed is too fast - have you tried to reduce it from 40 MHz to say 20 MHz? Works for me.</p>
<p dir="auto">Thanks<br />
Felix</p>
</blockquote>
<p dir="auto">Thanks a lot man!!! Because of your help, I was able to complete my work. Great thanks to you.</p>
]]></description><link>https://community.m5stack.com/post/14384</link><guid isPermaLink="true">https://community.m5stack.com/post/14384</guid><dc:creator><![CDATA[ryantorres]]></dc:creator><pubDate>Tue, 13 Jul 2021 02:25:32 GMT</pubDate></item><item><title><![CDATA[Reply to SPI error between Core2 and W5500 on Sun, 06 Jun 2021 09:07:33 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/ykpark1126" aria-label="Profile: ykpark1126">@<bdi>ykpark1126</bdi></a></p>
<p dir="auto">the error message actually tells you what's wrong. The SPI speed is too fast - have you tried to reduce it from 40 MHz to say 20 MHz? Works for me.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/14012</link><guid isPermaLink="true">https://community.m5stack.com/post/14012</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Sun, 06 Jun 2021 09:07:33 GMT</pubDate></item></channel></rss>