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.

[参考译文] DRA821U-Q1:Linux 每 13 分钟重新启动一次、即使 PMIC A's WD_RST_EN 位被写入 0。

Guru**** 2562120 points


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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1572729/dra821u-q1-linux-reboot-every-13-minutes-even-pmic-a-s-wd_rst_en-bit-is-written-to-0

器件型号:DRA821U-Q1
主题:DRA821 中讨论的其他器件

工具/软件:

您好!

与 DRA821 评估板类似、我们的设计使用两个 PMIC TPS6594141B 和 LP876441B1 为 DRA821 供电。 软件方面、我们使用 Linux PSDK v10.0.1。

 我们尝试测试 TPS6594 看门狗 Q&A 模式。  

TestCase:启用看门狗、但禁用 WD_RST_EN。  

请勿馈送看门狗预期中断信号 nINT、 SoC 不会复位

结果:大约 13 分钟(长窗口)后、SoC 复位。

 

TPS6594(带 DRA821)看门狗问答模式

我们执行了以下协议:

 

禁用 WDG

 i2cset -f -y -m 0xe0 1 0x48 0x31 0x20 //GPIO1 -> i2c

 i2cset -f -y -m 0xe0 1 0x48 0x32 0x40/GPIO2 -> i2c

 i2cset -f -y -m 0x04 0 0x12 0x06 0x04 //PWRHOLD =1

 i2cset -f -y -m 0x40 0 0x12 0x09 0x00 //禁用 WDG

 

配置 WDG

 i2cset -f -y -m 0x02 0 0x12 0x06 0x02 //设置 Q&A 模式

 i2cset -f -y -m 0x38 0 0x12 0x09 0x38 //设置 FAIL_TH  

 i2cset -f -y -m 0x07 0 0x12 0x09  //set rst_th   

 i2cset -f -y -m 0x80 0 0x12 0x09 0x00 //禁用复位 WD_RST_EN

 

3.check 寄存器

 i2cget -f -y 0 0x12 0x01

 i2cget -f -y 0 0x12 0x02

 i2cget -f -y 0 0x12 0x03

 i2cget -f -y 0 0x12 0x04

 i2cget -f -y 0 0x12 0x05

 i2cget -f -y 0 0x12 0x06

 i2cget -f -y 0 0x12 0x07

 i2cget -f -y 0 0x12 0x08

 i2cget -f -y 0 0x12 0x09

 i2cget -f -y 0 0x12 0x0a

 gpioget -c 0 84 //PMIC nINT monitor

 

启用 WDG

 i2cset -f -y -m 0x40 0 0x12 0x09 0x40 //启用 WDG

 i2cset -f -y -m 0x04 0 0x12 0x06 0x00 //pwrhold = 0

您是否发现导致每 13 分钟重新引导系统的任何错误/原因?

谢谢、

Charles

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

    尊敬的 Charles:

    分配给该帖子的 TI 资源当前已不在办公室、请注意、响应会有延迟。

    此致、

    KB