em78p5842 ELAN Microelectronics Corp, em78p5842 Datasheet - Page 35
![no-image](/images/manufacturer_photos/0/2/215/elan_microelectronics_corp_sml.jpg)
em78p5842
Manufacturer Part Number
em78p5842
Description
8-bit Micro-controller
Manufacturer
ELAN Microelectronics Corp
Datasheet
1.EM78P5842.pdf
(45 pages)
(2) IRC mode:
(3) ERIC mode:
functions as temperature compensator. In order to obtain more accurate frequency, a precise resistor is recommended.
values of the even by the operation temperature. Moreover, the frequency also changes slightly from one chip to
another due to the manufacturing process variation. Besides, the package types, and the way the PCB is layout, have
certain effect on the system frequency. About the application is as below:
ERIC’s oscillating frequency will base on IRC2’s CLK (determined on code option “IRC2S”). For example, if
IRC2S = 0, IRC2’s oscillating frequency is 2M Hz. At this time, by adjusting R, system CLK will be changed. But
the system CLK will always greater than 2M. That is to say, system CLK can only be adjusted between 2M to 6M.
Next two table show the corresponding between system oscillating CLK and the value of external resister.
The corresponding between system oscillating CLK and the value of external resister
__________________________________________________________________________________________________________________________________________________________________
* This specification is subject to change without notice.
ERIC mode is equipped with an internal capacitor and an external resistor (connected to VDD). The internal capacitor
*Only 2 types active mode (normal mode and sleep mode) are permitting in RC mode.
For some applications that do not require precise timing calculation, the RC oscillator could offer users with an
effective cost savings. EM785840 offer a versatile internal RC mode with default frequency value of 4M and
2MHz. In this mode, PLLC, XIN, XOUT and /RESET pins can defined to general purpose IO. The IRC
frequency will drift with the variation of voltage, temperature and process:
The frequency deviation of IRC mode:
*The frequency of IRC output can be adjust by setting IR0~IR3 in code option. Please refer to code option to
detail.
In IRC mode, PORT60, PORT61 and PORT70 are defined to bi-direction IO. By clearing P71S in code option
to 0, /RESET pin can also switch to INPUT pin (PORT71). In IRC mode, only two active modes can be
achieved, please refer to next figure to detail.
Nevertheless, it should be noted that the frequency of the RC oscillator is influenced by the supply voltage, the
The frequency deviation of ERIC mode:
Internal C, external R
Internal RC
Frequency (Hz)
2M Hz(R=100K)
4M Hz (R=51K)
4M Hz
2M Hz
3.58M
2.1M
6M
5M
4M
Freq range (before adjust IR0~IR3)
External resister (ohm)
Fig 15: Application circuit of ERIC mode
(IR0~IR3 = 1111)
34K
41K
51K
57K
97K
2.8M ~ 5.2M
1.4M ~ 2.6M
EM785840
3.5M ~ 4.4M
1.8M ~ 2.2M
Freq range
ERIC
Operating Voltage (VDD)
33
VDD
Freq range (after adjust IR0~IR3)
3.0 ~5.5 V
2.8 ~5.5 V
2.5 ~5.5 V
2.2 ~5.5 V
2.2 ~5.5 V
R
1.8 M ~ 2.2M
3.6M ~ 4.4M
EM785840/5841/5842
8-bit Micro-controller
2004/11/10 V1.2