CYBT-343026 / HCI UART as host interface

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
TakMune
Level 4
Level 4
Distributor - Macnica (Japan)
First like given 100 sign-ins First solution authored

Hello

We are considering to use CYBT-343026 with WICED Studio 6.2.

Our understanding is HCI UART is for download program file to the CYBT-343026. To send commands from an external host, we would like to use the HCI UART(not PUART). Is it possible?

0 Likes
1 Solution
DheerajPK_41
Moderator
Moderator
Moderator
750 replies posted 500 likes received 500 replies posted

Hi @TakMune ,

Your understanding is correct. HCI UART is generally used for firmware download and interface with an external host. HCI UART has comparatively higher buffer size since it uses internal buffer pool. PUART has less hardware buffers. So as per your requirement, you have to choose the UART. 

Using WICED HCI commands, you can communicate between your BT chip and external host. To understand more about it please go through the below document.

https://github.com/Infineon/btsdk-docs/blob/master/docs/BT-SDK/WICED-HCI-Control-Protocol.pdf

 

The clientControl which is a simple host works on Windows/Linux/OSX OS also implements the WICED HCI control protocols. Similarly you can build the same logic on an external host as well. One sample application implement it can be seen from below link.

https://github.com/Infineon/CypressAcademy_BT101_Files/tree/master/Projects/ch05/key_ch05_ex02_hci

 

One more important suggestion. WICED Studio 6.2 is very old SDK. Support for it is very limited. CYBT-343026-02 module supported on the latest Modustoolbox (Latest development environment). So I strongly suggest you to use modustoolbox for your development. 

https://www.cypress.com/products/modustoolbox

Thanks,

-Dheeraj

View solution in original post

0 Likes
2 Replies
tayo
Level 5
Level 5
Distributor - Macnica (Japan)
100 replies posted 25 solutions authored 250 sign-ins

Hello,

As you know, HCI UART pins are used to write a FW into flash memory via CYW20706 in the CYBT-343026 module.

Moreover, the module can receive HCI Client Control Protocol commands via the HCI UART.

If you would like to send the module any custom commands, you need to program and build FW for it in advance.

Thanks,

DheerajPK_41
Moderator
Moderator
Moderator
750 replies posted 500 likes received 500 replies posted

Hi @TakMune ,

Your understanding is correct. HCI UART is generally used for firmware download and interface with an external host. HCI UART has comparatively higher buffer size since it uses internal buffer pool. PUART has less hardware buffers. So as per your requirement, you have to choose the UART. 

Using WICED HCI commands, you can communicate between your BT chip and external host. To understand more about it please go through the below document.

https://github.com/Infineon/btsdk-docs/blob/master/docs/BT-SDK/WICED-HCI-Control-Protocol.pdf

 

The clientControl which is a simple host works on Windows/Linux/OSX OS also implements the WICED HCI control protocols. Similarly you can build the same logic on an external host as well. One sample application implement it can be seen from below link.

https://github.com/Infineon/CypressAcademy_BT101_Files/tree/master/Projects/ch05/key_ch05_ex02_hci

 

One more important suggestion. WICED Studio 6.2 is very old SDK. Support for it is very limited. CYBT-343026-02 module supported on the latest Modustoolbox (Latest development environment). So I strongly suggest you to use modustoolbox for your development. 

https://www.cypress.com/products/modustoolbox

Thanks,

-Dheeraj

0 Likes