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.