Bluetooth wifi coexistence problem
Posted: Thu Sep 27, 2018 10:54 am
I added the wifi startup code to the play_bt_music_example in the original adf, but I didn't operate the wifi. When I connected the Bluetooth to start playing, after waiting for 5 seconds, the cpu was reset by wdt, when I removed the wifi-related function. Everything is normal, here is the error message:
I checked the adf getting started guide, I have already opened the PSRAM support relatively, I believe this is not a problem of insufficient memory, it should be related to the opening of wifi, when I turn on wifi, Bluetooth connection, wifi will be disconnected.
Code: Select all
I (53310) wifi: bcn_timout,ap_probe_send_start
I (55820) wifi: ap_probe_send over, resett wifi status to disassoc
I (55820) wifi: state: run -> init (1)
I (55820) wifi: pm stop, total sleep time: 0/51217950
I (55820) wifi: n:6 0, o:6 1, ap:255 255, sta:6 1, prof:1
W (55830) PERIPH_WIFI: Wi-Fi disconnected from SSID xinyuan, auto-reconnect enabled, reconnect after 30000 ms
I (55840) BLUETOOTH_EXAMPLE: [10] heap_caps_get_free_size : 4181884
E (58530) BT: Pkt dropped
E (65800) BT: Pkt dropped
E (71460) BT: Pkt dropped
E (78380) BT: Pkt dropped
E (85650) BT: Pkt dropped
ASSERT_PARAM(8192 0), in rwbt.c at line 265
Guru Meditation Error: Core 0 panic'ed (Interrupt wdt timeout on CPU0)
Register dump:
PC : 0x400883f6 PS : 0x00060034 A0 : 0x8008b38c A1 : 0x3ffc05b0
0x400883f6: r_assert_param at ??:?
A2 : 0x00000001 A3 : 0x00000000 A4 : 0x00000000 A5 : 0x60008054
A6 : 0x3ffc1028 A7 : 0x60008050 A8 : 0x800883f1 A9 : 0x3ffc0590
A10 : 0x00000004 A11 : 0x00000000 A12 : 0x6000804c A13 : 0xffffffff
A14 : 0x00000000 A15 : 0xfffffffc SAR : 0x00000004 EXCCAUSE: 0x00000005
EXCVADDR: 0x00000000 LBEG : 0x40088329 LEND : 0x40088330 LCOUNT : 0x00000000
0x40088329: r_assert_param at ??:?
0x40088330: r_assert_param at ??:?
Backtrace: 0x400883f6:0x3ffc05b0 0x4008b389:0x3ffc05d0 0x4008b623:0x3ffc05f0 0x400860e9:0x3ffc0610 0x400d20cf:0x00000000
0x400883f6: r_assert_param at ??:?
0x4008b389: r_rwbt_isr at ??:?
0x4008b623: r_rwbtdm_isr_wrapper at intc.c:?
0x400860e9: _xt_lowint1 at D:/ESP32/esp-adf/esp-idf/components/freertos/xtensa_vectors.S:1105
0x400d20cf: esp_vApplicationIdleHook at D:/ESP32/esp-adf/esp-idf/components/esp32/freertos_hooks.c:85
Rebooting...
ets Jun 8 2016 00:22:57
rst:0xc (SW_CPU_RESET),boot:0x3f (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0xf7,wp_drv:0xfe91fed3
mode:SLOW_RD, clock div:1
cmd len -1
ets_main.c 371
ets Jun 8 2016 00:22:57
rst:0x10 (RTCWDT_RTC_RESET),boot:0x3f (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:1
load:0x3fff0018,len:4
load:0x3fff001c,len:5864
load:0x40078000,len:0
ho 12 tail 0 room 4
load:0x40078000,len:15536
entry 0x40078ff4