Coexistance BT + WIFI [ESP-IDF master]

lucadep
Posts: 1
Joined: Thu Mar 29, 2018 3:45 pm

Coexistance BT + WIFI [ESP-IDF master]

Postby lucadep » Thu Mar 29, 2018 3:58 pm

Hi,
how is the situation for coexistance of Bluetooth A2DP and Wifi station?
I have issues when start audio from bluetooth that throw an assert in RWBT.C
I have seen on git issue tracker, open and closed issues related to this project combination with different error messages and causes, with the idea that espressif is still working on libraries without a real solution for this moment.

is there a way to keep both connection alive? perhaps a specific ESP-IDF release or commit?

I am trying to close a project, all works with separated module, only bt or only wifi..

Code: Select all

I (50016) BT_AV: a2dp audio_state_cb state 2
ASSERT_PARAM(8192 0), in rwbt.c at line 265
Guru Meditation Error: Core  0 panic'ed (Interrupt wdt timeout on CPU0)
Core 0 register dump:
PC      : 0x40083785  PS      : 0x00060034  A0      : 0x8008675c  A1      : 0x3ffc07a0  
0x40083785: r_assert_param at ??:?

A2      : 0x00000001  A3      : 0x00000000  A4      : 0x00000000  A5      : 0x60008054  
A6      : 0x3ffc0a18  A7      : 0x60008050  A8      : 0x80083785  A9      : 0x3ffc0780  
A10     : 0x00000004  A11     : 0x00000000  A12     : 0x6000804c  A13     : 0xffffffff  
A14     : 0x00000000  A15     : 0xfffffffc  SAR     : 0x00000004  EXCCAUSE: 0x00000005  
EXCVADDR: 0x00000000  LBEG    : 0x400836bd  LEND    : 0x400836c4  LCOUNT  : 0x00000000  
0x400836bd: r_assert_param at ??:?

0x400836c4: r_assert_param at ??:?

Core 0 was running in ISR context:
EPC1    : 0x400d3b6c  EPC2    : 0x00000000  EPC3    : 0x00000000  EPC4    : 0x40083785
0x400d3b6c: esp_vApplicationIdleHook at /data/download/esp-idf-v3.0-git/components/esp32/./freertos_hooks.c:85

0x40083785: r_assert_param at ??:?


Backtrace: 0x40083785:0x3ffc07a0 0x40086759:0x3ffc07c0 0x400869f3:0x3ffc07e0 0x40081c4a:0x3ffc0800 0x400d3b69:0x00000000
0x40083785: r_assert_param at ??:?

0x40086759: r_rwbt_isr at ??:?

0x400869f3: r_rwbtdm_isr_wrapper at intc.c:?

0x40081c4a: _xt_lowint1 at /data/download/esp-idf-v3.0-git/components/freertos/./xtensa_vectors.S:1105

0x400d3b69: esp_vApplicationIdleHook at /data/download/esp-idf-v3.0-git/components/esp32/./freertos_hooks.c:85


dylanakbt
Posts: 3
Joined: Tue Apr 03, 2018 9:59 am

Re: Coexistance BT + WIFI [ESP-IDF master]

Postby dylanakbt » Tue Apr 03, 2018 10:08 am

Hey,

I've got a system working at the moment that scans for BLE beacon packets and has also connected to a WiFi network. I haven't tried to get it doing anything much more advanced yet (talking to sockets, connecting to other Bluetooth devices) but at least that functionality seems to be coexisting fine. This is with the most recent version of esp-idf.

Who is online

Users browsing this forum: No registered users and 152 guests