LC75890W
www.onsemi.com
18
(10) PF0 to PF3 … PWM output waveform frame frequency setting control data
These control data bits set the frame frequency of the PWM output waveforms. However, when the PWM output
function isn’t used, these control data bits become invalid. In addition, when the external clock operating frequency
is set the f
CK
2 = 38[kHz]typ (EXF="1") in external clock operating mode (OC = "1"), these control data bits
become invalid.
Control data PWM output waveform frame frequency fp[Hz]
PF0 PF1 PF2 PF3
Internal oscillator operating mode
(The control data OC is 0,
fosc=300[kHz] typ)
External clock operating mode
(The control data OC is 1 and EXF is 0,
f
CK
1=300[kHz] typ)
0 0 0 0 fosc/1536 f
CK
1/1536
1 0 0 0 fosc/1408 f
CK
1/1408
0 1 0 0 fosc/1280 f
CK
1/1280
1 1 0 0 fosc/1152 f
CK
1/1152
0 0 1 0 fosc/1024 f
CK
1/1024
1 0 1 0 fosc/896 f
CK
1/896
0 1 1 0 fosc/768 f
CK
1/768
1 1 1 0 fosc/640 f
CK
1/640
0 0 0 1 fosc/512 f
CK
1/512
1 0 0 1 fosc/384 f
CK
1/384
0 1 0 1 fosc/256 f
CK
1/256
Note: When are setting (PF0, PF1, PF2, PF3)=(1, 1, 0, 1) and (X, X, 1, 1), the frame frequency is same as frame
frequency at the time of the (PF0, PF1, PF2, PF3)=(1, 0, 1, 0) setting (fosc/896, f
CK
1/896).
X: don’t care
(11) P1A, P1B to P12A, P12B … General-purpose output function/PWM output function switiching control data of the
general-purpose output port
These control data bits set the general-purpose output function (High or low level output) or PWM output function
of the general-purpose output ports P1 to P12. However, when the S1/P1 to S12/P12 output pins arn’t set the
general-purpose output port, these control data bits become invalid. In addition, be careful of being unable to set a
PWM output function when the external clock operating frequency is set the f
CK
2 = 38[kHz]typ (EXF="1") in
external clock operating mode (OC = "1").
PnA
PnB Functions of the general-purpose output port (Pn)
0
0 General-purpose output function (High or low level output)
1
0 PWM output function (Ch1)
0
1 PWM output function (Ch2)
1
1 PWM output function (Ch3)
Note: The data PnA, PnB (n=1 to 12) are the control data switching the general-purpose output function or PWM
output function of the general-purpose output ports P1 to p12. For example, if the S10/P10 output pin is set the
general-purpose output port, the general-purpose output port P10 pin is selected the PWM output function
(Ch1) when (P10A, P10B) = (1, 0).