P_UART crashes without traces/high latency

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

cross mob
Anonymous
Not applicable

Hi everybody,

I'm using P_UART for communication between the Broadcom BLE module and our MCU.

My UART handler function is called by setting puart_rxCb to a function pointer of my handler.

Latency is quite high, but data is received from UART by the BLE module and sent via Bluetooth to an app. To reduce latency, I was trying to remove ble_trace* functions from the code, but it just stops working.

All calls to ble_trace* are enclosed in #ifdef BT_BLE_TRACING - if I undefine it, it stops working. Does this interfere with an internal define used by the Broadcom SDK?

Should I switch to SPI for lower latency? We're designing a new hardware revision just now, it might be a good time for this.

I'm using SDK 2.2.1.

Best regards

Hannes Baumgart

0 Likes
1 Solution
BoonT_56
Employee
Employee
500 likes received 250 likes received 100 likes received
0 Likes
1 Reply
BoonT_56
Employee
Employee
500 likes received 250 likes received 100 likes received

Let me know if this thread helps

Re: puart_write() crashing on BCM20736?

0 Likes