| Electronic Components Datasheet Search |
|
38D5 Datasheet(PDF) 63 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
38D5 Datasheet(HTML) 63 Page - Renesas Technology Corp |
|
63 / 141 page ![]() Rev.3.01 Aug 08, 2007 Page 63 of 134 REJ03B0158-0301 38D5 Group • Oscillation Control (1) Stop Mode If the STP instruction is executed, the system clock φ stops at an “H” level, and main clock and sub-clock oscillators stop. In this time, values set previously to timer 1 latch and timer 2 latch are loaded automatically to timer 1 and timer 2. Set the values * to generate the wait time required for oscillation stabilization to timer 1 latch and timer 2 latch (low-order 8 bits of timer 1 and high-order 8 bits of timer 2) before the STP instruction. The frequency divider for timer 1 is used for the timer 1 count source, and the output of timer 1 is forcibly connected to timer 2. In this time, bits 0 to 5 of the timer 12 mode register are cleared to “0”. The values of the timer 12 frequency divider selection register are not changed. Set the interrupt enable bits of the timer 1 and timer 2 to be disabled (“0”) before executing the STP instruction. *: Reference (Set values according to your oscillator and system.) OSCSEL = “L” of the QzROM version and flash memory version: .......................................................................... 000516 or more OSCSEL = “H” of the QzROM version: ..........................................................................01FF16 or more When an external interrupt is received, the clock set according to the OSCSEL pin state starts oscillating in the QzROM version. The operation mode at returning is decided by the clock that set according to the OSCSEL pin state. Bits 3, 5, 6, and 7 of CPUM and bit 0 of CPUM2 are forcibly changed by the OSCSEL pin state. In the flash memory version, the on-chip oscillator starts oscillating and the operation mode at returning is set to on-chip oscillator mode. The bit 3 of CPUM is changed to “0”, bits 5, 6 and 7 of CPUM are changed to “1”, and the bit 0 of CPUM2 is changed to “0” forcibly. Oscillator restarts when reset occurs or an interrupt request is received, but the system clock φ is not supplied to the CPU until timer 2 underflows. This allows time for the clock circuit oscillation to stabilize. (2) Wait Mode If the WIT instruction is executed, only the system clock φ stops at an “H” state. The states of main clock, on-chip oscillator and sub clock are the same as the state before executing the WIT instruction, and oscillation does not stop. Since supply of system clock φ is started immediately after the interrupt is received, the instruction can be executed immediately. Fig. 60 Ceramic resonator circuit example Fig. 61 External clock input circuit XCIN XCOUT XIN XOUT CIN COUT CCIN CCOUT Rf Rd Note : Insert a damping resistor if required. The resistance will vary depending on the oscillator and the oscillation drive capacity setting. Use the value recommended by the maker of the oscillator. Also, if the oscillator manufacturer's data sheet specifies that a feedback resistor be added external to the chip though a feedback resistor exists on-chip, insert a feedback resistor between XIN and XOUT following the instruction. Rd XCIN XCOUT XIN XOUT External oscillation circuit Open VCC VSS CCIN Rf Rd CCOUT |
|
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 |