Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #2977
| Date | 2011-04-11 13:57 +0200 |
|---|---|
| From | Jean-Michel Pichavant <jeanmichel@sequans.com> |
| Subject | Re: Do UART require data structure/format for serial communication? |
| References | <BANLkTimc-6hV8TO9OZivMYJ-O6HJfung1w@mail.gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.213.1302523106.9059.python-list@python.org> (permalink) |
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 | Next — Next in thread | Find similar
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