參數(shù)資料
型號: EM6604DL24A
英文描述: Microcontroller
中文描述: 微控制器
文件頁數(shù): 38/39頁
文件大小: 675K
代理商: EM6604DL24A
EM6603
03/02 REV. G/439
Copyright
2002, EM Microelectronic-Marin SA
8
www.emmicroelectronic.com
4
Oscillator
A built-in crystal oscillator circuit generates the system operating clock for the CPU and peripheral circuits from an
externally connected crystal (typ. 32.768kHz) and trimmer capacitor (from Qin tw. Vss). The oscillator circuit is
supplied by the regulated voltage, Vreg. In SLEEP mode the oscillator is stopped.
With Fout bit in PA3cnt register we can put the system 32.768 Hz frequency on STB/RST pin as output.
4.1 Prescaler
The input to the prescaler is the system clock signal.
The prescaler consists of a fifteen (15) element divider
chain which delivers clock signals for the peripheral
circuits such as the timer/counter, buzzer, I/O
debouncers and edge detectors, as well as generating
prescaler interrupts.
Table 6.Prescaler interrupt source
Interrupt frequency
PSF1
PSF0
mask(no interrupt)
0
1 Hz
0
1
8 Hz
1
0
32 Hz
1
The frequency of prescaler interrupts is software selectable, as shown in Table 6.
Table 7. Prescaler control register - PRESC
Bit
Name
Reset
R/W
Description
3
MTim
0
R/W
Timer/Counter Interrupt Mask
2
PRST
-
R/W
Prescaler reset
1
PSF1
0
R/W
Prescaler Interrupt select 1
0
PSF0
0
R/W
Prescaler Interrupt select 0
5
Watchdog timer
If for any reason the CPU crashes, then the watchdog timer can detect this situation and output a system reset
signal. This function can be used to detect program overrun. For normal operation the watchdog timer must be
reset periodically by software at least once every three seconds (CLK = 32kHz) or a system reset signal is
generated to CPU and periphery. The watchdog is active during STANDBY. The watchdog reset function can be
deactivated by setting the NoWD bit to 1 in the Option register.
In worst case because of prescaler reset function WD time-out can come down to 2 seconds.
The watchdog timer is reset by writing 1 to the WDRST bit. Writing 0 to WDRST has no effect.
The watchdog timer also operates in STANDBY mode. It is therefore necessary to reset it if this mode continues
for more than three seconds. One method of doing this is to use the prescaler 1Hz interrupt such, that the
watchdog is reset every second.
Table 8.Watchdog register - WD
Bit
Name
Reset
R/W
Description
3
WDRST
-
R/W
Watchdog timer reset
2
Slmask
-
R/W
SLEEP mask bit
1
WD1
0
R
WD Timer data 1/4 Hz
0
WD0
0
R
WD Timer data 1/2 Hz
相關PDF資料
PDF描述
EM6604SO24A Microcontroller
EM6604SO24B Microcontroller
EM6604TP24B Microcontroller
EM6605DL24A Microcontroller
EM6605SO24A Microcontroller
相關代理商/技術參數(shù)
參數(shù)描述
EM6604SO24A 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Microcontroller
EM6604SO24B 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Microcontroller
EM6604TP24B 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Microcontroller
EM6604WP11 制造商:EMMICRO 制造商全稱:EM Microelectronic - MARIN SA 功能描述:Ultra Low Power Multi I/O Microcontroller
EM6604WP27 制造商:EMMICRO 制造商全稱:EM Microelectronic - MARIN SA 功能描述:Ultra Low Power Multi I/O Microcontroller