cancel
Showing results for 
Search instead for 
Did you mean: 

ModusToolbox Bluetooth SDK

New Contributor

We would like to use the HCI UART port on the CYW20719 to communicate with a second non-Bluetooth MCU. We would like to transmit firmware (for firmware upgrades) and other generic data from this second MCU to the CYW20719.

Can you confirm that we can use the HCI UART port for the functionality described above?

If we can use the HCI UART, are we restricted to the messages and function calls defined in the WICED HCI UART Control Protocol or can we also send/receive raw data over HCI UART?

Thanks.

0 Likes
Reply
1 Solution
Moderator
Moderator

Hi,

Yes, you can use HCI UART for firmware upgrade.

You can send raw data as well through HCI UART by configuring uart transport mode (wiced_transport_uart_mode_t) to "WICED_TRANSPORT_UART_RAW_MODE". Please check wiced_transport.h (wiced_transport_cfg_t) for more info.

NOTE: Please use the latest Modustoolbox IDE and SDK. https://www.cypress.com/products/modustoolbox-software-environment()

Thanks,

-Dheeraj

View solution in original post

0 Likes
Reply
3 Replies
Moderator
Moderator

Hi,

Yes, you can use HCI UART for firmware upgrade.

You can send raw data as well through HCI UART by configuring uart transport mode (wiced_transport_uart_mode_t) to "WICED_TRANSPORT_UART_RAW_MODE". Please check wiced_transport.h (wiced_transport_cfg_t) for more info.

NOTE: Please use the latest Modustoolbox IDE and SDK. https://www.cypress.com/products/modustoolbox-software-environment()

Thanks,

-Dheeraj

View solution in original post

0 Likes
Reply
New Contributor

Thanks for the answer, Dheeraj.

To clarify, when sending raw data over the HCI UART, the protocol details described in the WICED HCI UART Control Protocol document don't apply. Right? And the raw bytes sent by an attached MCU can be parsed (as received by the CYW20719's low-level UART peripheral) inside the wiced_transport_data_handler_t callback registered by our application?

0 Likes
Reply
Moderator
Moderator

Yes, you are right.

You need to configure the wiced_transport_cfg_t in your application with data, status callback functions.

0 Likes
Reply