Hello.

I'm using Zolertia Z1 mote and my goal is to use UART0-port to read values
from external frequency converter with modbus. (there's MAX232 -circuit
connected to UART-port and after that RS-232/485 converter, which connects
to external frequency converter.
However, I'm confused with how to configure Uart speed parity and so on..

with my *C.nc -file I declare (only relevant parts mentioned)
""
uses interface UartStream as Uart;
uses interface UartByte as Byte;
""
and with *AppC.nc -file there is
"""
components new Msp430Uart0C() as Uart;
components new Msp430Uart0C() as Byte;
components PlatformSerial() as Plat;
App.Uart -> Uart;
App.Byte -> Byte;
"""

I've implemented all the events UartByte and stream require, but I'm not
able to
configure serial connection speed etc. and because of that I can't get
connection working
I tried to use Msp430UartConfigure -interface as well, but it always ended
up with compiling mistakes.

Also I wonder, what's the purpose of UartControl -interface, since it's not
mentioned often at the forum...

best regards
Kosti
_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to