Jump to content
43oh

NJC

Members
  • Content Count

    110
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by NJC

  1. Hi everyone. I was looking through the Energia library (cores/msp430/twi.c) today trying to debug an issue I have been seeing, and noticed the following code: /* Work around for: * If the master does a read and then a write the START interrupt occurs * but the RX interrupt never fires. Clearing bit 4 and 5 of UCBxCTLW0 solves this. * bit 4 and 5 are however marked as reserved in the datasheet. */ UCBxCTLW0 &= ~0x18; Does anyone happen to know why this is? I have searched high and low for a reference on TI's forums and in their documentation to no avail. Thanks for the help!
  2. @@bluehash Thanks! I wish I had more time to be active in the community. I am still using the MSP430 for almost all of my projects, especially the FRAM series. I've been a bit too busy with school to write about what I've been working on. Thanks for editing the post! Good call.
  3. Hi Everyone! Recently, I released a Bluetooth Low Energy BoosterPack based on the BLE112 module from Bluegiga. The full-featured BoosterPack is a bit expensive, but there are a few different options that can make the BoosterPack very reasonable. I wanted to create this post so that you guys can ask me any questions you may have about it. Blank PCB: $10 - The BLE BoosterPack was designed with 0805 components and other easy to solder parts making it easy to hand assemble. For $10, you get a blank BoosterPack that can you assemble yourself. The layout and bill of materials (BOM) is ava
  4. Too many times have I wished that there was a UART based bootloader for the MSP430. Sure there are USB bootloaders for the larger chips and wireless bootloaders for the CC430 chips, but what about the Value Line series? I was wondering if anyone has researched this or attempted writing the code, regardless of whether or not it worked. If not, I'm going to start doing some research and try to pull together a blog post on what it would take to create a bootloader, and then build one (hopefully with help from anyone who's interested). EDIT: Apparently most TI chips have a BSL (bootstrap l
  5. One great application which an MSP430 would benefit from an RTOS is in a wireless mesh network. Many tasks will need to be done on a single chip randomly, sometimes causing conflicts. If I understand it correctly, an RTOS is really just a way to manage tasks in real time. Hope that helps put some perspective on it!
  6. For a bit more expensive option, I just recently purchased one of these on a whim. http://cgi.ebay.com/2in1-SMD-Hot-Air-Re ... 3848wt_968 I'm not sure I really got the best bang for my buck, but I needed it quickly and decided to impulse buy it. Turns out,it works really well and I am very impressed with it. I can't speak to the durability and longevity of it since I have had it for only 2 months now. But I really love the extra tips and nozzles and love only having one solder tool on my work bench.
  7. OCY, The IPTR package should fit just fine. Currently the second wave of prototypes are being manufactured, so I should get the boards and be able to test them in 2 or 3 weeks. There should be a few extra unpopulated boards left over from this upcoming batch. If you would like I could email you when the boards come in? NJC
  8. You can easily program the 55xx chips with the LaunchPad (once you have the chip soldered in somewhere).
  9. You actually don't need Vcc if the chips is powered externally. More accurately, you do not want to use the Vcc of the LaunchPad if you are powering the chip externally. Two power supplies fighting ends terribly. You need the ground though in order to provide a reference for the 2 programming signals. Example: For an MSP430 hooked up on a breadboard with RST tied to VCC via a resistor (47k), and powered by 2xAA batteries, you only need to connect the GND, the RST, and TEST pins in order to program the chip.
  10. Yeah, I have the Saleae too. The new software is real nice too for it. That one you posted, 32 Channels? Thats awesome! I might have to take a look into getting it once I have to start getting into FPGA's more.
  11. Doc, Take this with a grain of salt, since I never have used one of the pocket scopes. Personally I wouldn't buy one. $200 is a lot of money for something like that. You can definitely find a used scope on eBay for that much or even less, and the old analog scope will be much more useful. Theres nothing like having a real scope in front of you to use. I mentioned that you should check out the Rigol scope in your other post doc (on the workstation thread), you can also get it for $350 if you want to haggle some sellers on eBay. For a bit more cost, you get a scope you will use the rest of
  12. Doc, I bought an oscilloscope about 2 months ago and its been the best money I've ever spent. It's SO useful its amazing. I'm sure lots of people have heard about the one I got, but I thought I'd mention it again. The Rigol DS1052E - $400. I haven't tested the spectrogram feature yet (who knows how well that works), but everything I've done on the scope worked perfect. The front panel is responsive and overall, I am very impressed. I like it much more than the stupid low end Tektronix scopes in the labs at school. I was gonna do a review on my blog of the scope, but figured thats not the b
  13. Hey Everyone, Just thought I'd put my 2 cents in. I love the 55xx series, and have used 2 of them so far (the 5528, 5524, and soon to be 5510). The on board USB is a pain to get working to say the least, and I have only managed to get about 450 kbps for speed, which is a bit frustrating. I have been using the UART with an FTDI chip since I can easily exceed 1M baud with it. As far as doing other things with the chips (non-usb) its just as straight forward as the other MSP430 chips. There are code examples on TI's website which show how to use the peripherals (my favorite is the hardwar
  14. My blog has a few good posts for beginners and shows how to use a few peripherals which might be a good reference in addition to all the great links already posted in this thread. http://www.msp430launchpad.com/2010/07/ ... oject.html - this post shows how to use buttons with the LaunchPad. There are a bunch of other newer posts which involve the ADC in the chip that comes with the LaunchPad. Hope thats some help.
  15. mitsu-lover, welcome to the world of embedded systems. there isnt much you CANT do with a microcomputer if you have enough time to build and design it. I have a blog which might be able to help you get started with the MSP430 if you have a LaunchPad, and can definitely still help you get started with any MSP430 development board. If you don't have any hardware yet, I would recommend buying a LaunchPad (but find a place that has it in stock first). http://www.msp430launchpad.com/2010/07/ ... arted.html - I would recommend starting here since its the first post I have where you actually
  16. NJC

    LaunchScope

    My bad Doc. I saw "Nokia data cable" and instantly brain-auto-piloted to Nokia LCDs. I need to find some of my own Nokia chargers, the LaunchPad cables drive me nuts.
  17. Well here are a few pointers. Its much easier to use an opto-isolator with a digital signal than an analog one, the only thing to look out for with using a digital stream over an opto-isolator is how fast the isolator can switch at. I use 2 AAA batteries and use the built in isolation from the MSP430F5528 chip for USB (no idea if this is really safe enough for me to let anyone else use it though). An easy way around that is to also just use 2 MSP430s connected via IR, the one thats hooked up to the analog stuff is battery powered. A good rule of thumb, have no possible connection between yours
  18. I'm REAL glad you mentioned this! Here's why: I just did a search to see if I could find a link for you to the IEEE document that explains the algorithm I am using for beat detection. I have an IEEE subscription so I can get the article, but I'm not allowed to just share it with everyone sadly. Anyway, my search led me to the actual document I use on a random universities website (not sure how they get away with posting it though, I won't ask, lol). Though heres the interesting part, the university provides an errata sheet at the end of the article which corrects a few errors which I did not k
  19. NJC

    LaunchScope

    Hey everyone.... @bluehash: heres the answer to your question from my blog comments. I hope I answered your question, if not, let me know. About your first comment, Berstein's library is amazing for sure! I can't believe it took me so long to find it, very easy to use and customize. @simpleavr DC means no change in voltage (0Hz), you can have AC with a voltage offset. So it is possible to measure an AC signal if you are careful to make sure the voltage ranges stay within the 0V to 3V (or VCC) range. I actually use this for reading something similar to an EKG; the analog input c
  20. If theres interest, I might be able to post some code with a circuit to do this. I'm currently working on a small side project where I do some DSP to recognize the heart beat in an EKG (called QRS detection for those who are curious). It's a cool idea for sure! Maybe it would even be possible to make the necklace smaller and more like a piece of jewelry. Could use a small battery on the back of the neck, and use the metal chain to conduct electricity to a pearly light type thing... too bad I didn't see this earlier, would have made a nice silly Christmas present.
  21. NJC

    LaunchScope

    I finally got around to posting my final post in the scope series. I just wanted to thank Doc for his help a while ago with testing the code. If anyone finds any errors, or typos, or anything else please let me know; its hard to make sure everything is perfect. http://www.msp430launchpad.com/2010/12/ ... scope.html Any ideas on the next post? I'm open to suggestions. For now I'm thinking I2C communication between multiple chips, but I would not mind a distraction from my all my plans.
  22. Just wanted to poke my head in and say that I am excited for this project. I love photography and would love to find some time to work on some kind of related project with my Nikon (and other goofy little cameras). Can't wait to see more! And thank you for the link for the hot shoe!
  23. NJC

    Digital LED Clock

    Very interesting project. I have skimmed through the posts relating to this project, taken a look at the code and have one question. Do the MSP430s communicate with each other? I might have missed one of the posts which discussed this, so I apologize if this has been explained once already. If so, do you use I2C? or some other method?
  24. Thanks Doc! I still have trouble getting the motivation to comment things. But it is amazing how important comments can be. sloso, a big difference between a software UART and hardware UART, it is important to keep this in mind. Also, I have a few articles which are on UART, one day I might make an index sort of thing, for now you can just search my site for UART and find any related posts. The links above that NatureTM and Doc mentioned should be a great place to start.
  25. NJC

    ADC10 Vs SD16?

    Yeah, the setup is definitely the hardest part. I'm excited to see how well GRACE works, I only found out about it from here yesterday. Also, I forgot to mention one thing. Another HUGE difference between the two ADCs is that the SD16s reference voltage is a true reference voltage which allows for differential inputs. That is a huge benefit if you have a sensor which provides a differential output. What this means is that if your sensor outputs a negative voltage, the SD16 would make your life easier.
×
×
  • Create New...