h2zero / NimBLE-Arduino

A fork of the NimBLE library structured for compilation with Arduino, for use with ESP32, nRF5x.
https://h2zero.github.io/NimBLE-Arduino/
Apache License 2.0
667 stars 138 forks source link

ble does not work when cpu set to 40mhz or bellow #657

Closed Gibbz closed 3 weeks ago

Gibbz commented 2 months ago

I'm trying to optimize power on my esp32. So I have dropped the cpu speed to 40., but nimbleble stops working. The device does not show in the scanner at 40mhz or bellow. Should this still work at 40mhz? Id ideally love to drop down to 10mhz.

Thanks

toaster-robotics commented 2 months ago

@Gibbz I think this is a esp32 thing. This is a screenshot of the Arduino IDE showing that WiFi (likely including BLE) drops out after 80MHz. screenshot

h2zero commented 2 months ago

Hello, as stated above 80mhz is the minimum required for BLE/WiFi.