PSoC CY8CTMG20x and CY8CTST200 TRM, Document No. 001-53603 Rev. *C
71
External Crystal Oscillator (ECO)
9.3
Register Definitions
These registers are associated with the external crystal oscillator.
9.3.1
ECO_ENBUS Register
The ECO_ENBUS register is used to disable and enable the
external crystal oscillator (ECO).
Bits 2 to 0 ECO_ENBUS[2:0].
111b – Default. Disables the
external crystal oscillator (ECO).
011b – Allows the ECO to be enabled by bits in the
ECO_CFG register.
Other values are reserved. See the
for the proper sequence for enabling the ECO.
For additional information, refer to the
9.3.2
ECO_TRIM Register
The ECO TRIM Register (ECO_TRIM) controls gain and
power settings for the 32 kHz crystal oscillator.
These settings should not be changed from their default
state.
Bits 4 to 2: ECO_XGM[2:0].
These bits set the amplifier
gain. The high power mode step size is approximately 220
nA. The low power step size is approximately 5% lower than
the ‘111’ setting.
’000’ is the lowest power setting.
’111’ is the highest power setting (30% power reduction).
Bits 1 to 0: ECO_LP[1:0].
These bits set the gain mode.
’00’ is the highest power setting.
’11’ is the lowest power setting. (30% power reduction).
For additional information, refer to the
9.3.3
ECO_CFG Register
The ECO Configuration Register provides status and control
for the ECO.
Bit 2 ECO_LPM.
This bit enables the ECO low power
mode when high. This is recommended for use only during
sleep mode.
Bit 1 ECO_EXW.
The ECO Exists Written bit is used as a
status bit to indicate that the ECO EX bit was previously writ-
ten to. It is read only. When this bit is a '1' indicates that the
ECO_CFG register was written to and is now locked.
Bit 0 ECO_EX.
The ECO Exists bit serves as a flag to the
hardware, to indicate that an external crystal oscillator exists
in the system. Just after boot, it may be written only once to
a value of '1' (crystal exists) or '0' (crystal does not exist).
If the bit is '0', a switch-over to the ECO is locked out by
hardware. If the bit is '1', hardware allows the firmware to
freely switch between the ECO and ILO. It should be written
as early as possible after a Power On Reset (POR) or Exter-
nal Reset (XRES) event.
For additional information, refer to the
Address
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Access
1,D2h
ECO_ENBUS[2:0]
RW : 07
Address
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Access
1,D3h
ECO_XGM[2:0]
ECO_LP[1:0]
RW : 11
Address
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Access
1,E1h
ECO_LPM
ECO_EXW
ECO_EX
RW : 00
Summary of Contents for PSoC CY8CTMG20 Series
Page 4: ...4 Contents Overview Feedback...
Page 26: ...26 PSoC CY8CTMG20x and CY8CTST200 TRM Document No 001 53603 Rev C Section B PSoC Core Feedback...
Page 82: ...82 PSoC CY8CTMG20x and CY8CTST200 TRM Document No 001 53603 Rev C Sleep and Watchdog Feedback...
Page 134: ...134 PSoC CY8CTMG20x and CY8CTST200 TRM Document No 001 53603 Rev C I2C Slave Feedback...
Page 142: ...142 PSoC CY8CTMG20x and CY8CTST200 TRM Document No 001 53603 Rev C System Resets Feedback...
Page 160: ...160 PSoC CY8CTMG20x and CY8CTST200 TRM Document No 001 53603 Rev C SPI Feedback...
Page 182: ...182 PSoC CY8CTMG20x and CY8CTST200 TRM Document No 001 53603 Rev C Full Speed USB Feedback...
Page 302: ...302 PSoC CY8CTMG20x and CY8CTST200 TRM Document No 001 53603 Rev C Glossary Feedback...