Actually I am trying to data communication between these 2 chips, but facing troubles in deciding a protocol to do the same.<div>Do UART have any default protocols? For the moment I am trying to do it with Strings but not sure if that's the right solution.</div>
<div><br></div><div>Regards,</div><div>Vivek<br><br><div class="gmail_quote">On Mon, Apr 11, 2011 at 11:43 PM, John Nagle <span dir="ltr"><<a href="mailto:nagle@animats.com">nagle@animats.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
On 4/11/2011 4:57 AM, Jean-Michel Pichavant wrote:<div><div></div><div class="h5"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
VGNU Linux wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi All,<br>
I have two chips one understands Python and the other embedded C.I<br>
have connected both chips using UART serial communication channel,<br>
however I have no idea how data communication must be achieved between<br>
this 2 chips. As for example send using C chip string "Hello Python"<br>
which python chip easily understands and replies back a string "Hi C".<br>
I am pretty new to embedded systems can anybody help me understand<br>
data communication using UART.<br>
Thank in advance.<br>
</blockquote></blockquote>
<br></div></div>
What do you want to do?<br>
<br>
There are many serial protocols. At the low end, you can<br>
send text. At the high end, you can send TCP over PPP.<br>
The Arduno crowd has some protocols of their own. See<br>
"<a href="http://www.arduino.cc/en/Reference/Libraries" target="_blank">http://www.arduino.cc/en/Reference/Libraries</a>".<br>
<br>
Any useful protocol must be able to deal with errors<br>
on the link, either end restarting, and the other end failing<br>
to respond. All those things happen frequently with serial<br>
ports.<br>
<br>
What do you want to do?<br>
<br>
John Nagle<br><font color="#888888">
-- <br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
</font></blockquote></div><br></div>