参数资料
型号: M38507F8AFP
元件分类: 微控制器/微处理器
英文描述: 8-BIT, FLASH, 6.25 MHz, MICROCONTROLLER, PDSO42
封装: 8.40 X 17.50 MM, 0.80 MM PITCH, PLASTIC, SSOP-42
文件页数: 29/59页
文件大小: 885K
代理商: M38507F8AFP
Rev.2.13
Apr 17, 2009
Page 35 of 56
REJ03B0125-0213
3850 Group (Spec.A QzROM version)
WATCHDOG TIMER
The watchdog timer gives a mean of returning to the reset status
when a program cannot run on a normal loop (for example,
because of a software run-away). The watchdog timer consists of
an 8-bit watchdog timer L and an 8-bit watchdog timer H.
Initial value of watchdog timer
At reset or writing to the watchdog timer control register
(address 003916), each of watchdog timer H and L is set to
“FF16”. Any instruction which generates a write signal such as
the instructions of STA, LDM, CLB and others can be used to
write. The data of bits 6 and 7 are only valid when writing to the
watchdog timer control register. Each of watchdog timer is set to
“FF16” regardless of the written data of bits 0 to 5.
Bit 6 can be written to only once after reset release.
After this bit is written, it cannot rewritten because it is locked.
Operation of Watchdog Timer
The watchdog timer stops at reset and starts to count down by
writing to the watchdog timer control register. An internal reset
occurs at an underflow of the watchdog timer H. The reset is
released after waiting for a reset release time and the program is
processed from the reset vector address. Accordingly,
programming is usually performed so that writing to the
watchdog timer control register may be started before an
underflow. If writing to the watchdog timer control register is not
performed once, the watchdog timer does not function.
Bit 6 of Watchdog Timer Control Register
When bit 6 of the watchdog timer control register is “0”, the
MCU enters the stop mode by execution of STP instruction.
Just after releasing the stop mode, the watchdog timer restarts
counting (Note). When executing the WIT instruction, the
watchdog timer does not stop.
When bit 6 is “1”, execution of STP instruction causes an
internal reset. When this bit is set to “1” once, it cannot be
rewritten to “0” by program. Bit 6 is “0” at reset.
The required time after writing to the watchdog timer control
register to an underflow of the watchdog timer H is shown as
follows.
When bit 7 of the watchdog timer control register is “0”:
32 s at XCIN = 32.768 kHz frequency and
83.886ms at XIN = 12.5 MHz frequency.
When bit 7 of the watchdog timer control register is “1”:
125 ms at XCIN = 32.768 kHz frequency and
327.68
s at XIN = 12.5 MHz frequency.
Notes 1. The watchdog timer continues to count for waiting for a stop
mode release time. Do not generate an underflow of the watch-
dog timer H during that time.
2. The watchdog timer cannot be used in the middle-speed mode.
(The internal reset may not be generated correctly, depending on
the underflow timing of the watchdog timer.)
Fig 37. Block diagram of Watchdog timer
Fig 38. Structure of Watchdog timer control register
XIN
Data bus
XCIN
“10”
“00”
“01”
Main clock division
ratio selection bits (Note)
“0”
“1”
1/16
Watchdog timer H count
source selection bit
Reset
circuit
STP instruction function selection bit
Watchdog timer H (8)
“FF16” is set when
watchdog timer
control register is
written to.
Internal reset
Watchdog timer L (8)
“FF16” is set when
watchdog timer
control register is
written to.
Note: Any one of high-speed, middle-speed or low-speed mode is selected by bits 7 and 6 of the CPU mode register.
STP instruction
RESET
b7
Watchdog timer H (for read-out of high-order 6 bit)
STP instruction function selection bit
0: Entering stop mode by execution of STP instruction
1: Internal reset by execution of STP instruction
Watchdog timer H count source selection bit
0: Watchdog timer L underflow
1: f(XIN)/16 or f(XCIN)/16
Watchdog timer control register
(WDTCON : address 003916)
b0
相关PDF资料
PDF描述
MC68EN360RC33 RISC MICROCONTROLLER, CPGA241
MC56F8365MFG60 4-BIT, 120 MHz, OTHER DSP, PQFP128
MPC8378ECVRANDA 32-BIT, 266 MHz, MICROPROCESSOR, PBGA689
MB95F214KPH-G-SNE2 8-BIT, FLASH, MICROCONTROLLER, PDIP8
MC9S12XS128J1VALR 16-BIT, FLASH, 40 MHz, MICROCONTROLLER, PQFP112
相关代理商/技术参数
参数描述
M38507F8AFP#U1 功能描述:IC 740/3850 MCU FLASH 42SSOP RoHS:是 类别:集成电路 (IC) >> 嵌入式 - 微控制器, 系列:740/38000 产品培训模块:CAN Basics Part-1 CAN Basics Part-2 Electromagnetic Noise Reduction Techniques Part 1 M16C Product Overview Part 1 M16C Product Overview Part 2 标准包装:1 系列:M16C™ M32C/80/87 核心处理器:M32C/80 芯体尺寸:16/32-位 速度:32MHz 连通性:EBI/EMI,I²C,IEBus,IrDA,SIO,UART/USART 外围设备:DMA,POR,PWM,WDT 输入/输出数:121 程序存储器容量:384KB(384K x 8) 程序存储器类型:闪存 EEPROM 大小:- RAM 容量:24K x 8 电压 - 电源 (Vcc/Vdd):3 V ~ 5.5 V 数据转换器:A/D 34x10b,D/A 2x8b 振荡器型:内部 工作温度:-20°C ~ 85°C 封装/外壳:144-LQFP 包装:托盘 产品目录页面:749 (CN2011-ZH PDF) 配用:R0K330879S001BE-ND - KIT DEV RSK M32C/87
M38507F8AFP#W1 制造商:Renesas Electronics Corporation 功能描述:MCU 3/5V 32K PB-FREE 42-SSOP T&R - Tape and Reel
M38507F8FP 制造商:Renesas Electronics Corporation 功能描述:MCU 8-Bit 740 CISC 32KB Flash 5V 42-Pin SSOP 制造商:Renesas Electronics Corporation 功能描述:MCU 8BIT 740 CISC 32KB FLASH 5V 42SSOP - Trays
M38507F8FP#U1 制造商:Renesas Electronics Corporation 功能描述:MCU 8BIT 740 CISC 32KB FLASH 5V 42SSOP - Trays
M38507F8FP#W1 制造商:Renesas Electronics Corporation 功能描述:FLASH 8-BIT 2.7 TO 5.5V PBFREE