Electronic Components Datasheet Search
  English  ▼

X  

R8C/15 Datasheet(PDF) 247 Page - Renesas Technology Corp

Part # R8C/15
Description  16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / R8C/Tiny SERIES
PDF  277 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  RENESAS [Renesas Technology Corp]
Direct Link  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

R8C/15 Datasheet(HTML) 247 Page - Renesas Technology Corp

Back Button R8C/15 Datasheet HTML 243Page - Renesas Technology Corp R8C/15 Datasheet HTML 244Page - Renesas Technology Corp R8C/15 Datasheet HTML 245Page - Renesas Technology Corp R8C/15 Datasheet HTML 246Page - Renesas Technology Corp R8C/15 Datasheet HTML 247Page - Renesas Technology Corp R8C/15 Datasheet HTML 248Page - Renesas Technology Corp R8C/15 Datasheet HTML 249Page - Renesas Technology Corp R8C/15 Datasheet HTML 250Page - Renesas Technology Corp R8C/15 Datasheet HTML 251Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 247 / 277 page
background image
R8C/14 Group, R8C/15 Group
20. Precautions
Rev.2.10
Jan 19, 2006
Page 235 of 253
REJ09B0164-0210
20. Precautions
20.1
Stop Mode and Wait Mode
20.1.1
Stop Mode
When entering stop mode, set the FMR01 bit to “0” (CPU rewrite mode disabled) and the CM10 bit to
“1” (stop mode). An instruction queue pre-reads 4 bytes from the instruction which sets the CM10 bit
in the CM1 register to “1” (stop mode) and the program stops. Insert at least 4 NOP instructions after
inserting the JMP.B instruction immediately after the instruction which sets the CM10 bit to “1”.
Use the next program to enter stop mode.
• Program to enter stop mode
BCLR
1,FMR0
; CPU rewrite mode disabled
BSET
0,PRCR
; Protect disabled
BSET
0,CM1
; Stop mode
JMP.B
LABEL_001
LABEL_001 :
NOP
NOP
NOP
NOP
20.1.2
Wait Mode
When entering wait mode, set the FMR01 bit to “0” (CPU rewrite mode disabled) and execute the
WAIT instruction. An instruction queue pre-reads 4 bytes from the WAIT instruction and the program
stops. Insert at least 4 NOP instructions after the WAIT instruction.
Also, the value in the specific internal RAM area may be rewritten when exiting wait mode if writing to
the internal RAM area before executing the WAIT instruction and entering wait mode. The area for a
maximum of 3 bytes is rewritten from the following address of the internal RAM in which the writing is
performed before the WAIT instruction. The rewritten value is the same value as the one which was
written before the WAIT instruction. If this causes a problem, avoid by inserting the JMP.B instruction
between the writing instruction to the internal RAM area and WAIT instruction as shown in the
following program example.
• Example to execute the WAIT instruction
Program Example
MOV.B
#055h,0601h
; Write to internal RAM area
...
JMP.B
LABEL_001
LABEL _001 :
FSET
I
; Enable interrupt
BCLR
1,FMR0
; CPU rewrite mode disabled
WAIT
; Wait mode
NOP
NOP
NOP
NOP
When accessing any area other than the internal RAM area between the writing instruction to the
internal RAM area and execution of the WAIT instruction, this situation will not occur.



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