Why can't I use peripheral and HCI UART reliably at the same time ?

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

cross mob
Anonymous
Not applicable

There is an issue when both UARTs are used at the same time at lease with TAG3 (with 20737).

I noticed that data in peripheral UART sometimes gets corrupted.

This never happens when running in HCI mode, but happens in APP mode (when HCI UART is used for debug).

I narrowed down the problem to the ble_traceX function.

The more ble_traceX are executed the more chances for a corruption on peripheral UART.

This happens only sometimes but it is easy to reproduce.

Any suggestions ?

Madmax

0 Likes
1 Solution
Anonymous
Not applicable

Hello madmax,

Do the following posts shed light on your problem?

HCI UART can be used from application?

what is the purpose of BLEProfile uart?

Let me know if this helps

Thanks

JT

View solution in original post

0 Likes
1 Reply
Anonymous
Not applicable

Hello madmax,

Do the following posts shed light on your problem?

HCI UART can be used from application?

what is the purpose of BLEProfile uart?

Let me know if this helps

Thanks

JT

0 Likes