3610 views|8 replies

3222

Posts

0

Resources
The OP
 

Watchdog circuit [Copy link]

A problem with the watchdog circuit

看门狗电路.png (346.85 KB, downloads: 1)

看门狗电路.png
This post is from MCU

Latest reply

QWE4562009 published on 2020-12-2 18:59 The microcontroller feeding signal is a level inversion signal, is it a square wave? The last time it was high level, the next time it was low level? It is not possible to give the watchdog a high level regularly... It's OK to give a square wave. It's equivalent to two flips. That's fine. One more is fine. Without it, it won't work.   Details Published on 2020-12-4 12:33
 

3222

Posts

0

Resources
2
 
Is the microcontroller's watchdog signal a level-reversing signal, a square wave? The last time it was high, the next time it was low? Can't the watchdog be given a high or low level at a fixed time?
This post is from MCU
 
 

1w

Posts

25

Resources
3
 

External watchdogs are usually edge-triggered, as long as a trigger signal is provided. Please refer to the chip manual for details.

This post is from MCU

Comments

This means that the level of the signal needs to be flipped.   Details Published on 2020-12-3 18:07
 
 
 

994

Posts

3

Resources
4
 

Look at the description and yes, alternating high and low levels are used to feed the dog.

This post is from MCU
 
 
 

2145

Posts

8

Resources
5
 

The previous company made a pin2pin compatible chip of 706 series.

This only requires a level inversion of the WDI pin within 1.6s, a rising edge or a falling edge, to clear the Watchdog counter inside the 706 chip to 0. There is a 10kHz RC, 14-bit counter inside, which overflows when it counts to 16384. Of course, the 10kHz RC is not very accurate, and it is about right to adjust it to 9kHz to 11kHz.

The microcontroller program can use the timer to make a timing, such as a 1s timing. When the MCU counts for 1 second, the IO port is reversed. It looks like a square wave and cannot be fixed high or low. It is an edge trigger, not a level trigger.

If the dog feeding signal is not generated within 1.6s, WDO will change from high to low, pulling the MR pin low, thereby pulling the reset pin low and resetting the system. When the reset is valid, the chip will automatically clear the wdg timer, WDO will become invalid, and MR will also become invalid, and the reset pin status will not be deadlocked; after the reset is valid for 200ms, the reset becomes invalid, the MCU can be restarted, and the 706 continues to work normally.

This post is from MCU
 
Personal signature坐而言不如起而行
 
 

3222

Posts

0

Resources
6
 
dcexpert posted on 2020-12-2 21:41 The external watchdog is usually edge-triggered, as long as the trigger signal is provided. Please refer to the chip manual for details.

This means that the level of the signal needs to be flipped.

This post is from MCU

Comments

When the level is flipped, doesn't it provide a rising/falling edge signal?  Details Published on 2020-12-3 20:48
 
 
 

1w

Posts

25

Resources
7
 
QWE4562009 posted on 2020-12-3 18:07 Then it means that the level flip signal is required

When the level is flipped, doesn't it provide a rising/falling edge signal?

This post is from MCU
 
 
 

6062

Posts

4

Resources
8
 
QWE4562009 published on 2020-12-2 18:59 The microcontroller feeding signal is a level inversion signal, is it a square wave? The last time it was high level, the next time it was low level? It is not possible to give the watchdog a high level regularly...

It's OK to give a square wave. It's equivalent to two flips. That's fine. One more is fine. Without it, it won't work.

This post is from MCU

Comments

To put it bluntly, the level still needs to be flipped.  Details Published on 2020-12-7 19:17
 
 
 

3222

Posts

0

Resources
9
 
damiaa posted on 2020-12-4 12:33 QWE4562009 posted on 2020-12-2 18:59 The microcontroller feeding signal is a level inversion signal, is it a square wave? The last time it was high level, the next...

To put it bluntly, the level still needs to be flipped.

This post is from MCU
 
 
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list