- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, you are right.
You need to configure the wiced_transport_cfg_t in your application with data, status callback functions.