[Tinyos-devel] Tinyos 2.0 - MSP430 Spi Wiring
Max CORTIANA
max.cortiana at st.com
Mon Aug 7 06:30:38 PDT 2006
Ok, you are right, I understand.
I suppose that when you say Msp430SpiP you mean Msp430SpiNoDma0P, right?
Unfortunatly it seems like nesdoc doesn't show the graph of an entire
application and I don't have infinite paper where to draw it!
- Max
Jonathan Hui wrote:
> On 8/4/06, Max CORTIANA <max.cortiana at st.com> wrote:
>> My question is: Why the module is directly connecting to USART0 Hardware
>> Presentation Layer?
>
> Only one Msp430SpiP component is instantiated for the USART0 bus. It
> uses HplMsp430Usart0C to implement the SpiByte and SpiPacket
> interfaces.
>
> It won't work to have the generic component Msp430SpiNoDma0P use the
> Hpl interface and have each client wire it up. Doing so will cause the
> Hpl interface to be multiply wired. The effects are that a call to
> setModeSpi will be repeated N times where N is the number of clients.
>
More information about the Tinyos-devel
mailing list