User's Manual

Table Of Contents
9.2.8 Sub-Clock Oscillator Control Register (SOSCCR) ..................................................................186
9.2.9 Low-Speed On-Chip Oscillator Control Register (LOCOCR) .................................................187
9.2.10 IWDT-Dedicated On-Chip Oscillator Control Register (ILOCOCR) ......................................188
9.2.11 High-Speed On-Chip Oscillator Control Register (HOCOCR) ...............................................189
9.2.12 High-Speed On-Chip Oscillator Control Register 2 (HOCOCR2) ..........................................190
9.2.13 Oscillation Stabilization Flag Register (OSCOVFSR) .............................................................191
9.2.14 Oscillation Stop Detection Control Register (OSTDCR) .........................................................193
9.2.15 Oscillation Stop Detection Status Register (OSTDSR) ............................................................194
9.2.16 Main Clock Oscillator Wait Control Register (MOSCWTCR) ................................................195
9.2.17 CLKOUT Output Control Register (CKOCR) .........................................................................196
9.2.18 Main Clock Oscillator Forced Oscillation Control Register (MOFCR) ...................................197
9.2.19 Memory Wait Cycle Setting Register (MEMWAIT) ...............................................................198
9.2.20 Low-Speed On-Chip Oscillator Trimming Register (LOCOTRR) ..........................................200
9.2.21 IWDT-Dedicated On-Chip Oscillator Trimming Register (ILOCOTRR) ...............................200
9.2.22 High-Speed On-Chip Oscillator Trimming Register n (HOCOTRRn) (n = 0, 3) ....................201
9.3 Main Clock Oscillator .......................................................................................................................202
9.3.1 Connecting a Crystal ................................................................................................................202
9.3.2 External Clock Input .................................................................................................................203
9.3.3 Handling of Pins When the Main Clock is Not Used ...............................................................203
9.3.4 Notes on the External Clock Input ...........................................................................................203
9.4 Sub-Clock Oscillator .........................................................................................................................204
9.4.1 Connecting 32.768-kHz Crystal ...............................................................................................204
9.4.2 Handling of Pins When Sub-Clock is Not Used .......................................................................205
9.5 Dedicated Clock Oscillator for Bluetooth .........................................................................................206
9.5.1 Connecting the Oscillator .........................................................................................................206
9.5.2 Connecting the Bluetooth-Dedicated Clock Output Pin ...........................................................206
9.6 Oscillation Stop Detection Function ..................................................................................................208
9.6.1 Oscillation Stop Detection and Operation after Detection .......................................................208
9.6.2 Oscillation Stop Detection Interrupts ....................................................................................... 209
9.7 PLL Circuit ........................................................................................................................................210
9.8 Internal Clock ....................................................................................................................................210
9.8.1 System Clock ............................................................................................................................210
9.8.2 Peripheral Module Clock ..........................................................................................................210
9.8.3 FlashIF Clock ...........................................................................................................................210
9.8.4 USB Clock ................................................................................................................................211
9.8.5 CAN Clock ...............................................................................................................................211
9.8.6 CAC Clock ...............................................................................................................................211
9.8.7 RTC-Dedicated Clock ..............................................................................................................211
9.8.8 IWDT-Dedicated Clock ............................................................................................................211
9.8.9 SSI Clock ..................................................................................................................................211
9.8.10 Clocks for BLE .........................................................................................................................211