Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

R8C2K Datasheet(PDF) 407 Page - Renesas Technology Corp

Part # R8C2K
Description  RENESAS MCU R8C FAMILY / R8C/2x SERIES
PDF  471 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  RENESAS [Renesas Technology Corp]
Direct Link  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

R8C2K Datasheet(HTML) 407 Page - Renesas Technology Corp

Back Button R8C2K Datasheet HTML 403Page - Renesas Technology Corp R8C2K Datasheet HTML 404Page - Renesas Technology Corp R8C2K Datasheet HTML 405Page - Renesas Technology Corp R8C2K Datasheet HTML 406Page - Renesas Technology Corp R8C2K Datasheet HTML 407Page - Renesas Technology Corp R8C2K Datasheet HTML 408Page - Renesas Technology Corp R8C2K Datasheet HTML 409Page - Renesas Technology Corp R8C2K Datasheet HTML 410Page - Renesas Technology Corp R8C2K Datasheet HTML 411Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 407 / 471 page
background image
R8C/2K Group, R8C/2L Group
20. Flash Memory
Rev.1.10
Dec 21, 2007
Page 390 of 450
REJ09B0406-0110
20.4.4.2
Suspend Function
The suspend function halts auto-erasure and auto-programming temporarily while these operations are in
progress. This function is used for interrupt handling as the user ROM area can be read after the above
operations have been suspended.
When the suspend function is used in EW1 mode, the MCU enters erase-suspend or program-suspend after an
interrupt request is acknowledged.
To enable the suspend function, set the FMR40 bit to 1 (suspend enabled). The interrupt to enter suspend should
also be set to enable beforehand. When td (SR-SUS) has elapsed after the interrupt request is generated, the
request is acknowledged.
When an interrupt request is generated during an erase operation, the FMR41 bit is automatically set to 1 (erase-
suspend request) and the auto-erase operation suspends. If an auto-erase operation does not complete (FMR00
bit is 0) after an interrupt process completes, the auto-erase operation restarts by setting the FMR41 bit to 0
(erasure restarts).
When an interrupt request is generated during an auto-program operation, the FMR42 bit is automatically set to
1 (program-suspend request) and the auto-program operation suspends. When the auto-program operation does
not complete (FMR00 bit is 0) after the interrupt process completes, the auto-program operation can be
restarted by setting the FMR42 bit to 0 (programming restarts).
Figure 20.23 shows the Timing of Suspend Operation in EW1 Mode. Figure 20.24 shows the Program
Flowchart during Erase-Suspend in EW1 Mode.
Figure 20.23
Timing of Suspend Operation in EW1 Mode
FMR00 bit in
FMR0 register
FMR46 bit in
FMR4 register
FMR44 bit in
FMR4 register
FMR43 bit in
FMR4 register
1
0
1
0
1
0
1
0
Erasure
starts
Erasure
suspends
Programming
starts
Programming
suspends
Programming
restarts(1)
Programming
ends
During erasure
During programming
During programming
Erasure
restarts
Erasure
ends
During erasure
Check the status,
and that the
programming ends
normally.
Check the status,
and that the
erasure ends
normally.
NOTE:
1. If program-suspend is entered during erase-suspend, restart programming first.
The above figure shows an example of the use of program-suspend during programming following erase-suspend.
IR bit in interrupt
control register
1
0
Set to 0 when interrupt request is acknowledged, or set by a program.
Check that the
FMR43 bit is set to 1
(during erase
execution), and that
the erase-operation
has not ended.
Check that the
FMR44 bit is set to 1
(during program
execution), and that
the program has not
ended.
Remains 0 during suspend
Remains 1 during suspend



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