MC68HC04J2 Microcontroller Datasheet

MC68HC04J2 Datasheet PDF, Equivalent


Part Number

MC68HC04J2

Description

8-Bit Microcontroller

Manufacture

Motorola

Total Page 19 Pages
PDF Download
Download MC68HC04J2 Datasheet PDF


MC68HC04J2
MOTOROLA
I SEMICONDUCTOR
TECHNICAL DATA
MC68HC04J2
Technical Summary
8-Bit Microcontroller Unit
MC68HC04J2 HCMOS microcontroller unit (MCU) device is a member of the M6804 Family of sin-
gle-chip microcontrollers. This device displays all the versatility of an MCU whose design-ability to
process 8-bit variables one bit at a time already makes it tremendously cost effeCtive.
This technical summary contains limited information on the MC68HC04J2. For detailed informa-
tion, refer to the advanced information data sheet for the MC68HC04J2, MC68HC04J3, and
MC68HC04P3 8-bit rriicrocontrollers (MC68HC04J2/D)' or to the M6804 MeV Manual, DLE4041D.
Major hardware and software features of the MC68HC04J2 MCU are:
• On-Chip Clock Generator
• True Bit Manipulation
• Memory Mapped 1/0
Bit Test and Branch Instruction
• Software Programmable 8-Bit Timer with
• 368 Bytes Self-Check ROM
7-Bit Prescaler
•. Conditional Branches
• Single Instruction Memory Examinel
Change
• Timer Pin is Software Programmable as
Clock Input or Timer Output
• 72 Bytes of User Data ROM
• 1672 Bytes of User Program ROM
• User Selectable Input Drive Options
• 30 Bytes of User RAM
• Optional Pull Down Devices on 1/0 Ports
• Mask Selectable Edge- or Level-Sensitive Interrupt Pin
II
Timer
BLOCK DIAGRAM
PM
Port PA5
A
I/O
Lines PA6
PA7
1672x8
User Program ROM
368 x 8
Self-Check ROM
Accumulator
A
Indirect
Register
X
Indirect
Register
y
Stack
Program
Counter
High PCH
Program
Counter
Low PCL
CPU
CPU
Control
ALU
Flags
PBO
PBl
PB2 Port
PB3 B
PB4 I/O
PB5 Lines
PB6
PB7
This document contains information on a new product. Specifications and information herein are subject to chimge without notice.
MOTOROLA MICROPROCESSOR DATA
3-355

