
111
/
246
ABOV Semiconductor
Watch-Dog Timer
Functional Description
6.3
The watchdog timer Count can be enabled by WDTEN (WDT.CON[4]) to ‘1’. As watchdog timer is enabled, the down
counter will start counting from the Load Value. If WDTRE (WDT.CON[6]) is set as ‘1’, WDT reset would be asserted when
the WDT counter value reached to ‘0’ (underflow event) from WDT.LR value. Before WDT counter down to 0, software can
write a certain value to register WDT.LR to reload WDT counter.
Timing diagram
6.3.1
Figure 6.2 Timing diagram in interrupt mode operation when WDT clock is external clock
In WDT interrupt mode, once WDT underflow occurred then a certain count value would be reloaded to prevent next
WDT interrupt in short time period and this reloading action only be activated when the watchdog timer counter set to be
Interrupt mode(set WDTIE of WDT.CON). It takes up to 5 cycles from Load value to the CNT value. The WDT interrupt
signal and CNT value data might be delayed maximum by 2 system bus clocks in synchronous logic.
Prescale Table
6.3.2
The WDT includes a 32-bit down counter with programmable pre-scaler to define different time-out intervals.
The clock sources of watchdog timer can be peripheral clock (PCLK) or one of 5external clock sources. External clock
source can be enable by CKSEL (WDT.CON[3]) set to ‘1’ and External clock source was chosen in MCCR3 register of SCU
(system control unit) block.
To make WDT counter base clock, user can control 3-bit pre-scaler WPRS [2:0] in WDT.CON register and the maximum
pre-scaled value is “clock source frequency/256”. The pre-scaled WDT counter clock frequency values are listed in
following table.
Selectable clock source (40 kHz ~ 16 MHz) and the time out interval when 1 count
Time out period = {(Load Value) * (1/pre-scaled WDT counter clock frequency) + max 5Text} + max 4Tclk
*Time out period (time out period from load Value to interrupt set ‘1’)
Summary of Contents for AC30M1x32
Page 3: ...3 246 ABOV Semiconductor INTRODUCTION SECTION 1 INTRODUCTION ...
Page 4: ...4 246 4 246 AC30M1x64 1x32 ABOV Semiconductor OVERVIEW CHAPTER 1 ...
Page 18: ...18 246 18 246 ABOV Semiconductor AC30M1x64 1x32 CPU CHAPTER 2 ...
Page 22: ...22 246 22 246 ABOV Semiconductor AC30M1x64 1x32 Boot Mode CHAPTER 3 ...
Page 26: ...26 246 26 246 ABOV Semiconductor AC30M1x64 1x32 SECTION 2 PERIPHERALS ...
Page 27: ...27 246 ABOV Semiconductor System Control Unit SCU SYSTEM CONTROL UNIT SCU CHAPTER 1 ...
Page 69: ...69 246 ABOV Semiconductor Port Control Unit PCU PORT CONTROL UNIT PCU CHAPTER 2 ...
Page 85: ...85 246 ABOV Semiconductor General Purpose I O GPIO GENERAL PURPOSE I O GPIO CHAPTER 3 ...
Page 92: ...92 246 92 246 AC30M1x64 1x32 ABOV Semiconductor FLASH MEMORY CONTROLLER CHAPTER 4 ...
Page 105: ...105 246 ABOV Semiconductor Internal SRAM INTERNAL SRAM CHAPTER 5 ...
Page 107: ...107 246 ABOV Semiconductor Watch Dog Timer WATCH DOG TIMER WDT CHAPTER 6 ...
Page 113: ...113 246 ABOV Semiconductor 16 bit Timer 16 BIT TIMER CHAPTER 7 ...
Page 129: ...129 246 ABOV Semiconductor FRT FREE RUN TIMER FRT CHAPTER 8 ...
Page 134: ...134 246 134 246 ABOV Semiconductor AC30M1x64 1x32 FUNCTION DESCRIPTION 8 3 ...
Page 135: ...135 246 UART ABOV Semiconductor UNIVERSAL ASYNCHRONOUS CHAPTER 9 RECEIVER TRANSMITTER UART ...
Page 151: ...151 246 ABOV Semiconductor UART Figure 9 6 Transmit interrupt timing diagram ...
Page 152: ...152 246 152 246 ABOV Semiconductor AC30M1x64 1x32 SERIAL PERIPHERAL INTERFACE SPI CHAPTER 10 ...
Page 164: ...164 246 164 246 ABOV Semiconductor AC30M1x64 1x32 I2 C Interface CHAPTER 11 ...
Page 185: ...185 246 ABOV Semiconductor Motor PWM MOTOR PULSE WIDTH MODULATOR CHAPTER 12 MPWM ...
Page 215: ...215 246 ABOV Semiconductor Divider DIVIDER DIV64 CHAPTER 13 ...
Page 221: ...221 246 ABOV Semiconductor 12 BIT A D Converter 12BIT A D CONVERTER CHAPTER 14 ...
Page 235: ...235 246 ABOV Semiconductor CHARACTERISTIC SECTION 3 CHARACTERISTIC ...
Page 236: ...236 246 236 246 ABOV Semiconductor AC30M1x64 1x32 Electrical Characteristic CHAPTER 1 ...
Page 243: ...243 246 ABOV Semiconductor Package Package CHAPTER 2 ...