C8051F330DR Silicon Labs, C8051F330DR Datasheet - Page 195

no-image

C8051F330DR

Manufacturer Part Number
C8051F330DR
Description
8-bit Microcontrollers - MCU 8kB 10ADC
Manufacturer
Silicon Labs
Datasheet

Specifications of C8051F330DR

Product Category
8-bit Microcontrollers - MCU
Core
8051
Data Bus Width
8 bit
Maximum Clock Frequency
25 MHz
Program Memory Size
8 KB
Data Ram Size
768 B
On-chip Adc
No
Operating Supply Voltage
2.7 V to 3.6 V
Package / Case
QFN-20
Mounting Style
SMD/SMT
Data Rom Size
128 B
Interface Type
I2C, SPI, UART
Maximum Operating Temperature
+ 85 C
Minimum Operating Temperature
- 40 C
Number Of Programmable I/os
17
Number Of Timers
4
On-chip Dac
No
Processor Series
C8051
Program Memory Type
Flash
Factory Pack Quantity
1500
Supply Voltage - Max
3.6 V
Supply Voltage - Min
2.7 V
19.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 19.3.
Where F
PCA0MD. 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.
Frequency Output Mode is enabled by setting the ECOMn, TOGn, and PWMn bits in the PCA0CPMn reg-
ister.
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,
0
ENB
ENB
1
Equation 19.3. Square Wave Frequency Output
W
Figure 19.7. PCA Frequency Output Mode
P
M
1
6
n
x
E
C
O
M
n
PCA0CPMn
C
A
P
P
n
0 0 0
C
A
P
N
n
M
A
T
n
O
G
T
n
W
P
M
n
E
C
C
F
n
x
PCA Timebase
F
CEXn
Enable
=
Comparator
PCA0CPLn
Rev. 1.7
---------------------------------------- -
2
PCA0L
8-bit
PCA0CPHn
F
PCA
match
C8051F330/1/2/3/4/5
Enable
Adder
8-bit Adder
Toggle
TOGn
0
1
CEXn
PCA0CPHn
Crossbar
Port I/O
199

Related parts for C8051F330DR