Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

EM6812F2TP24B Datasheet(PDF) 22 Page - EM Microelectronic - MARIN SA

Part # EM6812F2TP24B
Description  Ultra Low Power 8-bit FLASH Microcontroller
PDF  81 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  EMMICRO [EM Microelectronic - MARIN SA]
Direct Link  http://www.emmicroelectronic.com
Logo EMMICRO - EM Microelectronic - MARIN SA

EM6812F2TP24B Datasheet(HTML) 22 Page - EM Microelectronic - MARIN SA

Back Button EM6812F2TP24B Datasheet HTML 18Page - EM Microelectronic - MARIN SA EM6812F2TP24B Datasheet HTML 19Page - EM Microelectronic - MARIN SA EM6812F2TP24B Datasheet HTML 20Page - EM Microelectronic - MARIN SA EM6812F2TP24B Datasheet HTML 21Page - EM Microelectronic - MARIN SA EM6812F2TP24B Datasheet HTML 22Page - EM Microelectronic - MARIN SA EM6812F2TP24B Datasheet HTML 23Page - EM Microelectronic - MARIN SA EM6812F2TP24B Datasheet HTML 24Page - EM Microelectronic - MARIN SA EM6812F2TP24B Datasheet HTML 25Page - EM Microelectronic - MARIN SA EM6812F2TP24B Datasheet HTML 26Page - EM Microelectronic - MARIN SA Next Button
Zoom Inzoom in Zoom Outzoom out
 22 / 81 page
background image
R
EM6812
Copyright
© 2005, EM Microelectronic-Marin SA
22
www.emmicroelectronic.com
7.6
Watchdog
The digital watchdog is part of the integrated safety functions. Its main task is to supervise the good firmware execution
flow. As such it may prevent being stuck in an unwanted endless loop or may allow system recovery in other cases. Its
implementation is realised with a low speed counter, which asserts a reset signal on overrun.
Watchdog reset is flagged with bit ResetWDFlag in register RegResStat. It may be used to localize the reset source. Write
‘0’ to clear.
The firmware must regularly clear the watchdog otherwise a watchdog reset will occur at timer overrun, this watchdog reset
will itself trigger a system reset and forces the circuit to restart.
The watchdog function is always enabled after start-up and after any reset.
The watchdog is configurable
1Hz or 128Hz clock sources (timeouts of ~4s or ~30ms)
Secure watchdog disabling (locking) with special watchdog
Reading of the 2 bit watchdog counter value
7.6.1
Watchdog counter
To clear the watchdog counter the firmware must write the bit WDClear at ‘1’ in the register RegWDSys. In this way the 2
bits counter is reset and the watchdog restart from 0. WDClear is always read at ‘0’ and writing ‘0’ has no effect. It is
recommended to clear the WD counter frequently I.e. every 1s while working with the 1Hz counter clock source.
Figure 14. Watchdog timing diagram
The watchdog counter status is accessible by reading WDVal[1:0] in RegWDSys. These two bits are not accessible in write
mode. The counter value is '0' if the WD is disabled.
With WDClkSel bit it is possible to select from 2 prescaler1 clock sources; Pr1Ck[0] (typ.1Hz) and Pr1ck[7] (typ.128Hz),
meaning that the watchdog time out is respectively ~4s and ~30ms.
Changing the prescaler1 input clock selection might also change the watchdog counter frequency.
7.6.2
Lock/Unlock
It is possible to disable the watchdog by in a save way to prevent that system malfunction can itself inhibit the WD.
Disabling needs to follow a strict protocol using key lock and key bits which at the end need to be confirmed with writing the
EnWD
at ‘0’.
The key lock system WDKeyLock[2:0] in RegWDSys allows the software writing the key word WDKey in the register
RegWDKey. It is possible to write EnWD at ‘0’ only when the watchdog key word has been loaded.
When the watchdog is disable, WDKey and WDKeyLock must not change; if one of them is modified or EnWD is written at
'1' the watchdog is directly enabled.
Note:
EnWD can not be written '0' as long as the valid key lock number and the valid key word are not set.
When WDKeyLock is not the valid number, the WDKey is reset and can not be changed.
How to Unlock (Disable the watchdog)
1
st: Write the valid key lock number hex47 in RegWDSys
2
nd: Write the valid key word hex96 in register RegWDKey
3
rd: Disable the WD by writing hex 07 in register RegWDSys
How to Lock (Enable the watchdog)
Locking by clearing the WDKeyLock.
This action will automatically also clear WDKey and EnWD bits.
WDReset
WDClk0
WDVal[1:0]
ResSys
00
01
10
11
00
01
10
System cold start
RC cold start



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com