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.

MSP430FR5994: MSP430FR5994高频时钟无法选择

Part Number: MSP430FR5994

使用了MSP430FR5994单片机,使用8MHz的晶体,连接至XT2OUT和XT2IN,作为高速时钟使用。通过配置PJSEL1.6=0,PJSEL0.6=1,并关闭HFXTOFF。在晶振错误标识为0,时,切换至HF,但是输出是4.MHz。通过CTL2可以正确设置MCLK和SMCLK为DCO、MODCLK、ACLk,但是就是无法使用HF。选择了HF后得到的依然是MODCLK时钟,也就是4.8MHz。不知何故?请指教!谢谢!

  • 请问您是否有测试下面的例程?在此例程中使用的是8Mhz的晶振

    // Description: Configure ACLK = LFXT, SMCLK = HFXT and MCLK = DCO
    // NOTE1: 32768Hz and 8MHz crystals required!

    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    /* --COPYRIGHT--,BSD_EX
    * Copyright (c) 2015, Texas Instruments Incorporated
    * All rights reserved.
    *
    * Redistribution and use in source and binary forms, with or without
    * modification, are permitted provided that the following conditions
    * are met:
    *
    * * Redistributions of source code must retain the above copyright
    * notice, this list of conditions and the following disclaimer.
    *
    * * Redistributions in binary form must reproduce the above copyright
    * notice, this list of conditions and the following disclaimer in the
    * documentation and/or other materials provided with the distribution.
    *
    * * Neither the name of Texas Instruments Incorporated nor the names of
    * its contributors may be used to endorse or promote products derived
    * from this software without specific prior written permission.
    *
    * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
    * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX