This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

msp430 clock module

Other Parts Discussed in Thread: MSP430G2553

Dear All

i am trying to learn msp430g2553  i have a basic question ,


how to route the internal clock generated to an output pin for testing the frequency

  • Hi Kavitha!

    For the MSP430G2553 SMCLK is available as a special function at P1.4 and ACLK on P1.0:

    To make these clocks available, you have to configure the pins accordingly. For SMCLK this requires to

    • set P1.4 to output direction by writing
    P1DIR |= 0x10;
    • and set the selection 1 bit for P1.4 by writing
    P1SEL |= 0x10;

    Now SMCLK is available at P1.4 of the device. The datasheet has a table that shows what to do in order to use a specific function of a pin:

    Dennis

**Attention** This is a public forum