ZHDA142 May   2026 CC2745R10-Q1

 

  1.   1
  2.   摘要
  3.   商标
  4. 1简介
    1. 1.1 适用器件
    2. 1.2 所需软件
  5. 2快速决策指南:何时使用无晶体模式?
    1. 2.1 适合使用 LFOSC 的场景
    2. 2.2 权衡因素
    3. 2.3 适合使用外部晶体 (LFXT) 的场景
  6. 3内部振荡器运行
    1. 3.1 工作原理
    2. 3.2 CC27xx 设计:LFCAL 硬件
  7. 4快速入门指南
    1. 4.1 打开 SysConfig
    2. 4.2 选择 LFOSC Clock Source
    3. 4.3 启用 LFOSC Compensation
    4. 4.4 添加补偿配置文件
    5. 4.5 设为默认配置文件
    6. 4.6 构建并测试
  8. 5配置详细信息和功耗
    1. 5.1 了解补偿配置文件
    2. 5.2 配置文件示例
    3. 5.3 电源策略
  9. 6窗口展宽
    1. 6.1 挑战
    2. 6.2 设计
  10. 7硬件设计
    1. 7.1 可移除元件
    2. 7.2 LFXT 引脚
    3. 7.3 HFXT 要求
    4. 7.4 电路板启动核查清单
  11. 8总结
  12. 9参考资料

构建并测试

当 SysConfig 完成无晶体模式配置后,生成的初始化代码会按顺序调用以下电源驱动 API 来激活 LFOSC 补偿。

编译工程时,以下代码会自动添加到 SysConfig 生成的 Board_init() 函数中:

/* activates the internal LFOSC and switches the low-frequency clock (LFCLK) source to the LFOSC. Dynamic switching between low-frequency clock sources is currently not supported.*/
PowerLPF3_selectLFOSC();
/* initializes the internal state of the LFOSC compensation subsystem and configures the LFCAL hardware measurement window. The default calibration measurement duration is 1500µs.. */
PowerLPF3_initLfoscCompensation();
/* supplies the compensation profile that governs how the LFCAL hardware computes the optimal calibration interval. The profile is defined by the PowerLPF3_LfoscCompensationProfile structure. */
PowerLPF3_setLfoscCompensationProfile(&configLfoscCompProfile0);
/* activates the LFCAL hardware block; the driver reads the current device temperature, computes the initial calibration interval based on the active profile, and begins the autonomous periodic calibration cycle. Temperature change notifications are registered internally to dynamically adjust the calibration interval ensuring that sleep clock accuracy remains within ±500ppm under varying thermal conditions. */
PowerLPF3)enableLfoscCompensation();

编译工程,并通过确认在长时间待机期间 BLE 连接事件保持无时序错误,来验证系统运行正常。