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.
板子上是否有外部的32.768k低频晶振?
将信号映射到IO上用频率计测一下频率是否准确
#include <driverlib/aon_ioc.h> IOCPortConfigureSet(IOIDn, IOC_PORT_AON_CLK32K, IOC_STD_OUTPUT); AONIOC32kHzOutputEnable();
实际情况让人很无语:
1、
#define SET_CCFG_MODE_CONF_SCLK_LF_OPTION 0x0 // LF clock derived from High Frequency XOSC
选择此项时,一切正常。
//#define SET_CCFG_MODE_CONF_SCLK_LF_OPTION 0x2 // LF XOSC
测量31.25kHz
选择此项时,一切正常。
2、
//#define SET_CCFG_MODE_CONF_SCLK_LF_OPTION 0x0 // LF clock derived from High Frequency XOSC
#define SET_CCFG_MODE_CONF_SCLK_LF_OPTION 0x2 // LF XOSC
测量31.55kHz
只能广播,连接总是失败。
3、
//#define SET_CCFG_MODE_CONF_SCLK_LF_OPTION 0x0 // LF clock derived from High Frequency XOSC
#define SET_CCFG_MODE_CONF_SCLK_LF_OPTION 0x2 // LF XOSC
将8pF电容更换原有7pF电容
测量32.77kHz
一切正常。