Jump to content
43oh

Rickta59

Members
  • Content Count

    1,135
  • Joined

  • Last visited

  • Days Won

    71

Everything posted by Rickta59

  1. The easiest way to deal with the baud rate registers is to use this page: http://mspgcc.sourceforge.net/baudrate.html http://mspgcc.sourceforge.net/cgi-bin/msp-uart.pl?clock=32768&baud=9600&submit=calculate Seems to yield: UBR00=0x03; UBR10=0x00; UMCTL0=0x29; /* uart0 32768Hz 9637bps */ I haven't tried the setting above so I can't vouch for it. I'm still trying to understand the proper way to use these registers also. I've looked at the msp-uart.pl perl code and compared it to another site on the net that uses an Excel spreadsheet and they produce different results
  2. Your ez430 python seems to work great even if my device spews forth at the beginning. Thanks! -rick
  3. Just start by sitting in a loop waiting for a request. Once you receive something you can start sending back your position data. This seems to work: main.cpp /** * main.cpp - swserial/timerserial/usciserial Serial Asynch test driver. * * To test: use putty and connect to /dev/ttyACM0 at 9600 Baud * */ #include #include #include "serial.h" #define MCLK_FREQ 16000000UL /* run @16MHz */ /** * typedef Serial - start of a simple serial wrapper class */ typedef struct { /** * begin() - initialize serial port, sets registers, port direction, and * alternative port feature
  4. If you do that on a linux box, it is going to overflow the serial ACM buffer and the kill the port. It will just be dead. On linux, you should be waiting till you receive something before you start spewing.
  5. Did you change the jumpers for TX / RX on J3? Is this on a 1.5 Launchpad with the new style jumpers? The old LP version <= 1.4 board will require you to provide a cross jumper. When you say you were using an interrupt based version and it worked, was that a Timer A based interrupt or USCI based interrupt? If you were using the TimerA based serial it would work with the original TX/RX jumpers. Hardware based USCI would require a change, you would need to swap TX/RX on the J3 jumper. -rick
  6. I've come that that same conclusion Luis. It is all about the community! If you look around, you can find $10 ARM development boards that have much more processing power and on board peripherals than Arduinos and Launchpads. However, you don't see a big ground swell of community around them. I'm glad your at least putting the MSP430 on the map Luis. It will be interesting to see if you can nurture a community to make it a big success. -rick
  7. Nice curvy traces! Is there any advantage to curves over 45 degree ones? -rick
  8. My gut feeling is that most people would like the option of using a more powerful msp430 chip in a prefabricated form that doesn't cost as much as the TI experimenter boards. The launchpad is nice and yes does have .1" headers. What it doesn't have is 2k of RAM and 32k of Flash. Your board fits that niche. It doesn't really cost you anything to add a second row of headers. I'm not sure if you are just advertising here or actually looking for input. If you want input, I think most people would say that a .1" standard grid header option is a nice feature. -rick
  9. Seems like we do. I think what others are unsuccessfully trying to suggest to you is that they might like your board better if you added a second row of headers aligned on the standard .1" grid like the Olimex board. Do the pins on your boards map to pins on the msp430 that have compatible functionality as the atmega pins? I mean with regard to I2C, SPI, PWM, ADC, UART, etc. Does the board take care of making the inputs and outputs 5 volts? Are you going to create an Arduino API for the msp430f5172? -rick
  10. How about a book on the msp430? MSP430 Microcontroller Basics -rick
  11. The new silk screening makes a big difference. Looks great! -rick
  12. Could it be that solder rubbed off another board during shipping? -rick
  13. There are 2 popular approaches to using the ATMEL chips, you can use an ISP programmer or a serial bootloader. Depending on which method you choose dictates how you will create projects and program the chips. It looks like there was an ISPmkII in your load of booty so you can use either method. Here are some sites worth looking at: http://www.avrbeginners.net/ http://tom-itx.dyndns.org:81/~webpage/how_to/atmega168/mega168_howto_main_index.php http://smileymicros.com/blog/2011/06/15/arduino-on-a-breadboard-breadboarduino/ http://itp.nyu.edu/physcomp/Tutorials/ArduinoBreadboard ht
  14. I wonder how many they have in stock in the US? Hopefully, once they have depleted that warehouse of boards they will announce the new version. Is there anyone with TI contacts that might shine some light on this? -rick
  15. You should spread the love and give them away to friends. That is what I did with my newly obtained 1.4 boards. My feeling is this, the more the msp430 community grows the more opportunities we have to grow with it. Just my 2 cents. Ignore as appropriate. -rick
  16. I ordered 2 boards on Thu Dec 8th after I read this thread. They showed up today and I got the 1.4 REV. : ( Has anyone else order since this Dec 8th and received old boards? -rick
  17. First place to start would be the CC110L datasheet: http://www.ti.com/lit/ds/symlink/cc110l.pdf You will program the chip using SPI to set registers, and read / write data. Too bad there aren't any samples with the value line chip. The path of least resistance with these chips is to use the Anaren API. It would be interesting to figure out the legalese with that API to see if it is possible to post self developed code. It seems like a reasonable thing to me. People post their Win32 code all the time which also happens to be written for a non open source API. Another approac
  18. You could probably benefit from using an external clock signal instead of trying to use the DCO. Check out this great article by oPossum on how to re-purpose the 12MHz square wave coming out of the FET: http://www.43oh.com/forum/viewtopic.php?f=8&t=1335 That hack and its code snippet show you how to use an external clock signal instead of the 32.768kHz crystal. -rick
  19. That is one of the most interesting things I've seen done with the 430. I like it! It would be great to see the source code. I have a Briggs & Stratton lawn mower just itching to be digital : ) -rick
  20. Dear TI, please undo this, and don't do this again. Yikes! Texas Instruments fixes a wrong and we complain? I applaud TI for fixing the problems with the first LP version. TI, please don't even think about reversing your decision. You have it right now! o New chips, Yay! The msp430g2553 and msp4302452 are much better chips for the first time msp430 user. More memory, more pins, real UART, more more more. Why would TI want the first impressions of the 430 to be small, small, small. Too bad the first version shipped with those cost sensitive chips. It is hard to change first impress
  21. It will be interesting to see how these things work out. I'm interested in how they perform compared to the new value line RF CC110L chips. -rick
  22. Sounds like your best bet would be the code in the link below written by oPossum. It is compact and provides blocking reads: http://www.43oh.com/forum/viewtopic.php?f=10&t=1727 -rick
  23. Great stuff! Looking at the code, it seems that you ignored all the SPI peripheral devices and opted for software bit banged SPI. Did you do that because you wanted the same code across all the chips, or was there some other reason? -rick
  24. gcc port of this code available here: https://gist.github.com/1384579 -rick
×
×
  • Create New...