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.

[FAQ] [参考译文] [常见问题解答] AWRL6844EVM:AWRL6844EVM:常见硬件问题

Guru**** 2457760 points
Other Parts Discussed in Thread: AWRL6844

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/sensors-group/sensors/f/sensors-forum/1501387/faq-awrl6844evm-awrl6844evm-common-hardware-questions

器件型号:AWRL6844EVM
主题:AWRL6844中讨论的其他器件

工具/软件:

常见问题解答1 - AWRL6844器件以固定的间隔从 PMIC 复位。

在发货的一些 AWRL6844 EVM 中、PMIC 的 WD 启用。 需要在长窗口周期内维护或禁用该看门狗。 以下是可用于克服复位的一些权变措施。

  1. 移除将 TPS650365 PMIC 的 nRESETOUT 连接到 AWRL6844器件的电阻器 R87。
  2. 通过软件在长窗口期内禁用看门狗。 下面是用于禁用看门狗的软件序列/示例。
    1. 将 common_test.h 和 common_test.c 添加到工程中。 要将这些文件包含在毫米波演示中、请将这些文件复制到与 mmwave_demo.c 相同的文件夹位置、并将它们包含在 project.js 中、如下图所示。

    2. e2e.ti.com/.../common_5F00_test.he2e.ti.com/.../common_5F00_test.c
    3. 通过执行 gmake gen-buildfiles 重新编译 makefile。
    4. 将 Common_test.h 包括在 mmwave_demo.h 文件中。

    5. 对 COMMON_TEST.c 执行以下代码更改  
      • 声明全局结构:
        • pmicHandle_t Pmic_Core;   
      • 在驱动程序初始化之前、在主函数中定义 pmicCfg 数据结构
        • Pmic_Core Cfg_t pmicCfg ={
              .i2cAddr = PMIC_CONFIG0_I2C_ADDRESS
              .commHandle =&(gI2cHandle[CONFIG_I2C0])、
              .ioRead =&APP_ioRead、
              .ioWrite =&APP_ioWrite、
              .critSecStart =&app_critSecStart、
              .critSecStop =&app_critSecStop
            };
            int32_t 状态= PMIC_ST_Success;

      • 初始化 PMIC 句柄并向看门狗模式寄存器写入。
        • Status = PMIC_INIT (&pmicCfg、&pmicHandle);



            IF (STATUS == PMIC_ST_Success)
            {
              uint8_t txbuf[1];
              txbuf[0]= 0x02;
              STATUS = APP_ioWrite (&pmicHandle、0x0F、0x01、txbuf);
            }
            暴露
            {
              DebugP_log ("初始化 PMIC 句柄失败\r\n");
              DebugP_log ("\tStatus 代码:%d\r\n"、状态);
            }

            IF (STATUS == PMIC_ST_Success)
            {
              DebugP_log ("\n 所有测试均已通过!\r\n");
            }
            
            (void) PMIC_DEINIT (&pmicHandle);

注意:应用程序应执行 PMIC 写入、以在每次 EVM 下电上电时禁用看门狗。