| Electronic Components Datasheet Search |
|
38B7 Datasheet(PDF) 91 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
38B7 Datasheet(HTML) 91 Page - Renesas Technology Corp |
|
91 / 415 page ![]() HARDWARE 1-68 38B7 Group User’s Manual FUNCTIONAL DESCRIPTION XIN Data bus XCIN “1” “0” Internal system clock selection bit (Note) “0” “1” 1/8 Watchdog timer H count source selection bit Reset circuit STP instruction disable bit Watchdog timer H (8) “FF16” is set when watchdog timer control register is written to. Internal reset RESET Watchdog timer L (8) Note: Either high-speed, middle-speed or low-speed mode is selected by bit 7 of CPU mode register. STP instruction “FF16” is set when watchdog timer control register is written to. 1/2 (2) Watchdog timer H count source selection bit operation Bit 7 of the watchdog timer control register (address 0EEE16) per- mits selecting a watchdog timer H count source. When this bit is set to “0”, the underflow signal of watchdog timer L becomes the count source. The detection time is set to 131.072 ms at f(XIN) = 4 MHz frequency, and 32.768 s at f(XCIN) = 32 kHz frequency. When this bit is set to “1”, the count source becomes the signal di- vided by 8 for f(XIN) or divided by 16 for f(XCIN). The detection time in this case is set to 512 µs at f(XIN) = 4 MHz frequency, and 128 ms at f(XCIN) = 32 kHz frequency. This bit is cleared to “0” after reset. (3) Operation of STP instruction disable bit Bit 6 of the watchdog timer control register (address 0EEE16) per- mits disabling the STP instruction when the watchdog timer is in operation. When this bit is “0”, the STP instruction is enabled. When this bit is “1”, the STP instruction is disabled. If the STP instruction is executed, an internal resetting occurs. When this bit is set to “1”, it cannot be rewritten to “0” by program. This bit is cleared to “0” after reset. s Note When releasing the stop mode, the watchdog timer performs its count operation even in the stop release waiting time. Be careful not to cause the watchdog timer H to underflow in the stop release waiting time, for example, by writing any data in the watchdog timer control register (address 0EEE16) before executing the STP instruction. 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, be- cause of a software runaway). The watchdog timer consists of an 8-bit watchdog timer L and a 8-bit watchdog timer H. Standard Operation Of Watchdog Timer When any data is not written into the watchdog timer control reg- ister (address 0EEE16) after reset, the watchdog timer is in the stop state. The watchdog timer starts to count down by writing an optional value into the watchdog timer control register and an in- ternal reset occurs at an underflow of the watchdog timer H. Accordingly, programming is usually performed so that writing to the watchdog timer control register may be started before an un- derflow. When the watchdog timer control register is read, the values of the high-order 6 bits of the watchdog timer H, STP in- struction disable bit, and watchdog timer H count source selection bit are read. (1) Initial value of watchdog timer At reset or writing to the watchdog timer control register (address 0EEE16), a watchdog timer H is set to “FF16” and a watchdog timer L to “FF16”. Fig. 73 Structure of watchdog timer control register Fig. 72 Block diagram of watchdog timer b0 STP instruction disable bit 0: STP instruction enabled 1: STP instruction disabled Watchdog timer H count source selection bit 0: Watchdog timer L underflow 1: f(XIN)/8 or f(XCIN)/16 Watchdog timer H (for read-out of high-order 6 bits) Watchdog timer control register (WDTCON : address 0EEE16) b7 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| 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 |