Page 1 of 1

SPI error's

Posted: Tue Aug 08, 2017 8:53 am
by Kristcec
(bad eng)
Hello, i used this code https://github.com/espressif/esp-idf/bl ... app_main.c
Terminal give me
rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0008,len:8
load:0x3fff0010,len:3420
ho 0 tail 12 room 4
load:0x40078000,len:10384
load:0x40080000,len:252
entry 0x40080034
Guru Meditation Error of type LoadStoreError occurred on core 0. Exception was unhandled.
Register dump:
PC : 0x4000c46c PS : 0x00060b30 A0 : 0x800db9fc A1 : 0x3ffb3200
A2 : 0x3f402260 A3 : 0xa5a5a5a5 A4 : 0x00000081 A5 : 0x3f402260
A6 : 0x00000000 A7 : 0x00000008 A8 : 0x800de6c8 A9 : 0x3ffb2eb0
A10 : 0x0000000b A11 : 0x3ffae3c0 A12 : 0x00000001 A13 : 0x3ffb2ec0
A14 : 0x3ffb2ec0 A15 : 0x00000004 SAR : 0x00000013 EXCCAUSE: 0x00000003
EXCVADDR: 0x3f402260 LBEG : 0x4000c46c LEND : 0x4000c477 LCOUNT : 0x00000007

Backtrace: 0x4000c46c:0x3ffb3200 0x400db9f9:0x3ffb3210 0x400d06a6:0x3ffb3300

wtf and how fix? :ugeek:
I need SPI !!! :evil:
(pin)

Code: Select all

#define GPIO_MOSI 14
#define GPIO_MISO 16
#define GPIO_SCLK 13
#define GPIO_CS 23
ESP WROOM-32.
When i work with tcp and wi-fi all be perfect.

Re: SPI error's

Posted: Tue Aug 08, 2017 10:22 am
by ESP_Sprite
Do you use exactly that code, or did you modify it?

Re: SPI error's

Posted: Tue Aug 08, 2017 10:35 am
by Kristcec
ESP_Sprite wrote:Do you use exactly that code, or did you modify it?
The pins were changed