
EM78P5840/5841/5842
8-bit Micro-controller
__________________________________________________________________________________________________________________________________________________________________
* This specification is subject to change without notice.
2004/11/10 V2.6
Table2: the major differences between EM78P5830 and EM78P5840 series:
EM78P5830 series
CID RAM
ERIC mode
IRC mode
WDT source
Crystal or PLL
External CNT1 input
P71 pull high
Internal pull high
/RESET pin
PLLC pin
XIN, XOUT
Table3: the major differences between ICE5840, EM78P5840 and EM785840:
ICE5840
CID RAM
1024 byte
CID RAM address auto
+1
EM78P5840 series
NA
Under 6M Hz
2M / 4M Hz
IRC1
Shared with P94
External pull high
Shared with P71
Shared with P70 and ERCI
Shared with P60 and P61
256 byte
NA
NA
NA
/RESET only
PLLC only
Crystal input
EM78P5840 series
NA
EM785840 series
NA
V
NA
NA
CNT1 (**)
8 bit counter
8 bit counter
8 or 16 (shared with
CNT2) bit counter
V
8
CNT2 (**)
STACK
V
12
X
8
** CNT2 is only exist on EM78P5840/41/42 and EM785840/41/42, CNT2 is un-support on ICE5840.
Table4: Differences between EM78P5840, EM78P5841 and EM78P5842:
EM78P5840
Pin count
18
PWM
X
IO (MAX)
16
User Application Note
(Before using this chip, take a look at the following description note, it includes important messages.)
1. There are some undefined bits in the registers. The values in these bits are unpredicted. These
bits are not allowed to use. We use the symbol “-” in the spec to recognize them.
A fixed value
must be write in some specific unused bits by software or some unpredicted wrong will occur.
2. You will see some names for the register bits definitions. Some name will be appear very
frequently in the whole spec. The following describes the meaning for the register’s definitions
such as bit type, bit name, bit number and so on.
EM78P5841
20
2 channel
18
EM78P5842
24
2 channel
22