поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

CR16MFS5 датащи(PDF) 42 Page - National Semiconductor (TI)

[Old version datasheet] Texas Instruments acquired National semiconductor.
номер детали CR16MFS5
подробное описание детали  Family of CompactRISC 16-Bit Microcontrollers
PDF  99 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  NSC [National Semiconductor (TI)]
домашняя страница  http://www.national.com
Logo NSC - National Semiconductor (TI)

CR16MFS5 датащи(HTML) 42 Page - National Semiconductor (TI)

Back Button CR16MFS5 Datasheet HTML 38Page - National Semiconductor (TI) CR16MFS5 Datasheet HTML 39Page - National Semiconductor (TI) CR16MFS5 Datasheet HTML 40Page - National Semiconductor (TI) CR16MFS5 Datasheet HTML 41Page - National Semiconductor (TI) CR16MFS5 Datasheet HTML 42Page - National Semiconductor (TI) CR16MFS5 Datasheet HTML 43Page - National Semiconductor (TI) CR16MFS5 Datasheet HTML 44Page - National Semiconductor (TI) CR16MFS5 Datasheet HTML 45Page - National Semiconductor (TI) CR16MFS5 Datasheet HTML 46Page - National Semiconductor (TI) Next Button
Zoom Inzoom in Zoom Outzoom out
 42 / 99 page
background image
www.national.com
42
13.0 Real-Time Timer and WATCHDOG
The Timing and WATCHDOG Module (TWM) generates the
clocks and interrupts used for timing periodic functions in the
system, and also provides Watchdog protection against soft-
ware errors. The module operates off the slow clock either
generated by the external 32kHz oscillator or from the pres-
caled high speed system clock. The maximum operating
clock frequency is 100kHz.
The WATCHDOG is designed to detect program execution
errors. Once WATCHDOG operation is initiated, the software
must periodically write a specific value to a WATCHDOG reg-
ister. If the software fails to do so, a WATCHDOG error is trig-
gered, which resets the device.
The TWM is flexible in allowing selection of a variety of clock
ratios and clock sources for the WATCHDOG circuit. Once
the software configures the TWM, it can lock the configura-
tion for a higher level of protection against erroneous soft-
ware action. Once locked, the TWM can be released only by
a device reset.
13.1
TWM STRUCTURE
Figure9 is a block diagram showing the internal structure of
the Timing and WATCHDOG module. There are two main
sections: the Real-Time Timer (T0) section at the top and the
WATCHDOG section on the bottom.
All counting activities of the module are based on the slow
clock (SLCLK). A prescaler counter divides this clock to
make a slower clock. The prescaler factor is defined by a 3-
bit field in the Timer and WATCHDOG Prescaler register,
which selects either 1, 2, 4, 8, 16, or 32 and the divide-by fac-
tor. Thus, the prescaled clock period can be set to 1, 2, 4, 8,
16, or 32 times the slow clock period. The prescaled clock
signal is called T0IN.
13.2
TIMER T0 OPERATION
Timer T0 is a programmable 16-bit down counter that can be
used as the time base for real-time operations such as a pe-
riodic audible tick. It can also be used to drive the WATCH-
DOG circuit.
The timer starts counting from the value loaded into the
TWMT0 register and counts down on each rising edge of
T0IN. When the timer reaches zero, it is automatically reload-
ed from the TWMT0 register and continues counting down
from that value. Thus, the frequency of the timer is:
fSLCLK / [ (TWMT0+1) * prescaler ]
When an external crystal oscillator is used as the SLCLK
source or when the fast clock is divided accordingly, fSLCLK
is 32.768 kHz.
The value stored in TWMT0 can range from 0001 hex to
FFFF hex.
Figure 9.
Timing and WATCHDOG Module Block Diagram
(TWCP)
16-bit Timer (Timer0)
5-bit pre-scaler counter
WATCHDOG Timer
Peripheral Bus
CLKIN1
T0OUT
WATCHDOG ERROR
TWMT0 register
WDCNT
WDSDM
WATCHDOG
Service
Logic
Restart
Underflow
T0CSR Contrl. Reg.
Restart
Underflow
T0LINT
WDERR
(to ICU)
(to Multi-Input-
Wake-up)
slow clock from
dual clock and
reset module
REAL TIME TIMER (T0)
WATCHDOG
T0IN



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 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
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