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
--
http://mail.python.org/mailman/listinfo/python-list