TI中文支持网
TI专业的中文技术问题搜集分享网站

TPS65381会无限复位单片机

我使用TPS65381与TMS570结合,但是现在出现了一个问题,当mcu软件死机后,看门狗会无限重启单片机,请问有人遇到类似问题么,怎么解决

Susan Yang:

请您参考一下

e2e-ti-com.telligentsaas.net/…/264331

once the watchdog function of the TPS65381 is activated you cannot stop it anymore as this is a safety feature.

Before you activate the watchdog, you could add a function in in your software, which recognizes (i.e. by checking a I/O pin),.if you want to execute application code or if you want to program the TMS570. Depending on what you want to do, the watchdog gets initialized or not.

However, in order to reprogram your TMS570 you can do the following: Power up your hardware with TMS570 held in reset so that program execution cannot start and TPS65381 does not get initialized. After 600ms the TPS65381 enters SAFE state and you can release the reset from TMS570 and reprogram the device.

Following some more ideas how to get the TMS570 reprogrammed, but they require hardware modification:

1. Prevent the TPS65381 to be initialized by i.e. open up a SPI connection

2. Prevent TMS570 to get reset by TPS65381 by opening the reset connection from TPS65381 to TMS570. Make sure the reset line on TMS570 side is pulled high.

user5823334:

回复 Susan Yang:

我们这边的硬件已经做了相关措施,增加了一个拨码开关,可以随时人为断开复位的物理连接,但是在实际使用中,如果我的程序由于外界干扰跑飞,这时tps65381的看门狗会无限重启MCU,按道理我们只需要看门狗动作一次就可以了。

Susan Yang:

回复 user5823334:

tps65381的话建议您去电源管理问一下,我对这个芯片也不是很熟悉

gaoyang9992006:

是否电路设计问题? —————————– TPS65381的NRES引脚我们一般都接到MCU的PORRST管脚上。 对于硬件电路的设计,你可以参考下面链接里面的两个文档,应该会对你有所帮助。http://www.ti.com/lit/an/spna176a/spna176a.pdf processors.wiki.ti.com/…/TMS570LS12x_CNCD_SchematicRevA.pdf

gaoyang9992006:

spna176a.pdfTMS570LS12x_CNCD_SchematicRevA.pdf

赞(0)
未经允许不得转载:TI中文支持网 » TPS65381会无限复位单片机
分享到: 更多 (0)