cancel
Showing results for 
Search instead for 
Did you mean: 

STWD100NY Connection

tensaisakuragi06
Associate III

I use STWD100NY Watchdog IC and for now, i can not achieve what i want. The problem is about to get output from the WDO pin. I did not connect the WDO to the MCU but i connect it to drive a relay. I set up my timer to 4 seconds. Even if it exceeds the twd time, i can not get the signal from WDO pin. I attach my drawings below and needs your help. My Vcc is 5V( most setups use 3.3v but i think that i can choose it 5V according to datasheet ). R25 and R26 resistors are optional.watchdog IC.png

1 ACCEPTED SOLUTION

Accepted Solutions

If you control /EN with a voltage divider of 1k+1k, the STWD100 will never work because this results in a voltage of VCC/2. However, as shown in table 4 mentioned above, /EN requires a voltage of max. 30% VCC to enable the STWD100. This means that as long as /EN is not activated, WDO cannot be active either.

Incidentally, WDO is an open drain, which is why you have provided R134 as a pull-up. However, this also means that R40 is pointless and can be replaced by a short circuit.

 

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

17 REPLIES 17
Peter BENSCH
ST Employee

Er... you want to drive a relay directly connected to WDO, i.e. a mechanical relay with a coil and mechanical contacts?

What are the electrical parameters of this relay?

And you have read the data sheet, table 4, parameter VIL, and you also understand what R25/R26 do at pin /EN?

Regards
/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
Andrew Neil
Super User

@tensaisakuragi06 wrote:

I attach my drawings below and needs your help.


You omitted a key part of the drawing - you haven't shown how your relay is connected!

And, as @Peter BENSCH said, you need to give full details of the relay.

 

How to write your question to maximize your chances to find a solution

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.
tensaisakuragi06
Associate III

I use the WDO like microcontroller pin to drive, not to the coil. I also attach the relay connection. I put optional resistors to get precaution against if i left the EN floating and did not drive the STWD100. Because some of the parts in datasheet , left float and somewhere if EN remains high for instance. Its total my lack of inexperience of STWD100.

relay connection.png

tensaisakuragi06
Associate III

With your pointer i am not sure i can drive relay with WDO? because i did not see any parameter like Iwdo, max current value of WDO.

If you control /EN with a voltage divider of 1k+1k, the STWD100 will never work because this results in a voltage of VCC/2. However, as shown in table 4 mentioned above, /EN requires a voltage of max. 30% VCC to enable the STWD100. This means that as long as /EN is not activated, WDO cannot be active either.

Incidentally, WDO is an open drain, which is why you have provided R134 as a pull-up. However, this also means that R40 is pointless and can be replaced by a short circuit.

 

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
tensaisakuragi06
Associate III

I am plannig to use as 0R on R25 and R26. If IC works with EN floating, i did not put those resistors. To get trigger soruce from WDO, should not i left floating the EN pin? Currently i left the EN pin floating(did not put any resistor on R25 and 26). I will try shorting the R40.

tensaisakuragi06
Associate III

I was plannig to left floating of EN du to this statement:enable.png

The excerpt from the data sheet already gives you the answer to your last post.

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

@tensaisakuragi06 wrote:

I am planning to use as 0R on R25 and R26.


If you put 0R on R25 and R26 you will short your VCC supply to GND !

AndrewNeil_0-1756722950854.png

 

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.