Section 4 Clock Pulse Generator (CPG)
Rev. 3.00 Sep. 27, 2007 Page 65 of 758
REJ09B0243-0300
4.5 Changing
Frequency
Selecting division ratios for the frequency divider can change the frequencies of the internal clock
(I
φ
), bus clock (B
φ
), peripheral clock (P
φ
), and MTU2 clock (MP
φ
). This is controlled by software
through the frequency control register (FRQCR). The following describes how to specify the
frequencies.
1. In the initial state, IFC2 to IFC0 = H'011 (
×
1/4), BFC2 to BFC0 = H'011 (
×
1/4), PFC2 to
PFC0 = H'011 (
×
1/4), and MPFC2 to MPFC0 = H'011 (
×
1/4).
2. Stop all modules except the CPU, on-chip ROM, and on-chip RAM.
3. Set the desired values in bits IFC2 to IFC0, BFC2 to BFC0, PFC2 to PFC0, and MPFC2 to
MPFC0 bits. Since the frequency multiplication ratio in the PLL circuit is fixed at
×
8, the
frequencies are determined only be selecting division ratios. When specifying the frequencies,
satisfy the following condition: internal clock (I
φ
)
≥
bus clock (B
φ
) = peripheral clock (P
φ
).
When using the MTU2 clock, specify the frequencies to satisfy the following condition:
internal clock (I
φ
)
≥
MTU2 clock (MP
φ
)
≥
peripheral clock (P
φ
).
4. After an instruction to rewrite FRQCR has been issued, the actual clock frequencies will
change after (1 to 24n) cyc + 11B
φ
+ 7P
φ
.
n: Division ratio specified by the BFC bit in FRQCR (1, 1/2, 1/4, or 1/8)
cyc: Clock obtained by dividing EXTAL by 8 with the PLL.
Note: (1 to 24n) depends on the internal state.
Содержание SH7124 R5F7124
Страница 2: ...Rev 3 00 Sep 27 2007 Page ii of xx ...
Страница 8: ...Rev 3 00 Sep 27 2007 Page viii of xx ...
Страница 36: ...Section 1 Overview Rev 3 00 Sep 27 2007 Page 16 of 758 REJ09B0243 0300 ...
Страница 68: ...Section 2 CPU Rev 3 00 Sep 27 2007 Page 48 of 758 REJ09B0243 0300 ...
Страница 108: ...Section 5 Exception Handling Rev 3 00 Sep 27 2007 Page 88 of 758 REJ09B0243 0300 ...
Страница 166: ...Section 7 User Break Controller UBC Rev 3 00 Sep 27 2007 Page 146 of 758 REJ09B0243 0300 ...
Страница 400: ...Section 9 Multi Function Timer Pulse Unit 2 MTU2 Rev 3 00 Sep 27 2007 Page 380 of 758 REJ09B0243 0300 ...
Страница 724: ...Section 20 List of Registers Rev 3 00 Sep 27 2007 Page 704 of 758 REJ09B0243 0300 ...
Страница 772: ...Rev 3 00 Sep 27 2007 Page 752 of 758 REJ09B0243 0300 ...
Страница 778: ...Rev 3 00 Sep 27 2007 Page 758 of 758 REJ09B0243 0300 ...
Страница 781: ......
Страница 782: ...SH7125 Group SH7124 Group Hardware Manual ...