MC68HC705JP7CDW Freescale Semiconductor, MC68HC705JP7CDW Datasheet - Page 111

no-image

MC68HC705JP7CDW

Manufacturer Part Number
MC68HC705JP7CDW
Description
IC MCU 8BIT 28-SOIC
Manufacturer
Freescale Semiconductor
Series
HC05r
Datasheet

Specifications of MC68HC705JP7CDW

Core Processor
HC05
Core Size
8-Bit
Speed
2.1MHz
Connectivity
SIO
Peripherals
POR, Temp Sensor, WDT
Number Of I /o
22
Program Memory Size
6KB (6K x 8)
Program Memory Type
OTP
Ram Size
224 x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 4x12b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
28-SOIC (7.5mm Width)
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Eeprom Size
-
Writing to the OCRH before writing to the OCRL inhibits timer compares until the OCRL is written.
Reading or writing to the OCRL after reading the TCR will clear the output compare flag bit (OCF). The
output compare OLVL state will be clocked to its output latch regardless of the state of the OCF.
To prevent OCF from being set between the time it is read and the time the output compare registers are
updated, use this procedure:
A software example of this procedure is shown in
Freescale Semiconductor
1. Disable interrupts by setting the I bit in the condition code register.
2. Write to the OCRH. Compares are now inhibited until OCRL is written.
3. Read the TSR to arm the OCF for clearing.
4. Enable the output compare registers by writing to the OCRL. This also clears the OCF flag bit in
5. Enable interrupts by clearing the I bit in the condition code register.
the TSR.
OCRH
RESET
R/W
Address:
Address:
Reset:
Reset:
Read:
Read:
Write:
Write:
MC68HC705JJ7 • MC68HC705JP7 Advance Information Data Sheet, Rev. 4.1
$FFFC
Figure 11-9. Output Compare Registers (OCRH and OCRL)
$0012
$0016
$0017
Bit 15
Bit 7
Bit 7
Bit 7
Figure 11-8. Timer Output Compare Block Diagram
TIMER CONTROL REG.
OCRH ($0016)
14
6
6
6
16-BIT COMPARATOR
16-BIT COUNTER
13
5
5
5
OUTPUT COMPARE
(OCF)
OCRL ($0017)
Table
Unaffected by reset
Unaffected by reset
TIMER STATUS REG.
12
4
4
4
11-1.
11
3
3
3
$0013
10
2
2
2
÷ 4
1
9
1
1
Output Compare Registers
DETECT
SELECT
LOGIC
EDGE
Bit 0
Bit 8
Bit 0
Bit 0
INTERRUPT
OCRL
REQUEST
INTERNAL
INTERNAL
R/W
(OSC ÷ 2)
CLOCK
TIMER
DATA
BUS
TCMP
PB4
AN4
111

Related parts for MC68HC705JP7CDW