i want to use use the imx6ul internal watchdog nWdog ?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i want to use use the imx6ul internal watchdog nWdog ?

1,392 Views
1048929016
Contributor I
QQ图片20190117171837.png
引脚.png

Configuration is as follows:
devicetree:
&wdog1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_wdog>;
fsl,wdog_b;
fsl,use-wre;
fsl,ext-reset-output;
};
....
//add 内部看门狗的引脚配置
pinctrl_wdog: wdoggrp {
fsl,pins = <
MX6UL_PAD_LCD_RESET__WDOG1_WDOG_ANY 0x30b0
>;
};
use wdog1  .
i use imx_4.1.15_2.0.0_ga of  imx2_wdt.c:
Successful configuration
but..
When the board is up, the pin is at a high level. After the software watchdog resets the pin,only power-on again ,this pin is high level.
why???  i want to use internal watchdog
Labels (1)
0 Kudos
5 Replies

1,085 Views
Yuri
NXP Employee
NXP Employee

Hello,

 

  Hope the following helps.

https://community.nxp.com/message/926823 

 

Have a great day,

Yuri

 

------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer

button. Thank you!

0 Kudos

1,085 Views
1048929016
Contributor I

hello ,Mr. Yuri Muhin, I have successfully configured the pin, but what happens is that the pin is always output low level after power off to power on  about reset.

0 Kudos

1,085 Views
Yuri
NXP Employee
NXP Employee

Hello,

  You can test WDOG functionality, using software reset bit WDA  of Watchdog Control Register (WDOG_WCR).
WDOG_B signal remains asserted as long as the WDA bit is "0". 

Note, because of total system reset, performed by the board circuit, WDA will be also reset in default state ("1")

just after the WDOG reset.  

Regards,

Yuri.

0 Kudos

1,085 Views
1048929016
Contributor I

thanks

0 Kudos

1,085 Views
1048929016
Contributor I

this pin is always low level. only power-on again

0 Kudos