Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by RogueGeek

  1. About a year or so ago, I quit working on a project which would generate the 1200 baud audio tones for an AFSK Amateur Radio system. Due to real life getting in the way, I never finished it. I got it to generate the audio tones but never fully implemented the ascii data input handling. This general design isn't anything new, it has been done before on other platforms and it is quite likely someone has done it on the MSP. It was my first real development effort using Timers and was a good learning experience. I figured it was time to post the code in case all or part of it might be useful
  2. I'm working on building a speed controller for a belt grinder and I'm using a G2553 for the controller. Since the speed of the motor will need to vary between 1000-8000 RPM, the 32.768Khz clock was too slow and the DCO was drifting too much and causing the RPM to vary by several hundred counts even when the motor was running at a constant stable speed. This in turn caused the PID loop to act really weird and I could not hold a stable speed. What I needed was a stable reference oscillator to use for sensing the RPM of the drive motor. Being stubborn, I wanted to do this with only a singl
  3. Thanks for the suggestions. Since I have to update the board design to fix a few mistakes I was already thinking of adding some of the functionality you mentioned and making it support I2C or SPI. If there is interest from the 430 community I would be happy to make the Booster either as a completed unit or just the boards. As for the current status...I haven't had too much time this week to work on the code. Hopefully this weekend will give me a few hours to work on the receive and interrupt functions. -Brian
  4. Quick update, I finished assembling one of the prototype boards last night and wrote a bit of test code today. The uart is very easy to work with using I2C on the G2553. I was able to get it sending data at 230,400 baud after about 20 minutes of hacking/coding. I have attached a pic of the completed board. I'll upload some source code after I get it cleaned up a bit.
  5. The bare boards are due in today. I hopefully will be able to get one or two assembled tonight if my neck and back don't decide to cramp up again and derail my evening plans. SPI was mentioned above. The same chip supports both SPI and I2C. I decided on I2C and didn't make my boards to support both. I might add that in Rev 2. The price from Mouser is quite high but the chips can be found for around $2.40 each if you by five or more. So it basically works out to getting 5 chips for the price of buying two through Mouser.
  6. I thought I would write a quick post on a booster pack that I am working on. First a bit of background. I am working on a High Altitude Amateur Radio Balloon. I have some sensors and peripherals that use standard async serial for IO (GPS, speech module, radio modem), and I have run into a shortage of serial ports on the G2553. I could bit bang the serial out over GPIO but that just seems a bit inelegant to me. So I went looking for a better way. What I found is the SC16IS7xx line from NXP. I chose the SC16IS752 since it offers dual serial ports with a single connection to the I2
  7. Hello, I've been lurking here for well over a year and finally figured I should post something. I've been learning to use the USCI I2C interface on the on MSP430G2553 and came up with this code for talking to the 24LC256 chip. The code implements single/multibyte read/write routines for the 24LC256 EEPROM. It should work on the 24LC512 without modification and on other 24LCxx family chips with minimal modification to the addressing. I have probably broken numerous coding rules and best practices, there is no error checking to speak of, and nothing has timeouts. So use at you
  • Create New...