EasyManuals Logo

Renesas RL78 Series User Manual

Renesas RL78 Series
1879 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #440 background imageLoading...
Page #440 background image
RL78/F13, F14 CHAPTER 5 CLOCK GENERATOR
R01UH0368EJ0210 Rev.2.10 408
Dec 10, 2015
5.6.5 Example of Setting Low-Speed On-Chip Oscillator
An example of setting the low-speed on-chip oscillator as the CPU clock is shown below.
<1> Select f
IL with the SELLOSC bit of the CKSEL register.
Set the SELLOSC bit to 1 to set fSL for the low-speed on-chip oscillator.
7 6 5 4 3 2 1 0
CKSEL
0
0
0
0
0
TRD_CKSEL
0
0
SELLOSC
1
<2> Select the operation mode of the subsystem clock with the OSCSELS bit of the CMC register.
Set the OSCSELS bit to 1 to select the input port mode (low-speed on-chip oscillator operation mode).
7 6 5 4 3 2 1 0
CMC
EXCLK
0
OSCSEL
0
EXCLKS
0
OSCSELS
1
0
AMPHS1
0/1
AMPHS0
0/1
AMPH
0
<3> Select the CPU/peripheral hardware clock with the CSS bit of the CKC register.
Set the CSS bit to 1 to specify CPU clock = f
SL (low-speed on-chip oscillator).
7 6 5 4 3 2 1 0
CKC
CLS
0
CSS
1
MCS
0
MCM0
1
0
0
0
0
<4> Confirm that f
SL (low-speed on-chip oscillator) is selected as the CPU/peripheral hardware clock (CLS = 1) with the
CLS bit of the CKC register.
7 6 5 4 3 2 1 0
CKC
CLS
1
CSS
1
MCS
0
MCM0
1
0
0
0
0

Table of Contents

Other manuals for Renesas RL78 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Renesas RL78 Series and is the answer not in the manual?

Renesas RL78 Series Specifications

General IconGeneral
CoreRL78
CPU Clock SpeedUp to 32 MHz
Flash MemoryUp to 512 KB
RAMUp to 32 KB
Operating Voltage1.6 V to 5.5 V
Low Power ModesHALT, STOP, SNOOZE
CPU Architecture16-bit
Temperature Range-40°C to +85°C
PackageLQFP
Timers16-bit timers
Communication InterfacesUART, I2C, LIN
A/D Converter12-bit

Related product manuals