Hello all,
i’m using msp430f149,it has two UART,shall i use these two UART simultaneously(one for->receiving and one for->transmitting)
by
naz
Hello all,
i’m using msp430f149,it has two UART,shall i use these two UART simultaneously(one for->receiving and one for->transmitting)
by
naz
There are 9 possible activities that two UARTs can be used at any instance.
Both receive.
Both transmit.
Both inactive.
One receive, the other transmit.
One inactive, the other transmit.
One transmit, the other receive.
One inactive, the other receive.
One receive, the other inactive.
One transmit, the other inactive.
Any one of the above is a correct usages as the situation requires.
None of them is correct if you do not know what you are doing.
And one UART or both can be used in duplex mode, transmitting and receiving simultaneously.
Leon
Leon, you are absolutely right. There are 16, not just 9.
16 or 9, “infinite monkeys” can definitely solve this problem (if this is the only problem;)
He’s got plenty of choices, anyway.
Leon
could you please send me the sample code
Reading the datasheet and utilizing a text editor should produce the sample code you desire.
ya it’s correct,but i knew how to write code for single uart,but double means how?in data sheet they didn’t mention.
Take a risk and try something. Anything. Anything at all.
Is that a good idea? Yes, it will "almost surely" work.Take a risk and try something. Anything. Anything at all.
There was a memo describes a protocol suite for Network Working Group.
thank you to all,finally it’s working fine.