EmbDev.net

Forum: µC & Digital Electronics MSP430f5529 operating clock


Author: Alex A. (Company: Andi&Alex) (alextbg)
Posted on:

Rate this post
0 useful
not useful
I found in the datasheet, that the msp has a system clock with 8MHz. My 
question is now, how can I reach that. The reason is that i neet a 1µs 
delay and I don't know how I can achive that.

Thanks for your help

Author: Clemens L. (c_l)
Posted on:

Rate this post
0 useful
not useful
See the example program MSP430F55xx_UCS_02.c.

Author: Alex A. (Company: Andi&Alex) (alextbg)
Posted on:

Rate this post
0 useful
not useful
Where can I get this sample program?

Author: Informant (Guest)
Posted on:

Rate this post
1 useful
not useful

Author: Clemens L. (c_l)
Posted on:

Rate this post
1 useful
not useful

Author: msp (Guest)
Posted on:

Rate this post
1 useful
not useful
example:
int main(void) {

   WDTCTL = WDTPW + WDTHOLD;

   BCSCTL1 = CALBC1_8MHZ;
   DCOCTL = CALDCO_8MHZ;
...

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig