Stictly speaking they don't share pins.  But they do share the underlying
h/w.   You would have to multiplex spi0 with uart0 when both are active.  I
have some code that handles this but I haven't finished it.

Only one of the drivers can own the h/w (USART0) at any given time.

The pins themselves aren't shared.  So you won't see it on a schematic.

eric


On Mon, Oct 26, 2009 at 8:16 AM, David Conde <[email protected]> wrote:

>  Hi,
>
>
>
> I have read some documentation about using UARTRX0 and UARTTX0  pines 2 and
> 4 in U2. And some people said that is not possible to use UART0 because of
> they share pines with SPI bus in CC2420 and FlashMemory. I have taken a look
> at Telosb Schematic and I do not see any shared pin for UART0, am I
> missunderstanding anything? Can I connect directly my external devices Uart
> pines to UART0 in Telosb?Do I have to take anything into account?What TinyOS
> component do I have to use to work with UART0?
>
>
>
> I am using TinyOS1.x and Telosb motes.
>
>
>
> Thank you in advance
>
>
>
>
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Eric B. Decker
Senior (over 50 :-) Researcher
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to