C8051F360DK Silicon Laboratories Inc, C8051F360DK Datasheet - Page 270

KIT DEV FOR C8051F360 FAMILY

C8051F360DK

Manufacturer Part Number
C8051F360DK
Description
KIT DEV FOR C8051F360 FAMILY
Manufacturer
Silicon Laboratories Inc
Type
MCUr
Datasheets

Specifications of C8051F360DK

Contents
Evaluation Board, Power Supply, USB Cables, Adapter and Documentation
Processor To Be Evaluated
C8051F36x
Interface Type
USB
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
C8051F360, F361, F362, F363, F364, F365, F366, F367, F368, F369
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
336-1410
C8051F360/1/2/3/4/5/6/7/8/9
22.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 22.1.
Note: A value of 0x00 in the PCA0CPHn register is equal to 256 for this equation.
Where F
PCA0MD. The lower byte of the capture/compare module is compared to the PCA0 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.
Frequency Output Mode is enabled by setting the ECOMn, TOGn, and PWMn bits in the PCA0CPMn reg-
ister.
Important Note About Capture/Compare Registers: When writing a 16-bit value to the PCA0 Capture/
Compare registers, the low byte should always be written first. Writing to PCA0CPLn clears the ECOMn bit
to ‘0’; writing to PCA0CPHn sets ECOMn to ‘1’.
270
W
M
P
1
6
n
0
PCA0CPMn
E
C
O
M
n
C
A
P
P
n
0 0 0
C
A
P
N
n
M
A
PCA
T
n
O
G
T
n
1
W
M
P
n
is the frequency of the clock selected by the CPS2–0 bits in the PCA mode register,
E
C
C
F
n
0
PCA Timebase
Equation 22.1. Square Wave Frequency Output
Enable
Figure 22.7. PCA Frequency Output Mode
Comparator
PCA0CPLn
PCA0L
8-bit
F
sqr
=
---------------------------------------- -
2 PCA0CPHn
Rev. 1.0
×
match
Enable
Adder
8-bit Adder
F
PCA
Toggle
TOGn
0
1
CEXn
PCA0CPHn
Crossbar
Port I/O

Related parts for C8051F360DK