Bluetooth 5 crashes ESP32-PICO-D4

DJesusCry
Posts: 4
Joined: Wed Jul 21, 2021 7:50 am

Bluetooth 5 crashes ESP32-PICO-D4

Postby DJesusCry » Thu Apr 06, 2023 2:25 pm

Hello there !

I've been working on a project with ESP32-pico-kit V4 (which embarks a ESP32-PICO-D4 chip) for years and had no problems with bluetooth connection.

Since recently, I started using Bluetooth 5 dongles and my ESP32 crashes directly after pairing it with my PC. Neverless, the pairing seems to work as I see my device in win10 bluetooth list but as soon as I try to actually connect my app to the device, it crashes too.

Since this is a big project, I would not ask what I did wrong in my code but rather if my code could be the reason it crashes ? Or could the Bluetooth 5 not be compatible with the chip ? I read bluetooth 5 draws more power and my esp32 runs on batteries, could the connection draws too much power from my batteries and the ESP32 just goes undervoltage ?

I would rather know what could go wrong before looking at the code for nothing ahah. As mentioned, I never had any problems with Bluetooth 4.2 for years with the same code.


Thanks everyone :D

ESP_LJH
Posts: 387
Joined: Tue May 18, 2021 9:21 am

Re: Bluetooth 5 crashes ESP32-PICO-D4

Postby ESP_LJH » Fri Apr 07, 2023 9:54 am

ESP32 does not support bluetooth 5.0.

DJesusCry
Posts: 4
Joined: Wed Jul 21, 2021 7:50 am

Re: Bluetooth 5 crashes ESP32-PICO-D4

Postby DJesusCry » Fri Apr 07, 2023 12:15 pm

ESP_LJH wrote:
Fri Apr 07, 2023 9:54 am
ESP32 does not support bluetooth 5.0.

Well, clear and concise, i like that !

When googling for it, I found many topics telling me that is was, but it was actually S3/C3 chips :?

Thanks !

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

Re: Bluetooth 5 crashes ESP32-PICO-D4

Postby ESP_Sprite » Sat Apr 08, 2023 3:07 am

On the other side of the coin, I'd also not expect BT5 to crash the chip; both sides should figure out the most recent version of the protocol they can use and use that. Can you tell a bit more about the crash? Have you tried updating ESP-IDF, perhaps that helps?

Who is online

Users browsing this forum: No registered users and 57 guests