Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #2977

Re: Do UART require data structure/format for serial communication?

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <prvs=075bb7a3f=jeanmichel@sequans.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.008
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'url:sourceforge': 0.02; 'interpreter': 0.07; 'python"': 0.07; 'python': 0.07; 'advance.': 0.09; '"hello': 0.09; 'linux': 0.11; 'wrote:': 0.14; 'received:192.168.200': 0.16; 'cc:no real name:2**0': 0.20; 'cc:2**0': 0.20; 'appropriate': 0.21; 'header:In-Reply-To:1': 0.22; 'cc:addr:python-list': 0.22; 'example': 0.24; 'subject:data': 0.26; 'string': 0.29; 'subject:?': 0.29; 'cc:addr:python.org': 0.31; 'achieved': 0.31; 'subject:format': 0.31; 'understands': 0.31; 'all,': 0.31; 'thank': 0.32; 'idea': 0.32; 'using': 0.34; 'received:192': 0.34; 'header:User-Agent:1': 0.35; 'function.': 0.35; 'running': 0.36; 'subject:/': 0.36; 'data': 0.37; 'received:192.168': 0.37; 'two': 0.37; 'however': 0.37; 'connected': 0.37; 'commands': 0.38; 'pretty': 0.38; 'help': 0.39; 'how': 0.39; 'back': 0.61; 'url:net': 0.62; 'serial': 0.77; 'channel,': 0.84; 'chip': 0.93
X-IronPort-AV E=Sophos;i="4.63,338,1299452400"; d="scan'208";a="1201314"
X-Virus-Scanned amavisd-new at zimbra.sequans.com
Date Mon, 11 Apr 2011 13:57:00 +0200
From Jean-Michel Pichavant <jeanmichel@sequans.com>
User-Agent Mozilla-Thunderbird 2.0.0.24 (X11/20100328)
MIME-Version 1.0
To VGNU Linux <vgnulinux@gmail.com>
Subject Re: Do UART require data structure/format for serial communication?
References <BANLkTimc-6hV8TO9OZivMYJ-O6HJfung1w@mail.gmail.com>
In-Reply-To <BANLkTimc-6hV8TO9OZivMYJ-O6HJfung1w@mail.gmail.com>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.213.1302523106.9059.python-list@python.org> (permalink)
Lines 20
NNTP-Posting-Host 82.94.164.166
X-Trace 1302523106 news.xs4all.nl 81479 [::ffff:82.94.164.166]:60334
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:2977

Show key headers only | View raw


VGNU Linux wrote:
> Hi All,
> I have two chips one understands Python and the other embedded C.I 
> have connected both chips using UART serial communication channel, 
> however I have no idea how data communication must be achieved between 
> this 2 chips. As for example send using C chip string "Hello Python" 
> which python chip easily understands and replies back a string "Hi C". 
> I am pretty new to embedded systems can anybody help me understand 
> data communication using UART.
> Thank in advance.
>
> VGNU
have a look at http://pyserial.sourceforge.net/

Most of the time, people write a CLI running on the chip. Commands 
(strings) are sent to the CLI through the UART, the interpreter then 
calls the appropriate function.


JM

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: Do UART require data structure/format for serial communication? Jean-Michel Pichavant <jeanmichel@sequans.com> - 2011-04-11 13:57 +0200
  Re: Do UART require data structure/format for serial communication? John Nagle <nagle@animats.com> - 2011-04-11 11:13 -0700
    Re: Do UART require data structure/format for serial communication? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2011-04-13 21:49 -0700

csiph-web