Hello everyone, We have been trying to share USART1 of Atm1281 (Iris motes) between the flash chip AT45DB and another device and have been running into strange problems.
A previous email on this list http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2008-March/031823.html and the comments in tos/platforms/iris/chips/at45db/HplAt45dbIOP.nc suggest that USART1 is in SPI mode 0. However, we can't find any code that initializes USART1 in SPI mode. For example, the Atm1281 datasheet (page 226 and 232) mentions that setting bit 6 and 7 of control register UCSR1C to 1 puts the USART in SPI mode but the USART1 initialization code in tos/chips/atm128/ HplAtm128UartP.nc just sets the character size to 8. We are using the most recent cvs version of tinyos-2. I would really appreciate any help or pointers on this. Regards _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
