Hello, A look at your code would be more helpful, when I return from vacation I could take a closer look and be of more assistance. You can try using "Set_DCO(DELTA_8MHZ)" when initializing the clock (Msp430XDcoCalib.h) if you suspect is a calibration issue.
The msp430X files should disappear soon, you can refer to this snapshot for fresher code (development). https://github.com/alignan/TinyOS-fork/tree/z1-rc-pu Zolertia Z1 mote is based on the msp430f2617, you can take a look at our implementation. Antonio. On Wed, 2011-08-10 at 08:29 +0200, Juan Verdu wrote: > Hi, > > I created a mote using a MSP430F2617 microcontroller with libraries of > MSP430X under TinyOS 2.1, which compiling with the msp430-gcc( version > 3.2.3) of the mspgcc. I made several changes in Ubuntu and TinyOS > operating systems. This mote the program through a USB port using BSL > pins, I used the pins VCC, GND, RST #, TCK, and RX_BSL TX_BSL (P1.1 > and P2.2) of the microcontroller. With this configuration using the > tos-bsl I could program the micro with applications like Blink which > makes it the right way. > I've also tried to interrupt the execution by pressing a button and > done right. When I run the application TestSerial not done correctly, > I have another mote which made by me if it does well but not the > last two motes and all hardware configuration are identical in all > cases. In all the motes I have another USB port to run the application > using the pins VCC, GND, TX_Uart0 and RX_Uart (Pins 29 and 40 of the > MSP430F2617 64-pin). I have to indicate that the mote that works well > all the time I tried it with Code Composer from Texas > so do not know if some registers like those were modified . > Using a tool like Siow (serial) I got the following results: > > Mote good: 7E 45 00 FF FF 00 00 08 00 89 00 09 00 00 00 00 00 00 81 91 > 7E ... > Motes incorrect: FE C5 00 FF FF 00 00 08 00 09 00 08 00 00 00 00 00 > 00 E0 69 FE ... > > The speed with which I use is 115200 but I have also tried other > speeds. > > I think it's a problem of synchronizing clocks using the UART USC but > I'm not sure, Could someone help me? > > Thank you very much! > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
