The function ble_trace0 output use which UART?

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

cross mob
Anonymous
Not applicable

There are many function like ble_trace0 ble_trace1 in WICED-Smart-SDK-1.1.0.

This kind of function using a UART output is correct?

Download UART can be selected as ble_trace0 output UART ? or we shoud config orther UART for the function output?


I use Bluetooth Evaluation Board BCM920732EVAL_Q32_P3.

Thank you very much for your answer!

0 Likes
1 Solution
Anonymous
Not applicable

Both UARTs (peripheral and HCI) can be used for ble_tracex functions.

To select the UART edit the file:

\WICED-Smart-SDK\Wiced-Smart\spar\common\spar_init.c

and find this section:

void SPAR_APP_SETUP(void)

{

    bleapp_pre_init     = application_init;

    bleapp_trace_enable = BLE_TRACE_UART_HCI; // Change back to

                                                // BLE_TRACE_UART_PERIPHERAL

                                                // to route traces to peripheral

                                                // UART

}

View solution in original post

0 Likes
3 Replies