Error when trying to connect to Web server via Wifi while Bluetooth is on: bcn_timout, alloc fail

snahmad75
Posts: 445
Joined: Wed Jan 24, 2018 6:32 pm

Re: Error when trying to connect to Web server via Wifi while Bluetooth is on: bcn_timout, alloc fail

Postby snahmad75 » Thu Sep 06, 2018 9:50 pm

loboris wrote:
snahmad75 wrote: Are you using WIFI as well. Does your WIFI is configure to use external RAM?
Yes, I'm using wifi. I could not detetect any difference whether wifi is configured to use external RAM or not (appart from having different amount of free ram).

How do you specify to use CPU0 core for WIFI and CPU1 core for rest of Tasks for freeRTOS?

User avatar
loboris
Posts: 514
Joined: Wed Dec 21, 2016 7:40 pm

Re: Error when trying to connect to Web server via Wifi while Bluetooth is on: bcn_timout, alloc fail

Postby loboris » Fri Sep 07, 2018 7:40 am

I think low-level wifi tasks always runs on core0 (and you cannot change it). You can create your application tasks pinned to core1 or core0.

Ritesh
Posts: 1365
Joined: Tue Sep 06, 2016 9:37 am
Location: India
Contact:

Re: Error when trying to connect to Web server via Wifi while Bluetooth is on: bcn_timout, alloc fail

Postby Ritesh » Sat Sep 08, 2018 5:31 pm

Hi,

you can use xtaskcreatepinnedtocore API to create your application level task to either core 0 or core 1 based on your application requirement
Regards,
Ritesh Prajapati

chegewara
Posts: 2240
Joined: Wed Jun 14, 2017 9:00 pm

Re: Error when trying to connect to Web server via Wifi while Bluetooth is on: bcn_timout, alloc fail

Postby chegewara » Sat Sep 08, 2018 7:18 pm

Now you have option in menuconfig to set which core suppose to be used by wifi task.

snahmad75
Posts: 445
Joined: Wed Jan 24, 2018 6:32 pm

Re: Error when trying to connect to Web server via Wifi while Bluetooth is on: bcn_timout, alloc fail

Postby snahmad75 » Sat Sep 08, 2018 7:23 pm

I cannot find in menuconfig. can you point which option?

chegewara
Posts: 2240
Joined: Wed Jun 14, 2017 9:00 pm

Re: Error when trying to connect to Web server via Wifi while Bluetooth is on: bcn_timout, alloc fail

Postby chegewara » Sat Sep 08, 2018 8:09 pm

in esp-idf master commit:
at the bottom in submenu "Wi-Fi" is option "WiFi Task Core ID"

Who is online

Users browsing this forum: No registered users and 248 guests