MC68HC711D3CFNE2 Freescale Semiconductor, MC68HC711D3CFNE2 Datasheet - Page 87
![IC MCU 8BIT 3MHZ 44-PLCC](/photos/6/89/68924/375-44-plcc_sml.jpg)
MC68HC711D3CFNE2
Manufacturer Part Number
MC68HC711D3CFNE2
Description
IC MCU 8BIT 3MHZ 44-PLCC
Manufacturer
Freescale Semiconductor
Series
HC11r
Specifications of MC68HC711D3CFNE2
Core Processor
HC11
Core Size
8-Bit
Speed
2MHz
Connectivity
SCI, SPI
Peripherals
POR, WDT
Number Of I /o
26
Program Memory Size
4KB (4K x 8)
Program Memory Type
OTP
Ram Size
192 x 8
Voltage - Supply (vcc/vdd)
4.5 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
44-PLCC
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
MC68HC711D3CFNE2
Manufacturer:
ALLEGEO
Quantity:
4 492
Company:
Part Number:
MC68HC711D3CFNE2
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
8.2 Timer Structure
Figure 8-2
for timer functions and for general-purpose input/output (I/O). For pins PA2, PA1, and PA0, this block
contains both the edge-detection logic and the control logic that enables the selection of which edge
triggers an input capture. The digital level on PA2–PA0 can be read at any time (read PORTA register),
even if the pin is being used for the input capture function. Pins PA6–PA4 are used for either
general-purpose output or as output compare pins. Pin PA3 can be used for general-purpose I/O, input
capture 4, output compare 5, or output compare 1. When one of these pins is being used for an output
compare function, it cannot be written directly as if it were a general-purpose output. Each of the output
compare functions (OC5–OC2) is related to one of the port A output pins. Output compare 1 (OC1) has
extra control logic, allowing it optional control of any combination of the PA7–PA3 pins. The PA7 pin can
be used as a general-purpose I/O pin, as an input to the pulse accumulator, or as an OC1 output pin.
8.3 Input Capture
The input capture function records the time an external event occurs by latching the value of the
free-running counter when a selected edge is detected at the associated timer input pin. Software can
store latched values and use them to compute the periodicity and duration of events. For example, by
storing the times of successive edges of an incoming signal, software can determine the period and pulse
width of a signal. To measure period, two successive edges of the same polarity are captured. To
measure pulse width, two alternate polarity edges are captured.
In most cases, input capture edges are asynchronous to the internal timer counter, which is clocked
relative to the PH2 clock. These asynchronous capture requests are synchronized to PH2 so that the
latching occurs on the opposite half cycle of PH2 from when the timer counter is being incremented. This
synchronization process introduces a delay from when the edge occurs to when the counter value is
detected. Because these delays offset each other when the time between two edges is being measured,
the delay can be ignored. When an input capture is being used with an output compare, there is a similar
delay between the actual compare point and when the output pin changes state.
Freescale Semiconductor
shows the capture/compare system block diagram. The port A pin control block includes logic
PR1 and PR0
overflow —
overflow —
overflow —
overflow —
1 count —
1 count —
1 count —
1 count —
Control
Bits
0 0
0 1
1 0
1 1
65.536 ms
262.14 ms
524.29 ms
4.0 MHz
1.0 MHz
1000 ns
16.0 µs
1.049 s
1.0 µs
4.0 µs
8.0 µs
MC68HC711D3 Data Sheet, Rev. 2.1
Table 8-1. Timer Summary
32.768 ms
131.07 ms
262.14 ms
524.29 ms
8.0 MHz
2.0 MHz
500 ns
500 ns
2.0 µs
4.0 µs
8.0 µs
Main Timer Count Rates
XTAL Frequencies
21.845 ms
87.381 ms
174.76 ms
349.52 ms
12.0 MHz
1.333 µs
2.667 µs
5.333 µs
3.0 MHz
333 ns
333 ns
Other Rates
(E/2
(E/2
(E/2
(E/2
(E/16)
(1/E)
(E/1)
(E/4)
(E/8)
(E)
16
18
19
20
)
)
)
)
Timer Structure
87