Download RL78/G10 EEPROM Control by Simplified I2C Function
Transcript
RL78/G10 5.8.3 EEPROM Control by Simplified I2C Function Clock Generation Circuit Figure 5.8 shows the flowchart for clock generation circuit setup. SINICLK HOCODIV2 to 0 bits ← 1: Sets HOCO frequency to 24 MHz Select frequency of high-speed on-chip oscillator RET Figure 5.8 Clock Generation Circuit Setup Selection of high-speed on-chip oscillator frequency ・High-speed on-chip oscillator frequency selection register (HOCODIV) Selects the frequency of high-speed on-chip oscillator. Symbol:HOCODIV 7 6 5 4 3 2 0 0 0 0 0 0 0 0 0 0 1 0 HOCODIV2 HOCODIV1 HOCODIV0 0 0 1 Bits 2 to 0 HOCODIV 2 HOCODIV 1 HOCODIV 0 High-speed on-chip oscillator clock frequency selection 0 0 1 20MHz 0 1 0 10MHz 0 1 1 5MHz 1 0 0 2.5MHz 0 1 1 Other than above 1.25MHz Setting prohibited Note: Refer to ‘RL78/G10 User's Manual: Hardware’ for more information about the register setting method. R01AN2217EJ0100 Rev. 1.00 Sep. 17, 2014 Page 32 of 81