This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2652P: Using two uarts, when one uart closed, another uart recieves data error.

Part Number: CC2652P

Hi, I use CC2652P, simplelink_cc13x2_26x2_sdk_4_40_04_04, CCS10.2.

I've got a tough problem when debuging two uarts.

In my application on CC2652P, I need to use two uarts, one for communicating with PC, one for communicating with another STM32 MCU.

When I just open two uarts, they work well.

However, when I do something more, problems occur.

Because of low power demand in my application, the two uarts can not keep open all the time. So I need to make them open and closed independently.

After system start, two uarts work fine, sometime later, I close one uart, then, in another uart's read callback, data in read buffer is error and always error as below(just an example):

This is the original data in uart read buffer.

And I use a uart module to receive the same data to PC, and data in PC is correct. So, tx data is correct, the problem should be on rx in CC2652P.

I have tested this problem lots of times. When two uarts just open, they receive data correct. But, after one uart is closed in runtime, another uart receives data error.

So, I wonder if two uarts are independent?

Can I use them completely independently?

Thank you.