EM78M612
Universal Serial Bus Microcontroller Series
EM78M612
Universal Serial Bus Microcontroller
V1.1
Specification Revision History
Version
1.0
•
Initial Version
•
Correction for some text in General Description-P2,rom size 12K→2K
•
Correction for Pin Configuration of EM78M612XBP-P5
•
ADC Converter Channel Selector Table fixed-P16,CH1 Reserved
1.1
•
Added PDA Register Description-P20,IOC9
•
Correction for EEPROM Function Description-P24
•
Changes made to PDA Function Description-P29-32
•
Revised ADC Converter ready bit for ADC Operation-P17,P34,RAS[7]
2004/04/28
Content
Update
2003/03/05
This specification may change without further notice.
2004/4/28 V1.1
1
EM78M612
Universal Serial Bus Microcontroller Series
SPECIFICATION
1 General Description
The EM78M612 is a series of Universal Serial Bus 8-bit RISC Multi-Time Programming
(MTP) microcontrollers. It is specifically designed for USB low speed device application and
to support legacy device such as PS/2 mouse. The EM78M612 also support one device
address and two endpoints. With no firmware involved, these series of microcontrollers can
automatically identify and decode Standard USB Command to EndPoint Zero.
The EM78M612 is implemented on a RISC architecture. It has five-level stack and eight
interrupt sources. The amount of General Input/Output pins is up to 15. Each device has 112
bytes SRAM and is embedded with 4 bytes of E
2
PROM.
The ROM size of the EM78M612 is
2K.
These series of chips have special features that accommodate your needs. These features
are:
Dual Clock mode which allows the device to run on very low power saving frequency
Pattern Detecting Application function which is used in a serial transmission to count
waveform width
Width Modulation that can generate a duty-cycle-programmable signal
AD converter with up to 10 bits resolution.
2 Features
Low-cost solution for low-speed USB devices, such as mouse, joystick, and gamepad.
USB Specification Compliance
Universal Serial Bus Specification Version 1.1
USB Device Class Definition for Human Interface Device (HID), Firmware
Specification Version 1.1
Support 1 device address and 2 endpoints
USB Application
USB protocol handling
USB device state handling
Identifies and decodes Standard USB commands to EndPoint Zero
PS/2 Application Support
Auto-detects PS/2 or USB port
Built-in PS/2 port interface
This specification may change without further notice.
2004/4/28 V1.1
2
EM78M612
Universal Serial Bus Microcontroller Series
Built-in 8-bit RISC MCU
5 level stacks for subroutine and interrupt
8 available interrupts
8-bit real time clock/counter (TCC) with overflow interrupt
Built-in RC oscillator free running for WatchDog Timer and Dual clock mode
Two independent programmable prescalers for WDT and TCC
Two methods of power saving:
1. Power-down mode (SLEEP mode)
2. Low frequency mode.
Two clocks per instruction cycle
Multi-time programmable
I/O Ports
Up to 15 general purposes I/O pins grouped into two ports (Port 6 and 7).
Up to 2 LED sink pins
Each GPIO pin of Ports 6 has an internal programmable pull-high resistor (200K
Ohms)
Each GPIO pin wakes up the MCU from sleep mode by input state change
Internal Memory
Built-in 2048K*13 bits Program ROM
Built-in 112 bytes general purpose registers (SRAM)
Built-in USB Application FIFOs.
Built-in 4 bytes E
2
PROM (EM78M612*B, EM78M612*D)
Operation Frequency
Normal Mode: MCU runs on the external oscillator frequency
Dual Clock Mode: MCU runs at the frequency of 256KHz (or 32KHz, 4KHz, 500Hz),
emitted by the internal oscillator with the external ceramic resonator (or crystal)
turned off to save power.
Built-in Pattern Detecting Application for serial signal transmission
Built-in Pulse Width Modulation (PWM)
Up to 2 channels PWM function on P.64 (PWM1) and P.65 (PWM2).
Up to 8-bit resolution PWM output
Up to 8 selections of duty cycles
Built-in 15-Channel Analog-to-Digital Converter (ADC)
Built-in AD Converter with 10-bit resolution
This specification may change without further notice.
2004/4/28 V1.1
3
EM78M612
Universal Serial Bus Microcontroller Series
4 ADC conversion rates: 256K/128K/64K/32K
Built-in 3.3V Voltage Regulator
For MCU power supply
Pull-up source for the external USB resistor on D-pin.
Package Type
16 pin PDIP/SOP (EM78M612(A/B/C/D) A P/M)
18 pin PDIP/SOP (EM78M612(A/B/C/D) B P/M)
20 pin PDIP/SOP (EM78M612(A/B/C/D) C P/M)
20 pin SSOP (EM78M612(A/B/C/D) EM)
24 pin PDIP/SOP (EM78M612(A/B/C/D) D P/M)
24 pin SSOP (EM78M612(A/B/C/D) FM)
3 Type Definition
The EM78M612 series has sereval types of packaging. Each type is divided into 4 modules,
namely; original, with E
2
PROM, with A/D converter, and with both E
2
PROM and A/D
converter. Hence, packaging configuration for each series is defined. The Table 3.1 below
summarizes which series of the EM78M612 belong to which module.
Original
EM78M612A**
With E PROM
EM78M612B**
2
With A/D
Converter
EM78M612C**
With Both
EM78M612D**
Table 3-1 Packaging Summary of EM78M612 Series IC
This specification may change without further notice.
2004/4/28 V1.1
4
EM78M612
Universal Serial Bus Microcontroller Series
4 Applications
This microcontroller is designed for USB low speed device application or non-USB
embedded device. It is also suitable for PS/2 mouse application.
5 Pin Configuration
P60/V
PP
P61
P62
P63
P70
V
SS
V
NN
V
3.3V
OSCI
1●
2
3
4
5
6
7
8
16
15
14
13
12
11
10
9
P60/V
PP
P64
P65
P71
D+/P50
D-/P51
V
DD
OSCO
P61
P62
P63
P70
P72
V
SS
V
NN
V
3.3V
OSCI
1●
2
3
4
5
6
7
8
9
10
20
19
18
17
16
15
14
13
12
11
P64
P65
P66
P67
P71
P73
D+/P50
D-/P51
V
DD
OSCO
◆EM78M612XAP
◆EM78M612XCP
P60/V
PP
P61
P62
P60/V
PP
P61
P62
P63
P70
V
SS
V
NN
V
3.3V
OSCI
1●
2
3
4
5
6
7
8
9
18
17
16
15
14
13
12
11
10
P64
P65
P66
P67
P71
D+/P50
D-/P51
V
DD
OSCO
P63
P70
P72
P74
P76
V
SS
V
NN
V
3.3V
OSCI
1●
2
3
4
5
6
7
8
9
10
11
12
24
23
22
21
20
19
18
17
16
15
14
13
P64
P65
P66
P67
P71
P73
P75
P77
D+/P50
D-/P51
V
DD
OSCO
◆EM78M612XBP
◆EM78M612XDP
This specification may change without further notice.
2004/4/28 V1.1
5