ST7232AK1B1 Datasheet

  • ST7232AK1B1

  • 8-BIT MCU WITH 8K FLASH/ROM, ADC, 4 TIMERS, SPI, SCI INTERFA...

  • 1290.53KB

  • 154页

  • STMICROELECTRONICS   STMICROELECTRONICS

扫码查看芯片数据手册

上传产品规格书

PDF预览

ST7232A
10 ON-CHIP PERIPHERALS
10.1 WATCHDOG TIMER (WDG)
10.1.1 Introduction
The Watchdog timer is used to detect the occur-
rence of a software fault, usually generated by ex-
ternal interference or by unforeseen logical condi-
tions, which causes the application program to
abandon its normal sequence. The Watchdog cir-
cuit generates an MCU reset on expiry of a pro-
grammed time period, unless the program refresh-
es the counter鈥檚 contents before the T6 bit be-
comes cleared.
10.1.2 Main Features
鈻?/div>
Programmable free-running downcounter
鈻?/div>
Programmable reset
鈻?/div>
Reset (if watchdog activated) when the T6 bit
reaches zero
鈻?/div>
Optional
reset
on
HALT
instruction
(configurable by option byte)
鈻?/div>
Hardware Watchdog selectable by option byte
10.1.3 Functional Description
The counter value stored in the Watchdog Control
register (WDGCR bits T[6:0]), is decremented
every 16384 f
OSC2
cycles (approx.), and the
length of the timeout period can be programmed
by the user in 64 increments.
If the watchdog is activated (the WDGA bit is set)
and when the 7-bit timer (bits T[6:0]) rolls over
from 40h to 3Fh (T6 becomes cleared), it initiates
a reset cycle pulling low the reset pin for typically
500ns.
The application program must write in the
WDGCR register at regular intervals during normal
operation to prevent an MCU reset. This down-
counter is free-running: it counts down even if the
watchdog is disabled. The value to be stored in the
WDGCR register must be between FFh and C0h:
鈥?The WDGA bit is set (watchdog enabled)
鈥?The T6 bit is set to prevent generating an imme-
diate reset
鈥?The T[5:0] bits contain the number of increments
which represents the time delay before the
watchdog produces a reset (see
Figure 29. Ap-
proximate Timeout Duration).
The timing varies
between a minimum and a maximum value due
to the unknown status of the prescaler when writ-
ing to the WDGCR register (see
Figure 30).
Following a reset, the watchdog is disabled. Once
activated it cannot be disabled, except by a reset.
The T6 bit can be used to generate a software re-
set (the WDGA bit is set and the T6 bit is cleared).
If the watchdog is activated, the HALT instruction
will generate a Reset.
Figure 28. Watchdog Block Diagram
RESET
f
OSC2
MCC/RTC
WATCHDOG CONTROL REGISTER (WDGCR)
DIV 64
WDGA
T6
T5
T4
T3
T2
T1
T0
6-BIT DOWNCOUNTER (CNT)
12-BIT MCC
RTC COUNTER
MSB
11
6 5
LSB
0
TB[1:0] bits
(MCCSR
Register)
WDG PRESCALER
DIV 4
46/154
1

ST7232AK1B1相关型号PDF文件下载

  • 型号
    版本
    描述
    厂商
    下载
  • 英文版
    8-BIT MCU FOR CAN WITH 32K ROM, 1K RAM, EEPROM, ADC, WDG, PW...
    STMICROELECTRONICS
  • 英文版
    8-BIT MCU FOR CAN WITH 32K ROM, 1K RAM, EEPROM,ADC, WDG, PWM...
    STMicro
  • 英文版
    LOW SPEED USB 8-BIT MCU FAMILY WITH UP TO 8K FLASH/ROM AND S...
    STMICROELECTRONICS
  • 英文版
    ST7 - LOW SPEED USB 8-BIT MCU WITH 3 ENDPOINTS, FLASH MEMORY...
    STMicroelectronics
  • 英文版
    LOW SPEED USB 8-BIT MCU WITH 3 ENDPOINTS, FLASH OR ROM MEMOR...
    STMicroelectronics
  • 英文版
    LOW SPEED USB 8-BIT MCU FAMILY with up to 16K MEMORY, up to ...
    STMICROELECTRONICS
  • 英文版
    LOW SPEED USB 8-BIT MCU FAMILY with up to 16K MEMORY,
    STMicro
  • 英文版
    ST7 - LOW-POWER. FULL-SPEED USB 8-BIT MCU WITH 32K FLASH. 5K...
    ETC
  • 英文版
    ST7 - LOW-POWER, FULL-SPEED USB 8-BIT MCU WITH 32K FLASH, 5K...
    STMicroelectronics
  • 英文版
    USB 2.0 HIGH SPEED MASS STORAGE MICROCONTROLLER
    ST
  • 英文版
    8-BIT HCMOS MCUs WITH EEPROM AND TV/MONITOR DEDICATED FUNCTI...
    STMICROELECTRONICS
  • 英文版
    8-BIT HCMOS MCUs WITH EEPROM AND TV/MONITOR DEDICATED FUNCTI...
    STMICROELECTRON...
  • 英文版
    8-BIT MCU WITH 24K ROM, EEPROM,ADC,PWM/BRM DACs,SYNC PROCESS...
    STMICROELECTRONICS
  • 英文版
    8-BIT MCU WITH 24K ROM, EEPROM,ADC,PWM/BRM DACs,SYNC PROCESS...
    STMICROELECTRON...
  • 英文版
    8-BIT USB MCU FOR MONITORS WITH UP TO 60K ROM, 2K RAM, ADC, ...
    STMICROELECTRONICS
  • 英文版
    8-BIT USB MCU FOR MONITORS WITH UP TO 60K ROM, 2K RAM, ADC, ...
    STMICROELECTRON...
  • 英文版
    ROM FROM EPROM
    STMICROELECTRONICS
  • 英文版
    8-BIT MCU WITH 4 TO 8K ROM/OTP/EPROM, 256 BYTES RAM, ADC, WD...
    STMICROELECTRONICS
  • 英文版
    8-BIT MCU WITH 4 TO 8K ROM/OTP/EPROM, 256 BYTES RAM, ADC, WD...
    STMICROELECTRON...
  • 英文版
    8-BIT MICROCONTROLLER (MCU) WITH 8 TO 16 K ROM/OTP/EPROM. 38...
    ETC

扫码下载APP,
一键连接广大的电子世界。

在线人工客服

买家服务:
卖家服务:

0571-85317607

客服在线时间周一至周五
9:00-17:30

关注官方微信号,
第一时间获取资讯。

建议反馈

联系人:

联系方式:

按住滑块,拖拽到最右边
>>
感谢您向阿库提出的宝贵意见,您的参与是维库提升服务的动力!意见一经采纳,将有感恩红包奉上哦!