Hello Dr.Phil, I was looking through the archives and I found that you have discussed the topic about using multiple SPI devices. In the following link you said that you might post some code for using multiple SPI devices:
http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2008-April/032 819.html Have you posted it somewhere?? I am trying to attach an LED screen to the SPI interface of the atmel atmega128 processor. My platform (Chipcons CC2420DBK) is very similar to Micaz and I have ported my platform in TinyOS correctly and all the test applications are working correctly. I am now building an application where I need to display certain data to all the nodes in the network and collect data to a BaseStation. So, for displaying I need to attach this external LED/LCD screen. DOES anyone else has used SPI in micaz to interface some external devices using arbitration. Will the following process work for this task: Toggle clock line Set the output line Send the data from master to slave Also I wanted to know that if we are using Dissemination to insert data into the network every few seconds, then will it be alright to use SPI to interface external devices as there might be a conflict in accessing the SPI bus. Regards, Varun Jain
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
