SN8P2740 Series
ADC, OP-amp, Comparator 8-Bit Micro-Controller
SONiX TECHNOLOGY CO., LTD
Page 45
Version 2.0
4.3.1 HIGH_CLK CODE OPTION
For difference clock functions, Sonix provides multi-type system high clock options controlled by
“High_CLK” code
option. The High_CLK code option defines the system oscillator types including IHRC_16M, RC, 32K X
‟tal, 12M X‟tal
and 4M X
‟tal. These oscillator options support different bandwidth oscillator.
IHRC_16M:
The system high-speed clock source is internal high-speed 16MHz RC type oscillator. In the mode,
XIN and XOUT pins are bi-direction GPIO mode, and not to connect any external oscillator device.
RC:
The system high-speed clock source is external low cost RC type oscillator. The RC oscillator circuit only
connects to XIN pin, and the XOUT pin is bi-direction GPIO mode.
32K X
’tal:
The system high-speed clock source is external low-speed 32768Hz crystal. The option only supports
32768Hz crystal and the RTC function is workable.
12M X
’tal:
The system high-speed clock source is external high-speed crystal/ceramic. The oscillator bandwidth
is 10MHz~16MHz.
4M X
’tal:
The system high-speed clock source is external high-speed crystal/resonator. The oscillator bandwidth
is 1MHz~10MHz.
4.3.2 INTERNAL HIGH-SPEED OSCILLATOR RC TYPE (IHRC)
The internal high-speed oscillator is 16MHz RC type. The accuracy is
±
2% under commercial condition. When the
“High_CLK” code option is “IHRC_16M”, the internal high-speed oscillator is enabled.
IHRC_16M:
The system high-speed clock is internal 16MHz oscillator RC type. XIN/XOUT pins are general
purpose I/O pins.
4.3.3 EXTERNAL HIGH-SPEED OSCILLATOR
The external high-speed oscillator includes 4MHz, 12MHz, 32KHz and RC type. The 4MHz, 12MHz and 32KHz
oscillators support crystal and ceramic types connected to XIN/XOUT pins with 20pF capacitors to ground. The RC
type is a low cost RC circuit only connected to XIN pin. The capacitance is not below 100pF, and use the resistance to
decide the frequency.
4.3.4 EXTERNAL OSCILLATOR APPLICATION CIRCUIT
CRYSTAL/CERAMIC
RC Type
MCU
VCC
GND
C
20pF
XIN
XOUT
VDD
V
S
S
C
20pF
CRYSTAL
R
MCU
VCC
GND
XIN
XOUT
VDD
VSS
C
Note: Connect the Crystal/Ceramic and C as near as possible to the XIN/XOUT/VSS pins of
micro-controller. Connect the R and C as near as possible to the VDD pin of micro-controller.