276
PSoC CY8CTMG20x and CY8CTST200 TRM, Document No. 001-53603 Rev. *C
OSC_CR0
1,E0h
21.4.17 OSC_CR0
Oscillator Control Register 0
This register is used to configure various features of internal clock sources and clock nets.
In the table above, note that the reserved bit is a grayed table cell and is not described in the bit description section below.
Reserved bits must always be written with a value of ‘0’. For additional information, refer to the
in the Digital Clocks chapter.
7
X32ON
Select bit for the external 32 kHz external crystal oscillator (ECO). See the
for the proper sequence for enabling the ECO.
0
The internal 32 kHz oscillator is the source of the 32K clock.
1
The external crystal oscillator is the source of the 32K clock.
6
Disable Buzz
Option to disable buzz during sleep. This bit has lower priority than the No Buzz bit. Therefore, if No
Buzz = 1, the Disable Buzz bit has no effect.
0
No effect on buzz modes.
1
Buzz is disabled during sleep, with bandgap powered down. No periodic wakeup of the
bandgap during sleep.
5
No Buzz
This bit allows the bandgap to stay powered during sleep.
0
Buzz bandgap during power down.
1
Bandgap is always powered even during sleep.
4:3
Sleep[1:0]
Sleep interval.
00b
1.95 ms (512 Hz)
01b
15.6 ms (64 Hz)
10b
125 ms (8 Hz)
11b
1s (1 Hz)
2:0
CPU Speed[2:0]
These bits set the CPU clock speed, based on the system clock (SYSCLK). SYSCLK is 12 MHz by
default, but it can also be set to other frequencies (6 and 24 MHz), or driven from an external clock.
Note
During USB operation, the CPU speed can be set to any setting. Be aware that USB through-
put decreases with a decrease in CPU speed. For maximum throughput, the CPU clock should be
made equal to the system clock. The system clock must be 24 MHz for USB operation.
6 MHz IMO
12 MHz IMO
24 MHz IMO
External Clock
000b
750 kHz
1.5 MHz
3 MHz
EXTCLK/8
001b
1.5 MHz
3 MHz
6 MHz
EXTCLK/4
010b
3 MHz
6 MHz
12 MHz
EXTCLK/2 (Reset State)
011b
6 MHz
12 MHz
24 MHz
EXTCLK/1
100b
375 kHz
750 kHz
1.5 MHz
EXTCLK/16
101b
187.5 kHz
375 kHz
750 kHz
EXTCLK/32
110b
46.9 kHz
93.7 kHz
187.5 kHz
EXTCLK/128
111b
23.4 kHz
46.8 kHz
93.7 kHz
EXTCLK/256
Individual Register Names and Addresses:
1,E0h
OSC_CR0: 1,E0h
7
6
5
4
3
2
1
0
Access : POR
RW: 0
RW : 0
RW : 0
RW : 0
RW : 010b
Bit Name
X32ON
Disable Buzz
No Buzz
Sleep[1:0]
CPU Speed[2:0]
Bit
Name
Description
Содержание PSoC CY8CTMG20 Series
Страница 4: ...4 Contents Overview Feedback...
Страница 26: ...26 PSoC CY8CTMG20x and CY8CTST200 TRM Document No 001 53603 Rev C Section B PSoC Core Feedback...
Страница 54: ...54 PSoC CY8CTMG20x and CY8CTST200 TRM Document No 001 53603 Rev C Interrupt Controller Feedback...
Страница 62: ...62 PSoC CY8CTMG20x and CY8CTST200 TRM Document No 001 53603 Rev C General Purpose I O GPIO Feedback...
Страница 82: ...82 PSoC CY8CTMG20x and CY8CTST200 TRM Document No 001 53603 Rev C Sleep and Watchdog Feedback...
Страница 134: ...134 PSoC CY8CTMG20x and CY8CTST200 TRM Document No 001 53603 Rev C I2C Slave Feedback...
Страница 142: ...142 PSoC CY8CTMG20x and CY8CTST200 TRM Document No 001 53603 Rev C System Resets Feedback...
Страница 160: ...160 PSoC CY8CTMG20x and CY8CTST200 TRM Document No 001 53603 Rev C SPI Feedback...
Страница 182: ...182 PSoC CY8CTMG20x and CY8CTST200 TRM Document No 001 53603 Rev C Full Speed USB Feedback...
Страница 186: ...186 PSoC CY8CTMG20x and CY8CTST200 TRM Document No 001 53603 Rev C Section E Registers Feedback...
Страница 302: ...302 PSoC CY8CTMG20x and CY8CTST200 TRM Document No 001 53603 Rev C Glossary Feedback...