spi slave example

ilpaso
Posts: 3
Joined: Fri Jul 21, 2017 12:25 am

spi slave example

Postby ilpaso » Fri Jul 21, 2017 12:34 am

Hi,
I'm new with esp32.

I'm trying to get data from esp32 by a spi connection.
Esp32 is the slave and a texas msp430 is the master. Esp32 firmware is the example SPI-slave in the idf examples.
When the master requires for the data the esp32 returns data and after gets this error:

Code: Select all

Guru Meditation Error: Core  0 panic'ed (Double exception)
Register dump:
PC      : 0x400814f0  PS      : 0x00060036  A0      : 0x80081043  A1      : 0x3ff82000
A2      : 0x3ff82070  A3      : 0x00000000  A4      : 0x3ffb0000  A5      : 0x3ffae310
A6      : 0x0000000a  A7      : 0x00000022  A8      : 0x80059bae  A9      : 0x00000000
A10     : 0xffffffff  A11     : 0x3ff98270  A12     : 0x00000000  A13     : 0x00000000
A14     : 0x3ffb0300  A15     : 0x3ffae2c0  SAR     : 0x00000014  EXCCAUSE: 0x00000002
EXCVADDR: 0x00000000  LBEG    : 0x00000000  LEND    : 0x00000000  LCOUNT  : 0x00000000

Code: Select all

(gdb) info symbol 0x400814f0
esp_dport_access_stall_other_cpu_end + 108 in section .iram0.text
(gdb) list *0x400814f0
0x400814f0 is in esp_dport_access_stall_other_cpu_end (/Users/ficeto/Desktop/ESP32/ESP32/esp-idf-public/components/esp32/./dport_access.c:124).
119	/Users/ficeto/Desktop/ESP32/ESP32/esp-idf-public/components/esp32/./dport_access.c: No such file or directory.
A file missing? Where have I to put it?

Thank you very much for your help

markus_e
Posts: 2
Joined: Tue Nov 21, 2017 10:31 pm

Re: spi slave example

Postby markus_e » Thu Dec 07, 2017 11:57 am

Hi,
did you manage to resolve that problem and use ESP32 in slave mode?

thanks!

Who is online

Users browsing this forum: No registered users and 104 guests