MC68HC04J2
MC68HC04J2
I
SIGNAL DESCRIPTION
VOD AND VSS
Power is supplied to the MCU using these two pins.
VDD is power, and VSS is ground.
IRQ
This pin provides the capability for asynchronously ap-
plying an external interrupt to the MCU. A pull-up resistor
on this pin is a manufacturing mask option.
EXTAl AND XTAl
These pins provide control input for the on-chip clock
oscillator circuit. A crystal, a resistor/capacitor combi-
nation, or an external signal is connected to these pins
to provide a system clock. Selection is made by a man-
ufacturing mask option. The different clock generator op-
tions are shown in Figure 1, along with crystal
specifications.
Internal Clock Options
The crystal oscillator start-up timeis a function of many
variables. To ensure rapid oscillator start up, neither the
crystal characteristics nor load capacitances should ex-
ceed recommendations. When using the on-board oscil-
lator, the MCU should remain in a reset condition, with
the RESET pin voltage below VIRES +, until the oscillator
has stabilized at its operating frequency.
TIMER
Two TIMER input modes as well as an output mode
are available. In the input modes, the TIMER pin is con-
figured as either a TIMER enable, or as the TIMER clock.
In the output mode, the TIMER pin may generate tran-
sitions upon each occurence of timer underflow.
RESET
The RESET pin is used to restart the processor to the
beginning of a program. The program counter is loaded
with the address of the restart vector. This should be a
jump instruction to the first instruction of the main pro-
gram. Together with the MDS pin, the RESET pin selects
the operating mode of the MCU. A pullup resistor on this
pin is a manufacturing mask option.
MDS
The mode select (MDS) pin places the MCU into special
operating modes. When this pin is logic high at the exit
of the reset state, the decoded state of PA6 and PA7 is
latched to determine the operating mode. This choice can
be either the single-chip, self-check, or ROM verify mode.
However, if MDSis logic low at the end of the reset state,
the single-chip operating mode is automatically selected.
No external diodes, switches, transistors, etc. are re-
quired for single-chip mode selection.
INPUT/OUTPUT LINES (PA4-PA7, PBO-PB7)
These 12 lines are arranged into one 4-bit port (A) and
one 8-bit port (8). All lines are programmable as either
inputs or outputs under software control of the data di-
rection registers.
PROGRAMMING
INPUT/OUTPUT PROGRAMMING
There are 12 input/output pins. The 12 bidirectional
lines can be selected to have internal pulldowns at the
time of manufacture. All pins of each port are programm-
able as inputs or outputs under the control of the data
direction registers (DDR).
The port I/O programming is accomplished by writing
the corresponding bit in the port DDR to a logic one for
output, or a logic zero for input, as shown in Figure 2.
When the registers are programmed as outputs, the
latched data is readable regardless of the logic levels at
the output pin due to output loading.
All the I/O pins are CMOS compatible as both inputs
and outputs. Their. standard configuration as outputs is
three-state drive. Port 8 outputs are LED compatible. In
addition, certain pins of both ports may be ordered
equipped with pull down resistors.
MC68HC04J2
XTAL
I
External Resistor
Capacitor
MC68HC04J2
XTAL
5
EXTAL
4
0
II
EXTAL4C0-XTAL5MC68HC04J2
Crystal Parameters
Cl
Clock
Input
NC to
device pin
Crystal Parameters
AT - Cut Parallel Resonance Crystal
CO=7 pF Maximum
Freq=ll MHz
RS = 50 Ohms Maximum
Crystal
External Clock
Piezoelectric ceramic resonators which
have the equivalent specifications may
be used instead of crystal oscillators.
Follow ceramic resonator manufactur-
er's suggestions for CO, Cl, and RS
values.
Figure 1. Clock Generator Options and Crvstal Parameters
MOTOROLA MICROPROCESSOR DATA
3-356


Features MOTOROLA I SEMICONDUCTOR TECHNICAL DATA MC68HC04J2 Technical Summary 8-Bit M icrocontroller Unit MC68HC04J2 HCMOS m icrocontroller unit (MCU) device is a m ember of the M6804 Family of single-chi p microcontrollers. This device display s all the versatility of an MCU whose d esign-ability to process 8-bit variable s one bit at a time already makes it tr emendously cost effeCtive. This technic al summary contains limited information on the MC68HC04J2. For detailed inform ation, refer to the advanced informatio n data sheet for the MC68HC04J2, MC68HC 04J3, and MC68HC04P3 8-bit rriicrocontr ollers (MC68HC04J2/D)' or to the M6804 MeV Manual, DLE4041D. Major hardware an d software features of the MC68HC04J2 M CU are: • On-Chip Clock Generator True Bit Manipulation • Memory Ma pped 1/0 • Bit Test and Branch Instr uction • Software Programmable 8-Bit Timer with • 368 Bytes Self-Check R OM 7-Bit Prescaler •. Conditional B ranches • Single Instruction Memory Examinel Change • Timer Pin is Software.
Keywords MC68HC04J2, datasheet, pdf, Motorola, 8-Bit, Microcontroller, C68HC04J2, 68HC04J2, 8HC04J2, MC68HC04J, MC68HC04, MC68HC0, Equivalent, stock, pinout, distributor, price, schematic, inventory, databook, Electronic, Components, Parameters, parts, cross reference, chip, Semiconductor, circuit, Electric, manual, substitute




@ 2014 :: Datasheetspdf.com :: Semiconductors datasheet search & download site (Privacy Policy & Contact)