Page 1 of 1

BLE低功耗模式

Posted: Thu Sep 19, 2019 1:52 am
by Lisdon
最近做个BLE的低功耗通信,在论坛看到有类似问题,就参考https://github.com/espressif/esp-idf/issues/947所说的方法配置,在程序使用ESP-IDF的gatt_server,发现在MENUCONFIG配置:

Enable Bluetooth modem sleep with external 32.768kHz crystal as low power clock:
menuconfig ---> Component config ---> Bluetooth ---> Bluetooth controller ---> MODEM SLEEP Options --->
[*] Bluetooth modem sleep
Bluetooth Modem sleep mode (ORIG mode(sleep with low power clock))
Bluetooth low power clock (External 32kHz crystal)。

然后运行程序出现错误:
E (9376) BT_HCI: command_timed_out hci layer timeout waiting for response to a command. opcode: 0xc03。
我使用的是安信可的ESP32-S,我问过原厂,他们是有带32.768晶振的
另外,看到好像可以调广播间隔时间,该如何调。

Re: BLE低功耗模式

Posted: Thu Sep 19, 2019 2:35 am
by ESP_Alvin
Hi Lisdon,

Thanks for reporting. Would you please help provide more details, information like sdk configuration, backtrace, log outputs, commit ID, hardware and etc. would help us debug further. Thanks.

Alvin

Re: BLE低功耗模式

Posted: Thu Sep 19, 2019 3:17 am
by Lisdon
我使用ESP-IDFV3.3,我现在发现好像MCU找不到32KHZ,我问问安信可原厂

Re: BLE低功耗模式

Posted: Thu Sep 19, 2019 3:35 am
by Lisdon
我使用以上2个模块都找不到32.768KHZ晶振,是我配置有误吗 :(

Re: BLE低功耗模式

Posted: Tue Sep 24, 2019 7:51 am
by Lisdon
自顶,希望这个问题有个结果................................

Re: BLE低功耗模式

Posted: Tue Oct 08, 2019 4:03 am
by KarlWang
你好,32.768KHz是ESP32模组外接的器件,我司ESP-WROVER-KIT开发板上提供了外接32.768KHz晶振,可以参考它的硬件设计:
https://docs.espressif.com/projects/esp ... r-kit.html
请先确认一下硬件是否有问题。

Re: BLE低功耗模式

Posted: Thu Oct 29, 2020 8:42 am
by ESP_XieWX
您手上还有其他的同类板子吗?建议交叉验证下,是不是这块板子是坏的。

怀疑是硬件设计上的问题,可以联系安信可,这个模组不是我们的官方模组