sm59d04g2 SyncMOS Technologies,Inc, sm59d04g2 Datasheet - Page 41
![no-image](/images/no-image-200.jpg)
sm59d04g2
Manufacturer Part Number
sm59d04g2
Description
8-bits Micro-controller 16kb+ Isp Flash & 1kb Ram Embedded
Manufacturer
SyncMOS Technologies,Inc
Datasheet
1.SM59D04G2.pdf
(67 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
11 Programmable Counter Array (PCA)
The PCA provides more timing capabilities with less CPU intervention than the standard
timer/counters. The PCA consists of a dedicated counter which serves as the time base for an array
of five compare/capture modules. Its clock input can be programmed to count any one of the
following signals:
where Fosc is the system Frequency defined in Section 1. Each compare/capture module can be
programmed in any one of the following modes:
When the compare/capture modules are programmed in the capture mode, timer mode, or high
speed output mode, an interrupt can be generated when the module executes its function. All five
modules share one interrupt vector.
11.1 PCA clock select
The clock input can be selected from the following four modes:
11.1.1
The PCA counter increments once per system clock. Take a 16MHz oscillator as the example, the
counter increments every 62.5ns in 6T mode, or 125ns in 12T mode.
11.1.2
The PCA counter increments once every 4 system clocks. Take a 16MHz oscillator as the example,
the counter increments every 250ns in 6T mode, or 500ns in 12T mode.
11.1.3
The PCA counter increments once every 12 system clocks. Take a 16MHz oscillator as the example,
the counter increments every 750ns in 6T mode, or 1.5us in 12T mode.
11.1.4
The PCA counter increments when a 1-to-0 transition is detected on the CCCI pin (= P1[2]).
Condition: Whatever 12T or 6T setting, CCCI pin
not more than 2MHz.
Specifications subject to change without notice contact your sales representatives for the most recent information.
ISSFD-M031
CCCLK = 00, selected system clock.
CCCLK = 01, selected system clock/4
CCCLK = 10, selected system clock/12.
CCCLK = 11, selected external clock input.
-
-
-
-
-
-
-
-
-
-
-
Fosc
Fosc/4
Fosc/12
External clock input (CCCI pin, i.e., Port1[2])
Positive edge capture mode
Negative edge capture mode
Both positive and negative edge capture mode
Timer mode
High Speed Output mode
8-bit PWM mode
16-bit PWM mode
41
≤
Fcry
8
. Example, 16MHz oscillator, CCCI must
16KB+ ISP Flash & 1KB RAM embedded
Ver.C SM59D04G2 07/2009
8-Bits Micro-controller
SM59D04G2