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.

cc2540 uart tx inverted

Other Parts Discussed in Thread: CC2540

Hello, I am trying to talk to a pic over uart and have it mostly worked out.

I can see the data on the analyzer and all is good, however the pic is still not responding.  When I trace the working unit, I see the uart stream starts from low instead of high.

How can I force the 2540 to start from a low instead of high?

I have tried to set the pins for port 0 to low:

P0SEL = 0; // Configure Port 0 as GPIO

P0 = 0; // All pins on port 0 to low

however this stops the data from being written at all.

update: it turns out that the pic is inverting the stream.  Can the 2540 invert uart?

Any help is greatly appreciated.