BLE低功耗模式

Lisdon
Posts: 9
Joined: Thu Sep 19, 2019 1:38 am

BLE低功耗模式

Postby Lisdon » Thu Sep 19, 2019 1:52 am

最近做个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晶振的
另外,看到好像可以调广播间隔时间,该如何调。

ESP_Alvin
Posts: 211
Joined: Thu May 17, 2018 2:26 am

Re: BLE低功耗模式

Postby ESP_Alvin » Thu Sep 19, 2019 2:35 am

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

Lisdon
Posts: 9
Joined: Thu Sep 19, 2019 1:38 am

Re: BLE低功耗模式

Postby Lisdon » Thu Sep 19, 2019 3:17 am

我使用ESP-IDFV3.3,我现在发现好像MCU找不到32KHZ,我问问安信可原厂

Lisdon
Posts: 9
Joined: Thu Sep 19, 2019 1:38 am

Re: BLE低功耗模式

Postby Lisdon » Thu Sep 19, 2019 3:35 am

我使用以上2个模块都找不到32.768KHZ晶振,是我配置有误吗 :(
Attachments
nofound_xtal.png
nofound_xtal.png (200.9 KiB) Viewed 13951 times
29e8bb7f7874ee548ab431956f98809.jpg
29e8bb7f7874ee548ab431956f98809.jpg (284.88 KiB) Viewed 13951 times

Lisdon
Posts: 9
Joined: Thu Sep 19, 2019 1:38 am

Re: BLE低功耗模式

Postby Lisdon » Tue Sep 24, 2019 7:51 am

自顶,希望这个问题有个结果................................

KarlWang
Posts: 2
Joined: Tue Nov 27, 2018 9:34 am

Re: BLE低功耗模式

Postby KarlWang » Tue Oct 08, 2019 4:03 am

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

ESP_XieWX
Posts: 27
Joined: Fri Jun 22, 2018 7:39 am

Re: BLE低功耗模式

Postby ESP_XieWX » Thu Oct 29, 2020 8:42 am

您手上还有其他的同类板子吗?建议交叉验证下,是不是这块板子是坏的。

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

Who is online

Users browsing this forum: No registered users and 50 guests