esp32-wifi

Divya_y
Posts: 7
Joined: Fri Apr 16, 2021 11:40 am

esp32-wifi

Postby Divya_y » Mon May 03, 2021 3:50 pm

Hi everyone,
We are using esp32 in our project, when wifi is connected from esp32 the other tasks are working slowly, can anyone please tell me the solution for this.
Thank you

ESP_Sprite
Posts: 9730
Joined: Thu Nov 26, 2015 4:08 am

Re: esp32-wifi

Postby ESP_Sprite » Thu May 06, 2021 4:21 am

Can you move the other tasks to a different core?

Divya_y
Posts: 7
Joined: Fri Apr 16, 2021 11:40 am

Re: esp32-wifi

Postby Divya_y » Thu May 06, 2021 1:47 pm

Yes, we have moved it, still the same issue

alanesq
Posts: 86
Joined: Thu Dec 14, 2017 8:38 pm

Re: esp32-wifi

Postby alanesq » Thu May 06, 2021 4:52 pm

It is worth checking the power supply to it is good as I have known them to do all sorts of weird things if they are not happy with the power.

ESP_Sprite
Posts: 9730
Joined: Thu Nov 26, 2015 4:08 am

Re: esp32-wifi

Postby ESP_Sprite » Fri May 07, 2021 12:00 am

Any chance of you being able to show what exactly you're doing aside from WiFi?

Divya_y
Posts: 7
Joined: Fri Apr 16, 2021 11:40 am

Re: esp32-wifi

Postby Divya_y » Fri May 07, 2021 6:32 am

Power section is good, we have sufficient power required for the microcontroller and there is no noise also.

Divya_y
Posts: 7
Joined: Fri Apr 16, 2021 11:40 am

Re: esp32-wifi

Postby Divya_y » Fri May 07, 2021 6:34 am

Apart from wifi, in another task we are communicating with adc

ESP_Sprite
Posts: 9730
Joined: Thu Nov 26, 2015 4:08 am

Re: esp32-wifi

Postby ESP_Sprite » Fri May 07, 2021 9:37 am

Can you tell us what order size the slowdown is of? If you need the absolute full speed of the controller, WiFi may slow you down a bit as the stack is fairly large and might push your ADC code out of the cache at times.

Divya_y
Posts: 7
Joined: Fri Apr 16, 2021 11:40 am

Re: esp32-wifi

Postby Divya_y » Fri May 07, 2021 10:13 am

My adc task is running on core 1 and wifi task is in core 0

ESP_Sprite
Posts: 9730
Joined: Thu Nov 26, 2015 4:08 am

Re: esp32-wifi

Postby ESP_Sprite » Mon May 10, 2021 3:37 am

Again, can you expand a little bit more? How much and what type of slowdown are you seeing? What are you doing with the ADC in the first place? We can't help you if you don't give us any information.

Who is online

Users browsing this forum: MicroController and 103 guests