sm59d03g2c25 SyncMOS Technologies,Inc, sm59d03g2c25 Datasheet - Page 45

no-image

sm59d03g2c25

Manufacturer Part Number
sm59d03g2c25
Description
8-bits Micro-controller 8kb+ Isp Flash & 1kb Ram Embedded
Manufacturer
SyncMOS Technologies,Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
sm59d03g2c25PP
Manufacturer:
SYNCMOS
Quantity:
20 000
11.2.6
Any or all of the five PCA modules can be programmed to be a Pulse Width Modulator (PWM).
The PWM output can be used to convert digital data to an analog signal by simple external circuitry.
The frequency of the PWM depends on the clock source for the PCA counter. The pulse width
depends on the CCnDL[7:0] register and CCnDH[15:8] is not used. When all the bits in CCnDL[7:0]
are zero, the CCn pin will be kept low always. The PWM frequency is selected by SFR CCCLK as :
If users want to use the PWM mode, the software must set the CCR register and always keep it
high. If software clears the CCR register, the PWM will be disabled and keep the CCn pin to low.
11.2.7
It is almost the same as 8-bit PWM. Any or all of the five PCA modules can be programmed to be a
16-bit PWM. The frequency of the PWM depends on the clock source for the PCA counter. The
pulse width depends on the CCnD[15:0] register. When all the bits in CCnD[15:0] are zero, the CCn
pin will be kept low always. The PWM frequency is selected by SFR CCCLK as :
Still, if users want to use this PWM mode, the software must set the CCR register and always keep
it high. If software clears the CCR register, the PWM will be disabled and keep the CCn pin to low.
Specifications subject to change without notice contact your sales representatives for the most recent information.
ISSFD-M030
When CCCLK = 00, PWM output frequency = Fosc/256.
When CCCLK = 01, PWM output frequency = (Fosc/4)/256.
When CCCLK = 10, PWM output frequency = (Fosc/12)/256.
When CCCLK = 11, PWM output frequency = (CCCI pin frequency )/256.
When CCCLK = 00, PWM output frequency = Fosc/65536.
When CCCLK = 01, PWM output frequency = (Fosc/4)/65536.
When CCCLK = 10, PWM output frequency = (Fosc/12)/65536.
When CCCLK = 11, PWM output frequency = (CCCI pin frequency )/65536.
8-bit PWM:
16-bit PWM:
PCA 16 bit
counter
16 bit comparator
CCnD[15:0]
Fig 11-6: PCA high speed output
CCnMOD = 101
45
CCnI
F
CCnI
E
TOGn register
8KB+ ISP Flash & 1KB RAM embedded
Interrupt
Ver.C SM59D03G2 07/2009
Update
8-Bits Micro-controller
SM59D03G2
CCn
pin

Related parts for sm59d03g2c25