2-14
Seiko Epson Corporation
S1C31D50 TECHNICAL MANUAL
(Rev. 1.00)
Oscillation start procedure for the IOSC oscillator circuit
Follow the procedure shown below to start oscillation of the IOSC oscillator circuit.
1.
Write 1 to the CLGINTF.IOSCSTAIF bit.
(Clear interrupt flag)
2.
Write 1 to the CLGINTE.IOSCSTAIE bit.
(Enable interrupt)
3.
Write 0x0096 to the SYSPROT.PROT[15:0] bits.
(Remove system protection)
4.
Configure the CLGIOSC.IOSCFQ[1:0] bits.
(Select frequency)
5.
Write a value other than 0x0096 to the SYSPROT.PROT[15:0] bits. (Set system protection)
6.
Write 1 to the CLGOSC.IOSCEN bit.
(Start oscillation)
7.
IOSCCLK can be used if the CLGINTF.IOSCSTAIF bit = 1 after an interrupt occurs.
Oscillation start procedure for the OSC1 oscillator circuit
Follow the procedure shown below to start oscillation of the OSC1 oscillator circuit.
1.
Write 1 to the CLGINTF.OSC1STAIF bit.
(Clear interrupt flag)
2.
Write 1 to the CLGINTE.OSC1STAIE bit.
(Enable interrupt)
3.
Write 0x0096 to the SYSPROT.PROT[15:0] bits.
(Remove system protection)
4.
Configure the following CLGOSC1 register bits:
-
CLGOSC1.OSC1SELCR bit
(Select oscillator type)
-
CLGOSC1.OSC1WT[1:0] bits
(Set oscillation stabilization waiting time)
In addition to the above, configure the following bits when using the crystal oscillator:
-
CLGOSC1.INV1N[1:0] bits
(Set oscillation inverter gain)
-
CLGOSC1.CGI1[2:0] bits
(Set internal gate capacitor)
-
CLGOSC1.INV1B[1:0] bits
(Set oscillation inverter gain for
startup boosting period)
-
CLGOSC1.OSC1BUP bit
(Enable/disable oscillation
startup control circuit)
5.
Write a value other than 0x0096 to the SYSPROT.PROT[15:0] bits. (Set system protection)
6.
Write 1 to the CLGOSC.OSC1EN bit.
(Start oscillation)
7.
OSC1CLK can be used if the CLGINTF.OSC1STAIF bit = 1 after an interrupt occurs.
The setting values of the CLGOSC1.INV1N[1:0], CLGOSC1.CGI1[2:0], CLGOSC1.OSC1WT[1:0]
and CLGOSC1.INV1B[1:0] bits should be determined after performing evaluation using the
populated circuit board.
Summary of Contents for S1C31D50
Page 461: ...25 1 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 25 Package TQFP12 48PIN ...
Page 462: ...25 2 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 QFP13 64PIN ...
Page 463: ...25 3 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 TQFP14 80PIN ...
Page 464: ...25 4 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 QFP15 100PIN ...