Cypress技术论坛
直播中

周羽姿

7年用户 207经验值
私信 关注
[问答]

有CYBT 343026的Linux驱动程序吗?

我创造了单板计算机像拉斯伯里申请,我想用cybt 343026模块。
有Linux驱动程序与该模块(通过HCI UART我想)?

以上来自于百度翻译


     以下为原文
  I'm creating an application in a single-board computer like Raspberry and I'm thinking to use the CYBT 343026 module.
Are there linux drivers for communicate with this module (via HCI on UART I suppose)?

回帖(3)

陈炜

2018-9-27 14:35:11
CYBT-33026支持BT HCI命令,假设您有一个USB到UART加密狗,它安装了Linux驱动程序。
将软件狗的UART引脚连接到CYBT-33026。
将CYBT-34 3026设置为HCI模式:Sflash没有图像或下载图像,该图像仅称为WICEDIX传输TITIN(ANP;TrimtTyFCFG);
打开UART端口,设置波特率和参数。
发送HCI命令应该有效。
当做
詹森

以上来自于百度翻译


     以下为原文
  CYBT-343026 support the BT HCI command and suppose you had an USB-to-UART dongle which had installed linux driver.
Connect the dongle's UART pin to CYBT-343026.
Set the CYBT-343026 to HCI mode: sflash had no image or download an image which only called wiced_transport_init( &transport_cfg );.
Open the UART port, set the baud rate and parameters.
Sending the HCI commands should work.
 
Regards
Jenson
举报

周羽姿

2018-9-27 14:49:43
引用: huazhe 发表于 2018-9-27 08:38
CYBT-33026支持BT HCI命令,假设您有一个USB到UART加密狗,它安装了Linux驱动程序。
将软件狗的UART引脚连接到CYBT-33026。
将CYBT-34 3026设置为HCI模式:Sflash没有图像或下载图像,该图像仅称为WICEDIX传输TITIN(ANP;TrimtTyFCFG);

好的,非常感谢你的建议。是否已经有HCI的驱动程序或库,或者我必须在我的自定义应用程序中实现HCI命令?
如果我想做音频流,我只能使用HCI,或者我必须使用HCI(用于命令模块),并将I2S外围设备连接到RaS浆莓(并且以正确的方式配置模块中的I2S)。

以上来自于百度翻译


     以下为原文
  Ok thank you very much for your suggestion. Are there already driver or library for HCI or I have to implement in my custom application, the HCI commands?
 
If I want to do audio streaming I can use only HCI or I have to use HCI (for command module) and connect I2S peripheral to rap***erry (and configure the I2S in module in correct way)?
举报

李兆水

2018-9-27 15:04:24
引用: Xc_Y 发表于 2018-9-27 08:52
好的,非常感谢你的建议。是否已经有HCI的驱动程序或库,或者我必须在我的自定义应用程序中实现HCI命令?
如果我想做音频流,我只能使用HCI,或者我必须使用HCI(用于命令模块),并将I2S外围设备连接到RaS浆莓(并且以正确的方式配置模块中的I2S)。

这可能出现在论坛的多个地方。我会在这里重写。有一种叫做WICED HCI和默认标准HCI。WICED HCI是“HCI命令“WICED UART柏定制实现(同HCI UART)。如果你计划使用标准的HCI命令,你将不得不下载一个补丁(或一个空的应用程序),然后发送HCI指令在HCI UART。
为了使用WICED HCI,指的是人机交互控制协议的文档和例子,从“hci_”。你需要在你的程序中实现WICED HCI RX回调。
对于音频流,请参考手表示例。音频通过HCI UART发送。但是默认的音频数据路径是I2S。所以,这将是更容易连接Raspberry Pi在I2S。

以上来自于百度翻译


     以下为原文
  This might be present at multiple places in the forum. I will rewrite here. There is something called WICED HCI and default standard HCI. WICED HCI is a Cypress custom implementation of "HCI commands" over WICED UART(same as HCI UART). If you plan to use standard HCI commands, you will have to just download a patch (or an empty application) and then send HCI commands over HCI UART.
 
In order to use WICED HCI, refer to the HCI Control Protocol document and examples that start with 'hci_'. You will have to implement WICED HCI rx callbacks in your application.
 
For audio streaming, refer to the watch example. The audio is sent over HCI UART. However the default audio data path is the I2S. So, it would be easier to connect the Raspberry Pi over I2S.
举报

更多回帖

发帖
×
20
完善资料,
赚取积分