i.MX8MM watchdog SRS function clarification

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

i.MX8MM watchdog SRS function clarification

跳至解决方案
2,127 次查看
andersmo
Contributor I

The documentation of the SRS bit in the WDOGx_WCR register for the i.MX8M Mini states:

Software Reset Signal. Controls the software assertion of the WDOG-generated reset signal
WDOG_RESET_B_DEB. This bit automatically resets to 1 after it has been asserted to 0. For proper operation of this function, the SRE bit in this register must be set to 1.

Is the sentence about the SRE bit accurate? In the documentation for e.g. the i.MX7, the description of the SRS bit doesn't mention SRE, and the description of the SRE bit says that it's for "an option(sic) way to generate software reset". This "more robust" software reset doesn't seem to be documented anywhere, but I digress...

In both U-Boot and the Linux kernel, the software reset implementation only asserts the SRS bit, not SRE, yet both are able to reboot properly. Am I misunderstanding something?

0 项奖励
回复
1 解答
2,112 次查看
JorgeCas
NXP TechSupport
NXP TechSupport

Hello, I hope you are doing well.

Researching about the statement "more robust software reset" I found that whatever SRE is 0 or 1, SRS =0 to all can do the software reset.

The difference of SRE between 1 and 0, is from the reset behavior, when SRE is 1, it keeps reset until system reset completed, while SRE is 0, it just trigger reset without waiting for reset status.

But, since on i.MX8MM reference manual states that SRE must be set to 1 and 0 is reserved so, we cannot warranty the correct behavior with SRE = 0.

Best regards.

在原帖中查看解决方案

0 项奖励
回复
2 回复数
2,113 次查看
JorgeCas
NXP TechSupport
NXP TechSupport

Hello, I hope you are doing well.

Researching about the statement "more robust software reset" I found that whatever SRE is 0 or 1, SRS =0 to all can do the software reset.

The difference of SRE between 1 and 0, is from the reset behavior, when SRE is 1, it keeps reset until system reset completed, while SRE is 0, it just trigger reset without waiting for reset status.

But, since on i.MX8MM reference manual states that SRE must be set to 1 and 0 is reserved so, we cannot warranty the correct behavior with SRE = 0.

Best regards.

0 项奖励
回复
2,083 次查看
andersmo
Contributor I
Thanks for the explanation.