C8051F320-TB Silicon Laboratories Inc, C8051F320-TB Datasheet - Page 234

no-image

C8051F320-TB

Manufacturer Part Number
C8051F320-TB
Description
BOARD PROTOTYPING W/C8051F320
Manufacturer
Silicon Laboratories Inc
Type
MCUr
Datasheets

Specifications of C8051F320-TB

Contents
Board
Processor To Be Evaluated
C8051F320/F321
Interface Type
USB
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
C8051F320
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
C8051F320/1
20.2.4. Frequency Output Mode
Frequency Output Mode produces a programmable-frequency square wave on the module’s associated
CEXn pin. The capture/compare module high byte holds the number of PCA clocks to count before the out-
put is toggled. The frequency of the square wave is then defined by Equation 20.1.
Where F
The lower byte of the capture/compare module is compared to the PCA counter low byte; on a match,
CEXn is toggled and the offset held in the high byte is added to the matched value in PCA0CPLn. Fre-
quency Output Mode is enabled by setting the ECOMn, TOGn, and PWMn bits in the PCA0CPMn register.
234
Note: A value of 0x00 in the PCA0CPHn register is equal to 256 for this equation.
PCA0CPLn
Write to
Reset
PCA
PCA0CPHn
Write to
is the frequency of the clock selected by the CPS2-0 bits in the PCA mode register, PCA0MD.
0
1
ENB
ENB
Equation 20.1. Square Wave Frequency Output
Figure 20.7. PCA Frequency Output Mode
W
M
P
1
6
n
x
O
M
E
C
n
PCA0CPMn
C
A
P
P
n
0 0 0
C
A
P
N
n
M
A
T
n
O
G
T
n
W
M
P
n
E
C
C
F
n
x
PCA Timebase
F
CEXn
Enable
=
Comparator
PCA0CPLn
Rev. 1.4
---------------------------------------- -
2
PCA0L
8-bit
PCA0CPHn
F
PCA
match
Enable
Adder
8-bit Adder
Toggle
TOGn
0
1
CEXn
PCA0CPHn
Crossbar
Port I/O

Related parts for C8051F320-TB