[Tinyos-help] Question about I2C
jose.ulloa.suarez at gmail.com
jose.ulloa.suarez at gmail.com
Thu Jun 1 12:40:04 PDT 2006
Even though I've reviewed those archives, but I have the following doubt.
In the MSP430I2CC.nc file contained the primitives for setting the operation
modes. Start is generated by the I2CPacket component, whenever read or write
is made. In the StdControl.start a call to USARTControl.setModeI2C is made
where is configurate for to work like a master. My question is in which
moment it is suitable to make the call for to configurate in slave and to
assign the OwnAddress??. After knowing clearly this, when recognizing tmote
its direction would generate a ACK immediately, and would begin the
reception?
If this is correct, these had to be processed byte to byte and which events
are generated when information is received??.
Thank you very much.
--
José Ulloa Suárez
El Jueves, 1 de Junio de 2006 14:38, Matthew J Whelan escribió:
> <FONT face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif"
> size=2><DIV><FONT size=2><P>Jose,</P><P>You can communicate through I2C
> with external devices using Tinyos 1.x. Take a look at
> tos/platforms/MSP430/MSP430I2CPacket and
> tos/platforms/telosb/I2CPacketC & I2CPacketM. Make sure you take
> care to arbitrate the bus, since the radio chip is on the same
> USART.</P><P><FONT size=2>Regards,</FONT></P><P><FONT
> size=2>Matt</P><P></FONT></FONT><BR> </P></DIV><FONT
> color=#990099>-----tinyos-help-bounces at Millennium.Berkeley.EDU wrote:
> -----<BR><BR></FONT><blockquote style="PADDING-RIGHT: 0px; PADDING-LEFT:
> 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT:
> 0px">To: tinyos-help at Millennium.Berkeley.EDU<BR>From:
> jose.ulloa.suarez at gmail.com<BR>Sent by:
> tinyos-help-bounces at Millennium.Berkeley.EDU<BR>Date: 06/01/2006
> 02:31PM<BR>Subject: [Tinyos-help] Question about I2C<BR><BR><FONT
> face="Default Monospace,Courier New,Courier,monospace" size=2 >I need to
> know if someone it's been working with the I2C protocol in the TMOTE iv,
> specifically with Tiny OS 1.1.X distribution, not in Boomerang.<BR>I need
> to connect the node in slave mode to another hardware. Somebody have a
> example or idea of how could do this ?? <BR>Thank you in advance,<BR>--
> <BR>José Ulloa Suárez<BR>Jefe Area de Desarrollo<BR>WiseConn
> S.A.<BR><BR>_______________________________________________<BR>Tinyos-help
> mailing list<BR>Tinyos-help at Millennium.Berkeley.EDU<BR><A
> href="https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-
>help" target=blank
> >https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help<
>/A><BR></FONT></blockquote><br></FONT>
--
José Ulloa Suárez
Jefe de Desarrollo
WiseConn S.A.
More information about the Tinyos-help
mailing list