
ix
38K2 Group User’s Manual
List of figures
Fig. 2.8.1 Memory map of registers related to A-D converter .............................................. 2-72
Fig. 2.8.2 Structure of A-D control register .............................................................................. 2-72
Fig. 2.8.3 Structure of A-D conversion register 1 ................................................................... 2-73
Fig. 2.8.4 Structure of A-D conversion register 2 ................................................................... 2-73
Fig. 2.8.5 Structure of Interrupt request register 2 ................................................................. 2-74
Fig. 2.8.6 Structure of Interrupt control register 2 .................................................................. 2-74
Fig. 2.8.7 Connection diagram ................................................................................................... 2-75
Fig. 2.8.8 Related registers setting ........................................................................................... 2-75
Fig. 2.8.9 Control procedure for 8-bit read .............................................................................. 2-76
Fig. 2.8.10 Control procedure for 10-bit read .......................................................................... 2-76
Fig. 2.9.1 Memory map of registers related to watchdog timer ............................................ 2-78
Fig. 2.9.2 Structure of Watchdog timer control register ......................................................... 2-78
Fig. 2.9.3 Structure of CPU mode register .............................................................................. 2-79
Fig. 2.9.4 Watchdog timer connection and division ratio setting .......................................... 2-80
Fig. 2.9.5 Related registers setting ........................................................................................... 2-81
Fig. 2.9.6 Control procedure ....................................................................................................... 2-81
Fig. 2.10.1 Example of poweron reset circuit .......................................................................... 2-82
Fig. 2.10.2 RAM backup system ................................................................................................ 2-82
Fig. 2.11.1 Memory map of registers related to PLL .............................................................. 2-84
Fig. 2.11.2 Structure of USB control register .......................................................................... 2-84
Fig. 2.11.3 Structure of CPU mode register ............................................................................ 2-85
Fig. 2.11.4 Structure of PLL control register ........................................................................... 2-85
Fig. 2.11.5 Block diagram for frequency synthesizer circuit .................................................. 2-86
Fig. 2.11.6 Related registers setting when hardware reset ................................................... 2-87
Fig. 2.11.7 Related registers setting when stop mode ........................................................... 2-88
Fig. 2.11.8 Related registers setting when recovery from stop mode ................................. 2-89
Fig. 2.12.1 Memory map of registers related to clock generating circuit ............................ 2-90
Fig. 2.12.2 Structure of USB control register .......................................................................... 2-90
Fig. 2.12.3 Structure of CPU mode register ............................................................................ 2-91
Fig. 2.12.4 Structure of PLL control register ........................................................................... 2-91
Fig. 2.12.5 Related registers setting ......................................................................................... 2-92
Fig. 2.12.6 Related registers setting ......................................................................................... 2-94
Fig. 2.13.1 Memory map of registers related to standby function ........................................ 2-95
Fig. 2.13.2 Structure of MISRG ................................................................................................. 2-95
Fig. 2.13.3 Oscillation stabilizing time at restoration by reset input .................................... 2-97
Fig. 2.13.4 Execution sequence example at restoration by occurrence of INT0 interrupt request
................................................................................................................................... 2-99
Fig. 2.13.5 Reset input time ..................................................................................................... 2-101
Fig. 2.14.1 Memory map of flash memory version for 38K2 Group ................................... 2-103
Fig. 2.14.2 Memory map of registers related to flash memory ........................................... 2-104
Fig. 2.14.3 Structure of Flash memory control register ........................................................ 2-104
Fig. 2.14.4 Rewrite example of built-in flash memory in standard serial I/O mode ......... 2-107
Fig. 2.14.5 Connection example in standard serial I/O mode (1) ....................................... 2-108
Fig. 2.14.6 Connection example in standard serial I/O mode (2) ....................................... 2-108
Fig. 2.14.7 Connection example in standard serial I/O mode (3) ....................................... 2-109
Fig. 2.14.8 Example of rewrite system for built-in flash memory in CPU rewrite mode . 2-110
Fig. 2.14.9 CPU rewrite mode beginning/release flowchart ................................................. 2-111
CHAPTER 3 APPENDIX
Fig. 3.1.1 Output switching characteristics measurement circuit ............................................ 3-9
Fig. 3.1.2 USB output switching characteristics measurement circuit (1) for D0-, D1+/D2+ (low-speed),
D1-/D2- (full-speed) .... 3-10