Custom made PCB with CC430 works! Blinking wonderfully :-)

Submitted by fabio on Sat, 2012-10-06 18:14.

I'm working on a little project using the CC430 microcontroller (specifically a CC430F6137) from Texas Instruments.. well, I was a bit skeptical about this project because the micro is pretty hard to solder, (it's a QFN with 64 pins).. however, some time ago I soldered it fine and only today I finally had time to run some code on it.

Well.. it works! I wrote a little blinking program for it, compiled it under Linux and it works! Ahhh.. great! :-)

Here is the code (file name blink.c):

#include  <cc430x613x.h>

int main(void) {
   unsigned int count;
   WDTCTL = WDTPW + WDTHOLD; //Stop watchdog timer

   P2OUT = 0; //Configure P1 to output on P1.0
   P2DIR |= 0x01;

   for(;;){
      P2OUT ^= 0x01; //Toggle P1.0 using exclusive-OR
      for(count=0; count<60000; count++){ /* Insert some delay */ }
   }
}

Under Linux with msp430-gcc you can simply compile it with:

msp430-gcc -mmcu=cc430f6137 blink.c

Then, a file a.out will be generated.. now simply program and run the micro with:

mspdebug rf2500
prog a.out
run

Awesome.

Posted in:

Breakout board

Submitted by Gary (not verified) on Wed, 2012-10-31 16:03.

Hi,
Where did you get that breakout board ?
Nice project

It is not a breakout board.

Submitted by fabio on Wed, 2012-10-31 16:44.

It is not a breakout board. It's a project I'm working on so I designed the board by myself using the schematics of the ez430 watch as inspiration.

Fabio, nice work! I am

Submitted by Artur Gontijo (not verified) on Mon, 2012-12-24 16:28.

Fabio, nice work!

I am developping something like this project. I'm having some problems with the capacitance between the External Vcc and the DVcc and AVcc pins of CC430F6137. From the datasheet it should be one 100nF capacitor and another 10uF, but looking into the chronos datasheet (915MHz) there are two 100nF capacitors (I've tried this model, but with no success to program it, just got "Unknown Device" from CCS5v debugger). If it's possible, please send me your schematic.

Thx, and congratulations!

Post new comment

The content of this field is kept private and will not be shown publicly.
If you have a personal or company website insert its address in the form http://www.example.com/ .
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <pre> <small> <del> <img> <h2> <h3> <h4> <b> <video> <sub> <sup>
  • Lines and paragraphs break automatically.
  • Images can be added to this post.
  • You may use [inline:xx] tags to display uploaded files or images inline.
  • You may insert videos with [video:URL]
  • Each email address will be obfuscated in a human readable fashion or (if JavaScript is enabled) replaced with a spamproof clickable link.

More information about formatting options