Hi Andrew,
We use the 2272 in several products, so let me see if I can give you some pointers. The main difference between the 1xx and 2xx series is indeed the USCI. We're using some home grown stuff, but the TinyOS trunk has USCI support in tos/chips/msp430X/usci; include that instead of tos/chips/msp430/usart. There used to be some issues with the SPI/I2C configuration, but a quick look through the code seems to indicate this was fixed. Another issue you may run into is the ADC10 the 2274 has. I don't think there's any support in TinyOS for that, just the ADC12 which the bigger chips have. As long as you don't reference it, it shouldn't prevent your program from compiling. It looks like there are already #ifdef guards in place so you don't have to worry about not having a 5th and 6h I/O port. That's just what came to mind - if you post the compile output of the Null app, we may think of some more :) Kind regards, Michiel From: [email protected] [mailto:[email protected]] On Behalf Of Andrew Sabelhaus Sent: donderdag 26 mei 2011 4:12 To: [email protected] Subject: [Tinyos-help] TinyOS on the MSP430F2274 (eZ430-rf2500T) Hello Everyone, I'm trying to get TinyOS up and running on some development boards for my research lab, in anticipation of using MSP430s on a robotics project coming up. The board I've been working with is the TI eZ430-rf2500T, the relatively generic package from TI that includes, on one chip, a CC radio and the MSP430F2274, and on the other, the FET to flash it over USB. I've been running into some issues even compiling the Null app, much less flashing the chip, and I would greatly appreciate any help. Is there a universal reference somewhere for the pins that TinyOS requires for basic compilation? For example, I've been following the "Platforms" tutorial, and the MSP430 that I'm using seems to have a very different set of pins than the 1611 in the tutorial. I'm not well versed on serial communication frameworks, but the issue seems to stem from the fact that the newer MSP430s use TI's USCI (or USI, I'm not quite sure) interface. In comparing the datasheets for the 1611 and the 2274, the pins used on the former in the tutorial do not seem to have matches on the latter. For example, the tutorial (as well as the code for various other platforms) use TOSH_ASSIGN_PIN with pin names that seem to imply a dedicated USART/SPI interface, which, if I understand correctly, the 2274 does not have (or has indirectly, via the upgrade to TI's newer USCI/USI protocols.) I'm not sure if the only pins that TinyOS technically requires for basic compilation and operation (ie. the Null app) is just a single pin for the clock, or if the communication framework is somehow a dependency also.In browsing the internet, it seems that people have written code in TinyOS for this board before, but I can't seem to find any .platform and hardware.h file(s) that they have used. In summary, if anyone could point me to any of: - A thorough documentation of the pin declaration / naming system in TinyOS, specifically with respect to the clocks and timers, and how/where the pin declarations in hardware.h are used in other locations in the TinyOS source code (everything in the /chips directory, etc) - A few basic source files that others have used for the eZ430-rf2500T, or the 2274 version of the MSP430 - Some other resource for this info I would appreciate it immensely. Also, there is the distinct possibility that I'm way out of my league here. If any of this is totally off/irrelevant/points to large gaps in my knowledge, let me know, and I'll do more research before posting questions on this list. Thanks again, Andrew Sabelhaus Micro-Robotics Lab, The University of Maryland, College Park
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
