Page 1 of 1

Bluetooth 5 crashes ESP32-PICO-D4

Posted: Thu Apr 06, 2023 2:25 pm
by DJesusCry
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

Re: Bluetooth 5 crashes ESP32-PICO-D4

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

Re: Bluetooth 5 crashes ESP32-PICO-D4

Posted: Fri Apr 07, 2023 12:15 pm
by DJesusCry
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 !

Re: Bluetooth 5 crashes ESP32-PICO-D4

Posted: Sat Apr 08, 2023 3:07 am
by ESP_Sprite
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?