Hello everyone,

The USART1 on the ATM128 microcontroller of MicaZ did not provide a
SPI mode, therefore the flash chip AT45DB which has an SPI interface
and is connected to USART1 was used by banging bits. However, the new
ATM1281 microcontroller provides the SPI mode on USART1.

I was wondering if anyone maintaining the Iris platform has considered
using this SPI mode to read and write data from the flash? For
example, on Telos with the MSP430 microcontroller there are proper
interfaces and components in current tinyos version that provide
commands for changing to the SPI mode and UART mode. There is also
resource arbitration available for USARTs on Telos. This brings me to
my next question, the USART1 on Iris is likely to be shared among
different sensors. For example, when using the weather sensor board
MTS400 or MTS420, both the gps and the pressure sensor is connected to
USART1 in addition to the AT45DB. To talk to the gps the USART1 must
be in UART mode and to talk to the pressure sensor and AT45DB it must
be in SPI mode. So I think it makes sense to introduce resource
arbitration and interfaces that could be used to switch between SPI
and UART modes for USART1 on the Iris platform.

I am hoping to hear from someone in the core or from people mainting
the Iris platform about this issue.

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

Reply via email to