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.

MSP430FR6989: MSP430FR6989 HFXTCLK High Frequency Clock

Part Number: MSP430FR6989

Hello,

I need an ~4Mhz clock output from the MSP430 for an ADC. I'd like to use Pin 4.0 and use the MCLK. Is that possible? Do I need an external crystal for the HFXTCLK? How can I get the frequency of the HFXTCLK?

Regards
Tobi

  • Hello Tobi,

    You can output MCLK on the P4.0 pin or also out SMCLK somewhere.  There is an example close to what you are trying to do called msp430fr69xx_cs_01.c here:http://dev.ti.com/tirex/explore/node?node=ABBcbFOMS6iOgeIh.r-PAg__IOGqZri__LATEST 

    This example generates an 8MHz MCLK and SMCLK from the DCO and output SMCLK on P7.4.  You can divide SMCLK by 2 to reach 4MHz or modify it to lower MCLK and output it on P4.0.    

    As for the HFXT, this is an input for high-frequency crystal oscillators.  You can drive the MSP430FR6989 clocks with a HF crystal, but it is not always required.

    Thanks,

    JD

      

**Attention** This is a public forum