C8051T322-GQR Silicon Labs, C8051T322-GQR Datasheet - Page 252

no-image

C8051T322-GQR

Manufacturer Part Number
C8051T322-GQR
Description
8-bit Microcontrollers - MCU USB-OTP-16K-LQFP32
Manufacturer
Silicon Labs
Datasheet

Specifications of C8051T322-GQR

Rohs
yes
Core
8051
Processor Series
C8051
Data Bus Width
8 bit

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
C8051T322-GQR
Manufacturer:
Silicon Laboratories Inc
Quantity:
10 000
C8051T620/621/320/321/322/323
28.2.3. Low-Frequency Oscillator (LFO) Capture Mode
The Low-Frequency Oscillator Capture Mode allows the LFO clock to be measured against the system
clock or an external oscillator source. Timer 2 can be clocked from the system clock, the system clock
divided by 12, or the external oscillator divided by 8, depending on the T2ML (CKCON.4), and T2XCLK
settings.
Setting TF2CEN to 1 enables the LFO Capture Mode for Timer 2. In this mode, T2SPLIT should be set to
0, as the full 16-bit timer is used. Upon a falling edge of the low-frequency oscillator, the contents of Timer
2 (TMR2H:TMR2L) are loaded into the Timer 2 reload registers (TMR2RLH:TMR2RLL) and the TF2H flag
is set. By recording the difference between two successive timer capture values, the LFO clock frequency
can be determined with respect to the Timer 2 clock. The Timer 2 clock should be much faster than the
LFO to achieve an accurate reading.
252
External Clock / 8
SYSCLK / 12
Figure 28.6. Timer 2 Low-Frequency Oscillation Capture Mode Block Diagram
Low-Frequency
SYSCLK
Oscillator
T2XCLK
0
1
M
H
T
3
M
T
3
L
CKCON
M
H
T
2
T
M
0
1
2
L
M
T
1
M
T
0
C
S
A
1
TF2CEN
S
C
A
0
TR2
Rev. 1.1
Capture
TCLK
TMR2RLL TMR2RLH
TMR2L
TMR2H
TF2CEN
T2SPLIT
TF2LEN
T2XCLK
TF2H
TF2L
TR2
Interrupt

Related parts for C8051T322-GQR