em78p862a ELAN Microelectronics Corp, em78p862a Datasheet - Page 28

no-image

em78p862a

Manufacturer Part Number
em78p862a
Description
8-bit Risc Type Microprocessor
Manufacturer
ELAN Microelectronics Corp
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
em78p862aQJK
Quantity:
108
EM78862B
8-Bit RISC Type Microprocessor
22 of 35
08.02.2004 (V1.0)
6.6
The oscillator system is used to generate the device clock. The oscillator system is
composed of an RC or crystal oscillator and a PLL oscillator as shown in the diagram below.
6.7
The EM78862B IC has two types internal interrupts which are falling edge triggered:
If these interrupt sources change signal from high to low, the RF register will generate '1' flag
to corresponding register if IOCF register is enabled.
RF is the interrupt status register which records the interrupt request in flag bit. IOCF is the
interrupt mask register. Global interrupt is enabled by ENI instruction and is disabled by DISI
instruction. When one of the interrupts (when enabled) is generated, it will cause the next
instruction to be fetched from address 008H. Once in the interrupt service routine, the source
of the interrupt can be determined by polling the flag bits in the RF register.
There are four external interrupt pins, i.e., INT0, INT1, INT2, & INT3, and three internal
interrupts available:
NOTE: Under RC oscillator mode, the pull-up resistor that connects to OSCI pin and OSC0 pin should
TCC timer overflow interrupt (internal)
Two 8-bit counters overflow interrupt
External interrupt signals (INT0, INT1, INT2, and INT3) are from Port 7 Bit 0 to Bit 3. If
IOCF is enabled, then these signals will activate interrupt. Otherwise, these signals will be
treated as general input data.
Internal signals include TCC, CNT1, and CNT2.
Oscillator
be floating.
Under 32768Hz crystal oscillator mode, the crystal is connected between OSCI pin and OSCO
pin. A 20~30pF capacitor should be connected between each of the pins and ground.
In Crystal mode, if the RA (Bit 6)=1, the system clock frequency can be tuned to 3.579MHz.
The initial value of OSCSEL bit is fixed at ‘1’ (crystal oscillator).
Interrupt
The interrupt flag bit must be cleared in software before leaving the interrupt
service routine in order to prevent and avoid recursive interrupts.
Fig. 11 Oscillator and PLL Function Block.
NOTE
This specification is subject to change without further notice.

Related parts for em78p862a