[Tinyos-help] interface between
primalfear 69
primeballerina at gmail.com
Mon Aug 28 06:23:49 PDT 2006
hello everybody........
In MICA2, the interface between CC1000 and the atmel is through SPI. Its
having just two pins.... i.e) DIO and Dclk. Its said that DIO is
bidirectional.Its obvious that the controller is master (thats what i
feel............:D ). Say when the CC1k is in transmit mode the it should be
in MISO and when in receive mode it should be in MOSI.
my first question is what makes the DIO pin of CC1k to be as an
input/ouput?
2) in tos/platform/mica2.......... HPLSpiM i find something called
TOSH_MAKE_SPI_SCK_INPUT();
TOSH_MAKE_MISO_INPUT(); // miso
TOSH_MAKE_MOSI_INPUT(); // mosi
where is the code for these...............? and what does
SpiByteFifo.initSlave() exactly do................. ?
Regards
Primalfear
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20060828/6de61d56/attachment.htm
More information about the Tinyos-help
mailing list