ESP32-C6无法开启uart hci

jingwenliou
Posts: 2
Joined: Tue Feb 20, 2024 6:19 am

ESP32-C6无法开启uart hci

Postby jingwenliou » Wed Feb 21, 2024 7:16 am

开发板:ESP32-C6-DevKitM-1 board
esp-idf:V5.2
我们想用esp-idf里的hci示例把ESP32-C6 的uart口作为hci io,来与pc传递hci消息
当前以后得用例有以下问题:
controller_hci_uart_esp32:
1.可以编译和烧录成功,但是这个貌似支持btdm的芯片,而ESP32-C6只支持ble
2.而是烧录成功后CONTROLLER_UART_HCI打开失败

Code: Select all

[0;33mW (356) BLE_INIT: invalid controller mode[0m
[0;31mE (366) CONTROLLER_UART_HCI: Bluetooth Controller initialize failed: ESP_FAIL[0m
controller_hci_uart_esp32c3_and_esp32s3:

编译不过,espc6 找不到头文件 hal/uhci_ll.h file

所以, 如果我们想要打开ESP32-C6的uart hci,应该怎么操作 ?
Attachments
企业微信截图_17084152101557.png
企业微信截图_17084152101557.png (110.27 KiB) Viewed 1135 times
企业微信截图_17084162483491.png
企业微信截图_17084162483491.png (141.89 KiB) Viewed 1135 times

Who is online

Users browsing this forum: No registered users and 171 guests