Polling SPI Inside Timer Interrupt
Posted: Wed Feb 27, 2019 3:18 am
Hi everyone,
I have a conceptual question that hopefully you could help me figure out. I am not sure sharing my codes is a good idea since it spans 3 C files and 3 H files. But anyway here is the symptom:
I have a timer interrupt that runs at 500 Hz. Whenever I have a SPI polling program inside the interrupt, the esp32 crash and display the following on the monitor:
Could you help me undestand why the esp32 crashes and reboot? It has no problem as long as I don't have any SPI command function inside the interrupt.
Would it be better to place the SPI command in a task instead? I need to use SPI commands to cycle through the MUX of the ADC chip at the rate of 100 Hz.
Thanks
I have a conceptual question that hopefully you could help me figure out. I am not sure sharing my codes is a good idea since it spans 3 C files and 3 H files. But anyway here is the symptom:
I have a timer interrupt that runs at 500 Hz. Whenever I have a SPI polling program inside the interrupt, the esp32 crash and display the following on the monitor:
Code: Select all
Toolchain path: /home/khoi/esp/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
Toolchain version: crosstool-ng-1.22.0-80-g6c4433a
Compiler version: 5.2.0
Python requirements from /home/khoi/esp/esp-idf/requirements.txt are satisfied.
MONITOR
--- idf_monitor on /dev/ttyUSB1 115200 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
fini�ets Jun 8 2016 00:22:57
rst:0x1 (POWERON_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:0x3fff0018,len:4
load:0x3fff001c,len:8500
load:0x40078000,len:11960
load:0x40080400,len:7060
entry 0x400807a0
D (61) bootloader_flash: mmu set block paddr=0x00000000 (was 0xffffffff)
I (39) boot: ESP-IDF v3.3-beta1-324-g2790d4a 2nd stage bootloader
I (39) boot: compile time 19:37:09
D (39) boot: Enabling RTCWDT(9000 ms)
I (52) boot: Enabling RNG early entropy source...
D (52) boot: magic e9
D (52) boot: segments 04
D (53) boot: spi_mode 02
D (56) boot: spi_speed 00
D (59) boot: spi_size 02
I (61) boot: SPI Speed : 40MHz
I (65) boot: SPI Mode : DIO
I (69) boot: SPI Flash Size : 4MB
D (73) bootloader_flash: mmu set paddr=00000000 count=1 size=c00 src_addr=8000 src_addr_aligned=0
D (82) boot: mapped partition table 0x8000 at 0x3f408000
D (88) flash_parts: partition table verified, 4 entries
I (93) boot: Partition Table:
I (97) boot: ## Label Usage Type ST Offset Length
D (104) boot: load partition table entry 0x3f408000
D (109) boot: type=1 subtype=2
I (112) boot: 0 nvs WiFi data 01 02 00009000 00006000
D (120) boot: load partition table entry 0x3f408020
D (125) boot: type=1 subtype=1
I (128) boot: 1 phy_init RF data 01 01 0000f000 00001000
D (135) boot: load partition table entry 0x3f408040
D (140) boot: type=0 subtype=0
I (143) boot: 2 factory factory app 00 00 00010000 00100000
I (151) boot: End of partition table
D (155) boot: Trying partition index -1 offs 0x10000 size 0x100000
D (161) esp_image: reading image header @ 0x10000
D (166) bootloader_flash: mmu set block paddr=0x00010000 (was 0xffffffff)
D (173) esp_image: image header: 0xe9 0x06 0x02 0x01 40081218
I (179) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x1cd80 (118144) map
D (188) bootloader_flash: mmu set paddr=00010000 count=2 size=1cd80 src_addr=10020 src_addr_aligned=10000
D (239) bootloader_flash: mmu set block paddr=0x00020000 (was 0xffffffff)
I (239) esp_image: segment 1: paddr=0x0002cda8 vaddr=0x3ffb0000 size=0x031e8 ( 12776) load
D (243) bootloader_flash: mmu set paddr=00020000 count=1 size=31e8 src_addr=2cda8 src_addr_aligned=20000
D (258) bootloader_flash: mmu set block paddr=0x00020000 (was 0xffffffff)
I (260) esp_image: segment 2: paddr=0x0002ff98 vaddr=0x40080000 size=0x00078 ( 120) load
0x40080000: _WindowOverflow4 at /home/khoi/esp/esp-idf/components/freertos/xtensa_vectors.S:1779
D (269) bootloader_flash: mmu set paddr=00020000 count=2 size=78 src_addr=2ff98 src_addr_aligned=20000
D (278) bootloader_flash: mmu set block paddr=0x00030000 (was 0xffffffff)
I (285) esp_image: segment 3: paddr=0x00030018 vaddr=0x400d0018 size=0x6b454 (439380) map
0x400d0018: _stext at ??:?
D (294) bootloader_flash: mmu set paddr=00030000 count=7 size=6b454 src_addr=30018 src_addr_aligned=30000
D (457) bootloader_flash: mmu set block paddr=0x00090000 (was 0xffffffff)
I (458) esp_image: segment 4: paddr=0x0009b474 vaddr=0x40080078 size=0x00388 ( 904) load
0x40080078: _xt_alloca_exc at /home/khoi/esp/esp-idf/components/freertos/xtensa_vectors.S:1841
D (462) bootloader_flash: mmu set paddr=00090000 count=1 size=388 src_addr=9b474 src_addr_aligned=90000
D (472) bootloader_flash: mmu set block paddr=0x00090000 (was 0xffffffff)
I (478) esp_image: segment 5: paddr=0x0009b804 vaddr=0x40080400 size=0x12674 ( 75380) load
D (487) bootloader_flash: mmu set paddr=00090000 count=2 size=12674 src_addr=9b804 src_addr_aligned=90000
D (528) bootloader_flash: mmu set block paddr=0x000a0000 (was 0xffffffff)
D (528) esp_image: Calculated hash: 97de951fd0471d655e356638f626a26ce3aa73e00461abaa24eb022c0e3ebf31
D (533) bootloader_flash: mmu set paddr=000a0000 count=1 size=20 src_addr=ade80 src_addr_aligned=a0000
D (543) bootloader_flash: mmu set paddr=000a0000 count=1 size=20 src_addr=ade80 src_addr_aligned=a0000
I (563) boot: Loaded app from partition at offset 0x10000
I (563) boot: Disabling RNG early entropy source...
D (563) boot: Mapping segment 0 as DROM
D (567) boot: Mapping segment 3 as IROM
D (571) boot: calling set_cache_and_start_app
D (576) boot: configure drom and irom and start
D (580) boot: start: 0x40081218
0x40081218: call_start_cpu0 at /home/khoi/esp/esp-idf/components/esp32/cpu_start.c:121
I (584) cpu_start: Pro cpu up.
I (587) cpu_start: Application information:
I (592) cpu_start: Project name: ESP_ADS_WLAN
I (597) cpu_start: App version: 1
I (602) cpu_start: Compile time: 19:37:08
I (607) cpu_start: Compile date: Feb 26 2019
I (612) cpu_start: ESP-IDF: v3.3-beta1-324-g2790d4a
I (619) cpu_start: Starting app cpu, entry point is 0x400811c4
0x400811c4: call_start_cpu1 at /home/khoi/esp/esp-idf/components/esp32/cpu_start.c:265
I (0) cpu_start: App cpu up.
I (629) heap_init: Initializing. RAM available for dynamic allocation:
I (636) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (642) heap_init: At 3FFD0928 len 0000F6D8 (61 KiB): DRAM
I (648) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (654) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (661) heap_init: At 40092A74 len 0000D58C (53 KiB): IRAM
I (667) cpu_start: Pro cpu start user code
I (14) esp_core_dump: Init core dump to UART
E (15) esp_core_dump: No core dump partition found!
I (15) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (85) tcp_perf:: ESP_WIFI_MODE_STA
I (105) wifi: wifi driver task: 3ffd7c94, prio:23, stack:3584, core=0
I (105) wifi: wifi firmware version: 6b5b696
I (105) wifi: config NVS flash: enabled
I (105) wifi: config nano formating: disabled
I (115) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
I (125) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
I (155) wifi: Init dynamic tx buffer num: 32
I (155) wifi: Init data frame dynamic rx buffer num: 32
I (155) wifi: Init management frame dynamic rx buffer num: 32
I (155) wifi: Init static rx buffer size: 1600
I (165) wifi: Init static rx buffer num: 10
I (165) wifi: Init dynamic rx buffer num: 32
I (325) phy: phy_version: 4100, 6fa5e27, Jan 25 2019, 17:02:06, 1, 0
I (325) wifi: mode : sta (30:ae:a4:bc:0f:cc)
I (325) tcp_perf:: wifi_init_sta finished.
I (335) tcp_perf:: connect to ap SSID:ESP32 2.4 password:Cao5566thU
I (455) wifi: new:<1,0>, old:<1,0>, ap:<255,255>, sta:<1,0>, prof:1
I (1435) wifi: state: init -> auth (b0)
I (1435) wifi: state: auth -> assoc (0)
I (1455) wifi: state: assoc -> run (10)
Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled.
Core 0 register dump:
PC : 0x40084cf9 PS : 0x00060031 A0 : 0x80084e8f A1 : 0x3ffb0d60
0x40084cf9: spi_device_polling_start at /home/khoi/esp/esp-idf/components/driver/spi_master.c:547
A2 : 0x00000000 A3 : 0x3ffb0db0 A4 : 0xffffffff A5 : 0x3ffd7b60
A6 : 0x3ffd13d0 A7 : 0x00000000 A8 : 0x3ffd67f0 A9 : 0x00000000
A10 : 0x0000000a A11 : 0x3ffd7b40 A12 : 0x8010962f A13 : 0x3ffd7b30
A14 : 0x3ffcdd64 A15 : 0x3ffd13ec SAR : 0x0000001b EXCCAUSE: 0x0000001c
EXCVADDR: 0x00000040 LBEG : 0x4000c2e0 LEND : 0x4000c2f6 LCOUNT : 0xffffffff
Core 0 was running in ISR context:
EPC1 : 0x40084cf9 EPC2 : 0x00000000 EPC3 : 0x00000000 EPC4 : 0x00000000
0x40084cf9: spi_device_polling_start at /home/khoi/esp/esp-idf/components/driver/spi_master.c:547
Backtrace: 0x40084cf9:0x3ffb0d60 0x40084e8c:0x3ffb0d90 0x400d2f71:0x3ffb0db0 0x400d30b2:0x3ffb0e00 0x400d3179:0x3ffb0e30 0x4008257d:0x3ffb0e50 0x401085b4:0x3ffd7ad0 0x40086ba5:0x3ffd7af0 0x401091ba:0x3ffd7b30 0x4010962c:0x3ffd7b60 0x40109969:0x3ffd7b90 0x4008847d:0x3ffd7bc0 0x4008fc9d:0x3ffd7c00
0x40084cf9: spi_device_polling_start at /home/khoi/esp/esp-idf/components/driver/spi_master.c:547
0x40084e8c: spi_device_polling_transmit at /home/khoi/esp/esp-idf/components/driver/spi_master.c:547
0x400d2f71: ADS1256_REG at /home/khoi/esp/workspace/ESP_ADS_WLAN/main/adc_collector.c:61
0x400d30b2: ADS1256_Collect at /home/khoi/esp/workspace/ESP_ADS_WLAN/main/adc_collector.c:162 (discriminator 2)
0x400d3179: timer_isr at /home/khoi/esp/workspace/ESP_ADS_WLAN/main/adc_collector.c:117
0x4008257d: _xt_lowint1 at /home/khoi/esp/esp-idf/components/freertos/xtensa_vectors.S:1154
0x401085b4: esp_wifi_internal_set_msdu_lifetime at ??:?
0x40086ba5: lmacTxFrame at ??:?
0x401091ba: esp_wifi_internal_set_msdu_lifetime at ??:?
0x4010962c: lmacProcessAckTimeout at ??:?
0x40109969: lmacProcessTxComplete at ??:?
0x4008847d: ppTask at ??:?
0x4008fc9d: vPortTaskWrapper at /home/khoi/esp/esp-idf/components/freertos/port.c:403
I (1523) esp_core_dump: Press Enter to print core dump to UART...
I (1529) esp_core_dump: Print core dump to uart...
================= CORE DUMP START =================
7BsAAAEAAAAJAAAAZAEAAA==
sBX9P5De/T+43/0/
kN79P1Df/T8AAAAAdDz7P3Q8+z+wFf0/bDz7PxQAAAAAAAAAAAAAALAV/T8AAAAA
BQAAALzP/T90Y3BfY29ubgAAAAAAAAAA////f7jf/T8AAAAAIAQGAAUAAAACAAAA
AAAAAAAAAAAAAAAArOj6PxTp+j986fo/AAAAAAAAAAABAAAAAAAAADBQQD8AAAAA
SB0AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAA=
oPwIgPDe/T8MMEA/AAAAANDe/T+w3v0/DAAAAAAAAAAAAAAANC0NQAAAAADDBQAA
DDBAPyMPBgAAAAAAAAAAABgwQD8fAAAAAQAAAAUAAAAAAAAAMN/9PzQtDUAAAAAA
AAAAAAAAAAAAAAAAAAAAAMAR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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAABnD3c=
GCMIQP36CEAwDgYAiyEIgGAM/T8Q/vo/AAAAAFj++j8AAAAAAQAAAAIAAAD9+giA
QAz9PwAAAAD8Pfs//D37P83NAAABAAAAAAAAAAAAAAClpaWlpaWlpQAAAAAAAAAA
AAAAABglCEDNzQAAtBsJQFA/+z8AAAAAAAAAAAAAAAD//z+zAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAABcIQhAAAAAAAAAAACg/AiAoAz9PwAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAP////8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAMAM/T9cIQhAAAAAACMDBgBk/vo/AQAAAAEAAAAAAAAA4Az9PwAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAH4RCICQO/4/bDv7P0Q++z8AAAAAAAAAAOwM/T8AAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
================= CORE DUMP END =================
E (2402) esp_core_dump: Skipped 1 tasks with bad TCB!
E (2407) esp_core_dump: Crashed task has been skipped!
I (2413) esp_core_dump: Core dump has been written to uart.
Rebooting...
ets Jun 8 2016 00:22:57
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:0x3fff0018,len:4
load:0x3fff001c,len:8500
load:0x40078000,len:11960
load:0x40080400,len:7060
entry 0x400807a0
D (62) bootloader_flash: mmu set block paddr=0x00000000 (was 0xffffffff)
I (40) boot: ESP-IDF v3.3-beta1-324-g2790d4a 2nd stage bootloader
I (40) boot: compile time 19:37:09
D (40) boot: Enabling RTCWDT(9000 ms)
I (53) boot: Enabling RNG early entropy source...
D (53) boot: magic e9
D (53) boot: segments 04
D (55) boot: spi_mode 02
D (57) boot: spi_speed 00
D (60) boot: spi_size 02
I (63) boot: SPI Speed : 40MHz
I (67) boot: SPI Mode : DIO
I (71) boot: SPI Flash Size : 4MB
D (75) bootloader_flash: mmu set paddr=00000000 count=1 size=c00 src_addr=8000 src_addr_aligned=0
D (84) boot: mapped partition table 0x8000 at 0x3f408000
D (89) flash_parts: partition table verified, 4 entries
I (94) boot: Partition Table:
I (98) boot: ## Label Usage Type ST Offset Length
D (105) boot: load partition table entry 0x3f408000
D (110) boot: type=1 subtype=2
I (113) boot: 0 nvs WiFi data 01 02 00009000 00006000
D (121) boot: load partition table entry 0x3f408020
D (126) boot: type=1 subtype=1
I (129) boot: 1 phy_init RF data 01 01 0000f000 00001000
D (137) boot: load partition table entry 0x3f408040
D (142) boot: type=0 subtype=0
I (145) boot: 2 factory factory app 00 00 00010000 00100000
I (152) boot: End of partition table
D (157) boot: Trying partition index -1 offs 0x10000 size 0x100000
D (163) esp_image: reading image header @ 0x10000
D (168) bootloader_flash: mmu set block paddr=0x00010000 (was 0xffffffff)
D (174) esp_image: image header: 0xe9 0x06 0x02 0x01 40081218
I (180) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x1cd80 (118144) map
D (189) bootloader_flash: mmu set paddr=00010000 count=2 size=1cd80 src_addr=10020 src_addr_aligned=10000
D (240) bootloader_flash: mmu set block paddr=0x00020000 (was 0xffffffff)
I (240) esp_image: segment 1: paddr=0x0002cda8 vaddr=0x3ffb0000 size=0x031e8 ( 12776) load
D (245) bootloader_flash: mmu set paddr=00020000 count=1 size=31e8 src_addr=2cda8 src_addr_aligned=20000
D (259) bootloader_flash: mmu set block paddr=0x00020000 (was 0xffffffff)
I (261) esp_image: segment 2: paddr=0x0002ff98 vaddr=0x40080000 size=0x00078 ( 120) load
0x40080000: _WindowOverflow4 at /home/khoi/esp/esp-idf/components/freertos/xtensa_vectors.S:1779
D (270) bootloader_flash: mmu set paddr=00020000 count=2 size=78 src_addr=2ff98 src_addr_aligned=20000
D (280) bootloader_flash: mmu set block paddr=0x00030000 (was 0xffffffff)
I (286) esp_image: segment 3: paddr=0x00030018 vaddr=0x400d0018 size=0x6b454 (439380) map
0x400d0018: _stext at ??:?
D (295) bootloader_flash: mmu set paddr=00030000 count=7 size=6b454 src_addr=30018 src_addr_aligned=30000
D (459) bootloader_flash: mmu set block paddr=0x00090000 (was 0xffffffff)
I (459) esp_image: segment 4: paddr=0x0009b474 vaddr=0x40080078 size=0x00388 ( 904) load
0x40080078: _xt_alloca_exc at /home/khoi/esp/esp-idf/components/freertos/xtensa_vectors.S:1841
D (463) bootloader_flash: mmu set paddr=00090000 count=1 size=388 src_addr=9b474 src_addr_aligned=90000
D (473) bootloader_flash: mmu set block paddr=0x00090000 (was 0xffffffff)
I (480) esp_image: segment 5: paddr=0x0009b804 vaddr=0x40080400 size=0x12674 ( 75380) load
D (489) bootloader_flash: mmu set paddr=00090000 count=2 size=12674 src_addr=9b804 src_addr_aligned=90000
D (530) bootloader_flash: mmu set block paddr=0x000a0000 (was 0xffffffff)
D (530) esp_image: Calculated hash: 97de951fd0471d655e356638f626a26ce3aa73e00461abaa24eb022c0e3ebf31
D (534) bootloader_flash: mmu set paddr=000a0000 count=1 size=20 src_addr=ade80 src_addr_aligned=a0000
D (544) bootloader_flash: mmu set paddr=000a0000 count=1 size=20 src_addr=ade80 src_addr_aligned=a0000
I (564) boot: Loaded app from partition at offset 0x10000
I (564) boot: Disabling RNG early entropy source...
D (565) boot: Mapping segment 0 as DROM
D (569) boot: Mapping segment 3 as IROM
D (573) boot: calling set_cache_and_start_app
D (577) boot: configure drom and irom and start
D (582) boot: start: 0x40081218
0x40081218: call_start_cpu0 at /home/khoi/esp/esp-idf/components/esp32/cpu_start.c:121
I (585) cpu_start: Pro cpu up.
I (589) cpu_start: Application information:
I (594) cpu_start: Project name: ESP_ADS_WLAN
I (599) cpu_start: App version: 1
I (603) cpu_start: Compile time: 19:37:08
I (608) cpu_start: Compile date: Feb 26 2019
I (614) cpu_start: ESP-IDF: v3.3-beta1-324-g2790d4a
I (620) cpu_start: Starting app cpu, entry point is 0x400811c4
0x400811c4: call_start_cpu1 at /home/khoi/esp/esp-idf/components/esp32/cpu_start.c:265
I (599) cpu_start: App cpu up.
I (631) heap_init: Initializing. RAM available for dynamic allocation:
I (637) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (644) heap_init: At 3FFD0928 len 0000F6D8 (61 KiB): DRAM
I (650) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (656) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (662) heap_init: At 40092A74 len 0000D58C (53 KiB): IRAM
I (669) cpu_start: Pro cpu start user code
I (16) esp_core_dump: Init core dump to UART
E (16) esp_core_dump: No core dump partition found!
I (17) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (85) tcp_perf:: ESP_WIFI_MODE_STA
I (105) wifi: wifi driver task: 3ffd7d18, prio:23, stack:3584, core=0
I (105) wifi: wifi firmware version: 6b5b696
I (105) wifi: config NVS flash: enabled
I (105) wifi: config nano formating: disabled
I (105) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
I (115) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
I (155) wifi: Init dynamic tx buffer num: 32
I (155) wifi: Init data frame dynamic rx buffer num: 32
I (155) wifi: Init management frame dynamic rx buffer num: 32
I (155) wifi: Init static rx buffer size: 1600
I (155) wifi: Init static rx buffer num: 10
I (165) wifi: Init dynamic rx buffer num: 32
I (285) phy: phy_version: 4100, 6fa5e27, Jan 25 2019, 17:02:06, 1, 0
I (285) wifi: mode : sta (30:ae:a4:bc:0f:cc)
I (285) tcp_perf:: wifi_init_sta finished.
I (295) tcp_perf:: connect to ap SSID:ESP32 2.4 password:Cao5566thU
I (415) wifi: new:<1,0>, old:<1,0>, ap:<255,255>, sta:<1,0>, prof:1
I (1395) wifi: state: init -> auth (b0)
I (1395) wifi: state: auth -> assoc (0)
I (1415) wifi: state: assoc -> run (10)
Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled.
Core 0 register dump:
PC : 0x40084cf9 PS : 0x00060031 A0 : 0x80084e8f A1 : 0x3ffb0d60
0x40084cf9: spi_device_polling_start at /home/khoi/esp/esp-idf/components/driver/spi_master.c:547
A2 : 0x00000000 A3 : 0x3ffb0db0 A4 : 0xffffffff A5 : 0x3ffd2cd0
A6 : 0x00000000 A7 : 0x3ffd18e4 A8 : 0x00003424 A9 : 0x3ffd401c
A10 : 0x0000000a A11 : 0x3ffd2db0 A12 : 0x8008fca0 A13 : 0x3ffd2db0
A14 : 0x00000000 A15 : 0x00000000 SAR : 0x0000001b EXCCAUSE: 0x0000001c
EXCVADDR: 0x00000040 LBEG : 0x4000c2e0 LEND : 0x4000c2f6 LCOUNT : 0xffffffff
Core 0 was running in ISR context:
EPC1 : 0x40084cf9 EPC2 : 0x00000000 EPC3 : 0x00000000 EPC4 : 0x00000000
0x40084cf9: spi_device_polling_start at /home/khoi/esp/esp-idf/components/driver/spi_master.c:547
Backtrace: 0x40084cf9:0x3ffb0d60 0x40084e8c:0x3ffb0d90 0x400d2f71:0x3ffb0db0 0x400d30b2:0x3ffb0e00 0x400d3179:0x3ffb0e30 0x4008257d:0x3ffb0e50 0x4013a377:0x3ffd2d70 0x400d2747:0x3ffd2d90 0x40090c9d:0x3ffd2db0 0x4008fc9d:0x3ffd2dd0
0x40084cf9: spi_device_polling_start at /home/khoi/esp/esp-idf/components/driver/spi_master.c:547
0x40084e8c: spi_device_polling_transmit at /home/khoi/esp/esp-idf/components/driver/spi_master.c:547
0x400d2f71: ADS1256_REG at /home/khoi/esp/workspace/ESP_ADS_WLAN/main/adc_collector.c:61
0x400d30b2: ADS1256_Collect at /home/khoi/esp/workspace/ESP_ADS_WLAN/main/adc_collector.c:162 (discriminator 2)
0x400d3179: timer_isr at /home/khoi/esp/workspace/ESP_ADS_WLAN/main/adc_collector.c:117
0x4008257d: _xt_lowint1 at /home/khoi/esp/esp-idf/components/freertos/xtensa_vectors.S:1154
0x4013a377: esp_pm_impl_waiti at /home/khoi/esp/esp-idf/components/esp32/pm_esp32.c:487
0x400d2747: esp_vApplicationIdleHook at /home/khoi/esp/esp-idf/components/esp32/freertos_hooks.c:86
0x40090c9d: prvIdleTask at /home/khoi/esp/esp-idf/components/freertos/tasks.c:5093
0x4008fc9d: vPortTaskWrapper at /home/khoi/esp/esp-idf/components/freertos/port.c:403
I (1479) esp_core_dump: Press Enter to print core dump to UART...
I (1485) esp_core_dump: Print core dump to uart...
================= CORE DUMP START =================
KBwAAAEAAAAJAAAAZAEAAA==
DBT9PxDe/T883/0/
EN79P9De/T+lpaWldDz7P3Q8+z8MFP0/bDz7PxQAAAClpaWlpaWlpQwU/T8AAAAA
BQAAAEDP/T90Y3BfY29ubgBA/T+lpaUA////fzzf/T8AAAAAIAoGAAUAAAACAAAA
AAAAAAAAAAAAAAAArOj6PxTp+j986fo/AAAAAAAAAAABAAAAAAAAADBQQD8AAAAA
SB0AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAA=
oPwIgHDe/T8MMEA/AAAAAFDe/T8w3v0/DAAAAAAAAAAAAAAANC0NQAAAAACbBQAA
DDBAPyMFBgAAAAAAAAAAABgwQD8fAAAAAQAAAAUAAAAAAAAAsN79PzQ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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAABnD3c=
GCMIQP36CEAwDgYAiyEIgGAM/T8Q/vo/AAAAAFj++j8AAAAAAQAAAAIAAAD9+giA
QAz9PwAAAAD8Pfs//D37P83NAAABAAAAAAAAAAAAAAClpaWlpaWlpQAAAAAAAAAA
AAAAABglCEDNzQAAtBsJQFA/+z8AAAAAAAAAAAAAAAD//z+zAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAABcIQhAAAAAAAAAAACg/AiAoAz9PwAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAP////8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAMAM/T9cIQhAAAAAACMDBgBk/vo/AQAAAAEAAAAAAAAA4Az9PwAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAH4RCICQO/4/bDv7P0Q++z8AAAAAAAAAAOwM/T8AAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
================= CORE DUMP END =================
E (2365) esp_core_dump: Skipped 1 tasks with bad TCB!
E (2370) esp_core_dump: Crashed task has been skipped!
I (2376) esp_core_dump: Core dump has been written to uart.
Rebooting...
ets Jun 8 2016 00:22:57
Would it be better to place the SPI command in a task instead? I need to use SPI commands to cycle through the MUX of the ADC chip at the rate of 100 Hz.
Thanks