1 of 2 people found this helpful
Yes it is possible to get debug traces over HCI UART. You will have to select HCI UART for debug using wiced_set_debug_uart() function.
Are you planning to send data over HCI UART? I would suggest you to check HCI raw mode- How to Use HCI Raw Data Mode in CYW20706 - KBA225970
Is it possible to configure the HCI UART as a PUART and use the HAL UART APIs in the UART HCI port? For example the following ones:
static INLINE void wiced_hal_puart_write (UINT8 byte) Print/send one byte via the TX line. More... static INLINE BOOL32 wiced_hal_puart_read (UINT8 *rxByte) Read one byte via the RX line. More...
In case of using the WICED_ROUTE_DEBUG_TO_HCI_UART functionality.
For write information to the TX line, the Macro WICED_BT_TRACE is used.
Which macro can I use for read the RX line of HCI UART?
1 of 1 people found this helpful
No you cannot use wiced hal APIs for HCI UART read-write.
To get the data on Rx line, please go through point no.2 in KBA- How to Use HCI Raw Data Mode in CYW20706 - KBA225970