Electronic Components Datasheet Search
  English  ▼

X  

R5F3640MNFB Datasheet(PDF) 118 Page - Renesas Technology Corp

Part # R5F3640MNFB
Description  RENESAS MCU M16C FAMILY / M16C/60 SERIES
PDF  398 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  RENESAS [Renesas Technology Corp]
Direct Link  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

R5F3640MNFB Datasheet(HTML) 118 Page - Renesas Technology Corp

Back Button R5F3640MNFB Datasheet HTML 114Page - Renesas Technology Corp R5F3640MNFB Datasheet HTML 115Page - Renesas Technology Corp R5F3640MNFB Datasheet HTML 116Page - Renesas Technology Corp R5F3640MNFB Datasheet HTML 117Page - Renesas Technology Corp R5F3640MNFB Datasheet HTML 118Page - Renesas Technology Corp R5F3640MNFB Datasheet HTML 119Page - Renesas Technology Corp R5F3640MNFB Datasheet HTML 120Page - Renesas Technology Corp R5F3640MNFB Datasheet HTML 121Page - Renesas Technology Corp R5F3640MNFB Datasheet HTML 122Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 118 / 398 page
background image
REJ09B0392-0064 Rev.0.64
Oct 12, 2007
Page 97 of 373
Under development
Preliminary Specification
Specification in this preliminary version is subject to change.
M16C/64 Group
10. Clock Generation Circuit
10.6.3
How to Use Oscillation Stop and Re-Oscillation Detect Function
• The oscillation stop and re-oscillation detect interrupt shares the vector with the watchdog timer
interrupt and low voltage detection interrupt. If the oscillation stop, re-oscillation detection and
watchdog timer interrupts both are used, read the CM22 bit in an interrupt routine to determine
which interrupt source is requesting the interrupt.
• When the main clock re-oscillated after oscillation stop, the clock source for the CPU clock and
peripheral functions must be switched to the main clock in a program. Figure 10.13 shows the Pro-
cedure to Switch Clock Source from 125 kHz On-chip Oscillator to Main Clock.
• Simultaneously with oscillation stop and re-oscillation detection interrupt occurrence, the CM22 bit
becomes 1. When the CM22 bit is set to 1, oscillation stop and re-oscillation detection interrupt are
disabled. By setting the CM22 bit to 0 in a program, oscillation stop and re-oscillation detection
interrupt are enabled.
• If the main clock stops during low speed mode where the CM20 bit is 1, an oscillation stop and re-
oscillation detection interrupt request is generated. At the same time, the 125 kHz on-chip oscilla-
tor starts oscillating. In this case, although the CPU clock is derived from the sub clock as it was
before the interrupt occurred, the peripheral function clocks now are derived from the 125 kHz on-
chip oscillator clock.
• To enter wait mode while using the oscillation stop and re-oscillation detection function, set the
CM02 bit to 0 (peripheral function clocks not turned off during wait mode).
• Since the oscillation stop and re-oscillation detection function is provided in preparation for main
clock stop due to external factors, set the CM20 bit to 0 (oscillation stop and re-oscillation detection
function disabled) where the main clock is stopped or oscillated in a program, that is where the
stop mode is selected or the CM05 bit is altered.
• This function cannot be used if the main clock frequency is 2 MHz or less. In that case, set the
CM20 bit to 0.
Figure 10.13 Procedure to Switch Clock Source From 125 kHz On-chip Oscillator to Main Clock
Switch the main clock
Bits CM21 to CM23: bits in the CM2 register
YES
End
Determine several times whether
the CM23 bit is set to 0
(main clock oscillates)
NO
Set the CM06 bit to 1
(divide-by-8)
Set the CM22 bit to 0
(main clock stop, re-oscillation not detected)
Set the CM21 bit to 0
(main clock or PLL clock)



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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