On Sep 8, 2008, at 5:37 AM, UGlee wrote:

> I need the telosb listening to two interfaces simultaneously in my
> project, one is radio and the other is 485 or 232 interface. Since
> UART0 and CC2420 share the same USART1 interface on msp430, it is
> impossible to use UART in 10 pin IDC header to get the job done. So I
> plan to implement software I2C via GPIO and then translate I2C to UART
> by NXP (Philips) SC16IS740 I2C/SPI to UART chip.
>
> I noticed somebody had said it's not a good method:
> http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2007-January/021986.html
>  
> .
> As far as I know, software I2C is really popular for many embedded
> system, especially for MCU without hardware I2C. Meanwhile, In tinyOS
> 2.x, atmega128L use software I2C. so I am really confused if software
> I2C is a viable or good method to solve my problem.

Using I2C hardware is greatly preferable, but if you have to do it in  
software, well, you have to do it in software.

Phil
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to