Megawin MA108 Usb low speed Datasheet

笙泉科技股份有限公司
Megawin Technology Co., Ltd.
Version:
MEGAWIN
MA108
USB Low Speed
Keyboard Target Spec
USB Vendor ID : 0x0E6A
USB Product ID : 0x011B / 0x011C
This document information is the intellectual property of Megawin Technology.
 Megawin Technology Co., Ltd. 2011 All right reserved.
QP-7300-03D
1/19
1.01
MA108
USB Low Speed HID Keyboard V1.01
Contents
1
2
3
4
Description ..................................................................................................... 3
Features......................................................................................................... 4
Block Diagram................................................................................................ 5
Pin Configurations.......................................................................................... 6
4.1
4.2
4.3
4.4
Pin-out for LQFP48-pin Package.................................................................................... 6
Pad Location .................................................................................................................. 6
Package Dimensions...................................................................................................... 6
Pin Description ............................................................................................................... 7
5 Keyboard Function Description...................................................................... 8
5.1
5.2
5.2.1
5.2.2
5.2.3
5.3
5.4
5.4.1
5.4.2
Feature ........................................................................................................................... 8
Support Key Code Range .............................................................................................. 9
101 Standard Key................................................................................................... 9
Consumer : Usage Page 0C................................................................................. 10
Generic Desktop Control : Usage Page 01 .......................................................... 10
Generic Desktop Control LED Status ........................................................................... 10
Key Matrix .................................................................................................................... 11
Model 0 : Silver Membrane................................................................................... 11
Model 1 : Carbon Membrane ................................................................................ 12
6 Reference Design ........................................................................................ 13
6.1
6.2
6.3
6.4
Model 0 Circuit : Silver Membrane ............................................................................... 13
Model 1 Circuit : Carbon Membrane............................................................................. 14
Keyboard BOM List ...................................................................................................... 15
Keyboard EMI Reference ............................................................................................. 15
6.4.1
Model 0 EMI : Silver Membrane ........................................................................... 16
6.4.2
Model 1 EMI : Carbon Membrane ........................................................................ 17
7 Electrical Characteristics.............................................................................. 18
7.1
7.2
DC ................................................................................................................................ 18
USB Transceiver Electrical Characteristics .................................................................. 18
8 Revision History ........................................................................................... 19
This document information is the intellectual property of Megawin Technology.
 Megawin Technology Co., Ltd. 2014 All right reserved.
QP-7300-03D
2/19
MA108
USB Low Speed HID Keyboard V1.01
1
Description
The MA108 is a single chip keyboard encoder. It detects the key is pressed and/or released, sends the scan
code to host system, and accepts the command from host system. It also supports the USB standard request
version 2.0 as well as HID class request version 1.1.
This document information is the intellectual property of Megawin Technology.
 Megawin Technology Co., Ltd. 2014 All right reserved.
QP-7300-03D
3/19
MA108
USB Low Speed HID Keyboard V1.01
2
Features

Support FW recover function for EMS(EFT/ESD)

Support DFU update 6.5K ROM function

Low-speed USB Specification version 2.0 compliance.

Human Interface Device

Keyboard

Generic Desktop Controls

Consumer

Support USB suspend/resume for power management.

Support carbon membrane and silver membrane (P32 pin option).

Silver membrane loop resistor must smaller than 2KOhm

Carbon membrane loop resistor must smaller than 300KOhm

LED direct sink pins.

Built-in 5v to 3.3v regulator.

Built-in 6Mhz±1.5% oscillator with temperature -40℃ ~ 85℃.

Operating condition:

Operating voltage: 2.7V ~ 5.5V with USB on-line application

Operating speed range: DC to 6MHz @VDD>2.7V

Operating ambient temperature: -40℃ ~ 85℃ for internal oscillator mode

Package:

LQFP48 : MA108AD48

DICE : MA108H

Support OS : Windows XP / Windows 7 / Windows 8 / BIOS
This document information is the intellectual property of Megawin Technology.
 Megawin Technology Co., Ltd. 2014 All right reserved.
QP-7300-03D
4/19
MA108
USB Low Speed HID Keyboard V1.01
3
Block Diagram
MA108
Key Scan Function
Scan Line GPIO
Key Scan
Membrane
Scan In
Scan Out
LED Function
LED GPIO
LED Data
PC
USB Function
USB
TX FIFO
RX FIFO
Figure 3-1 Keyboard Diagram
This document information is the intellectual property of Megawin Technology.
 Megawin Technology Co., Ltd. 2014 All right reserved.
QP-7300-03D
5/19
LED
MA108
USB Low Speed HID Keyboard V1.01
4
Pin Configurations
NC
P44
VDDO
VDD5V
DP
DM
V33
VSS
VSSO
P42
P41
P22
P21
P20
P17
P16
P15
P14
P13
P12
P11
Pad Location
NC
4.2
P23
Pin-out for LQFP48-pin Package
P24
4.1
P40
RESB
LOGO
1
P00
P45
P01
P36
P02
P03
P04
P35
P34
MA108H
P05
P06
P07
P33
P10
P32
P31
P30
P27
P26
P25
4.3
Package Dimensions
Please, visit Megawin web site under Technical Support->Literature->Package Dimension for the latest package
information.
www.megawin.com.tw
This document information is the intellectual property of Megawin Technology.
 Megawin Technology Co., Ltd. 2014 All right reserved.
QP-7300-03D
6/19
MA108
USB Low Speed HID Keyboard V1.01
4.4
Pin Description
Name
LQFP48 DICE
Type
P36
2
2
B
P35
3
3
B
P34
4
4
B
P33
5
5
B
P32
6
6
B
P31
7
7
B
P30
8
8
B
P27
9
9
B
P26
10
10
B
P25
11
11
B
P24
13
12
B
P23
14
13
B
P22
15
14
B
P21
16
15
B
P20
17
16
B
P17
18
17
B
P16
19
18
B
P15
20
19
B
P14
21
20
B
P13
22
21
B
P12
23
22
B
P11
24
23
B
P10
26
24
B
P07
27
25
B
P06
28
26
B
P05
29
27
B
P04
30
28
B
P03
31
29
B
P02
32
30
B
P01
33
31
B
P00
34
32
B
RESB
35
33
I
P40
36
34
B
P41
37
35
B
P42
38
36
B
VSSO
39
37
G
VSS
40
38
G
V33
41
39
P
DM
42
40
B
DP
43
41
B
VDD5V
44
42
P
VDDO
45
43
P
P44
46
44
B
P45
1
1
B
Note: In the “Type” field,
“I” means input only.
“O” means output only.
“B” means bi-direction.
“P” means Power, G means Ground.
Description
Reserve
Reserve
Reserve
Model Pin Option M1.
Model Pin Option M0.
Keyboard Scan Out Line 17.
Keyboard Scan Out Line 16.
Keyboard Scan Out Line 15.
Keyboard Scan Out Line 14.
Keyboard Scan Out Line 13.
Keyboard Scan Out Line 12.
Keyboard Scan Out Line 11.
Keyboard Scan Out Line 10.
Keyboard Scan Out Line 9.
Keyboard Scan Out Line 8.
Keyboard Scan Out Line 7.
Keyboard Scan Out Line 6.
Keyboard Scan Out Line 5.
Keyboard Scan Out Line 4.
Keyboard Scan Out Line 3.
Keyboard Scan Out Line 2.
Keyboard Scan Out Line 1.
Keyboard Scan Out Line 0.
Keyboard Scan In Line 7.
Keyboard Scan In Line 6.
Keyboard Scan In Line 5.
Keyboard Scan In Line 4.
Keyboard Scan In Line 3.
Keyboard Scan In Line 2.
Keyboard Scan In Line 1.
Keyboard Scan In Line 0.
Reset pin, low action, have internal weak pull high resistor.
Number Lock LED directly sink.
Capitals Lock LED directly sink.
Scroll Lock LED directly sink.
Ground
Ground
Regulator pin, a capacitor should be added on this pin.
USB DM I/O, USB LS transceiver.
USB DP I/O, USB LS transceiver.
5V Power
5V Power
Reserve
Reserve
This document information is the intellectual property of Megawin Technology.
 Megawin Technology Co., Ltd. 2014 All right reserved.
QP-7300-03D
7/19
MA108
USB Low Speed HID Keyboard V1.01
5
Keyboard Function Description
5.1
Feature

USB specification : 2.00

Vendor ID: 0x0E6A

Product ID:


Silver membrane : 0x011B

Carbon membrane : 0x011C
String Code : 0x0409

Manufacturer String : Megawin Technology Co., Ltd.

Product String : USB Multi-Media Keyboard

Max power : 100mA

Key scan response time

Make : 16ms

Break : 20ms

Ghost key detect

USB Interface for Key Code


Interface 0 (Endpoint 1) : 101 Standard Key & Modifier Key (Usage Page 0x07)

Interface 1 (Endpoint 2)

Report ID 1 : Consumer (Usage Page 0x0C)

Report ID 2 : Generic Desktop Control (Usage Page 0x01)
USB Report Rate

Interface 0 (Endpoint 1) : period 16ms

Interface 1 (Endpoint 2) : period 32ms
This document information is the intellectual property of Megawin Technology.
 Megawin Technology Co., Ltd. 2014 All right reserved.
QP-7300-03D
8/19
MA108
USB Low Speed HID Keyboard V1.01
5.2
Support Key Code Range
5.2.1
101 Standard Key
Usage Page 07 Table
Key
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
Usage
HID ID
04
05
06
07
08
09
0A
0B
0C
0D
0E
0F
10
11
12
13
14
15
16
17
18
19
1A
1B
1C
1D
Usage
HID ID
1E
1F
20
21
22
23
24
25
26
27
28
29
2A
2B
2C
2D
2E
2F
30
31
33
34
35
36
37
38
Key
1!
2@
3#
4$
0.05
6^
7&
8*
9(
0)
Enter
Esc
Backspace
Tab
Space
-_
=+
[{
]}
\|
;:
‘”
`~
,<
.>
/?
Key
Caps Lock
F1
F2
F3
F4
F5
F6
F7
F8
F9
F10
F11
F12
Print Screen
Scroll Lock
Pause
Insert
Home
Page Up
Delete
End
Page Down
→
←
↓
↑
Usage
HID ID
39
3A
3B
3C
3D
3E
3F
40
41
42
43
44
45
46
47
48
49
4A
4B
4C
4D
4E
4F
50
51
52
Key
Num Lock
Pad /
Pad *
Pad Pad +
Pad Enter
Pad 1
Pad 2
Pad 3
Pad 4
Pad 5
Pad 6
Pad 7
Pad 8
Pad 9
Pad 0
Pad .
APP
Left Ctrl
Left Shift
Left Alt
Left Win
Right Ctrl
Right Shift
Right Alt
Right Win
Modifier Data Format
Bit 7
Right
Win
Bit 6
Right
Alt
Bit 5
Right
Shift
Bit 4
Right
Ctrl
Bit 3
Left
Win
This document information is the intellectual property of Megawin Technology.
 Megawin Technology Co., Ltd. 2014 All right reserved.
QP-7300-03D
9/19
Bit 2
Left
Alt
Bit 1
Left
Shift
Bit 0
Left
Ctrl
Usage
HID ID
53
54
55
56
57
58
59
5A
5B
5C
5D
5E
5F
60
61
62
63
65
E0
E1
E2
E3
E4
E5
E6
E7
MA108
USB Low Speed HID Keyboard V1.01
5.2.2
Consumer : Usage Page 0C
Function
Scan Next Track
Scan Previous Track
Stop
Play / Pause
Mute
Volume Increment
Volume Decrement
AL Consumer Control Configuration
AL Email Reader
5.2.3
Break
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
Function
AL Calculator
AL Local Machine Browser
AC Search(www)
AC Home(www)
AC Back(www)
AC Forward(www)
AC Stop(www)
AC Refresh(www)
AC Bookmarks(www)
Generic Desktop Control : Usage Page 01
Function
System Power Down
System Sleep
System Wake Up
5.3
Make
00 B5
00 B6
00 B7
00 CD
00 E2
00 E9
00 EA
01 83
01 8A
Make
81
82
83
Break
00
00
00
Generic Desktop Control LED Status
Support direction sink LED by GPIO
P40
Number Lock LED directly sink.
P41
Capitals Lock LED directly sink.
P42
Scroll Lock LED directly sink.
This document information is the intellectual property of Megawin Technology.
 Megawin Technology Co., Ltd. 2014 All right reserved.
QP-7300-03D
10/19
Make
01 92
01 94
02 21
02 23
02 24
02 25
02 26
02 27
02 2A
Break
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
00 00
MA108
USB Low Speed HID Keyboard V1.01
5.4
Key Matrix
5.4.1
Model 0 : Silver Membrane
P00
P10
P11
P01
P02
Right Ctrl
Scroll Lock
2@
`~
P12
P13
P03
P04
P05
System
Power Down
Left Ctrl
System
Sleep
B
Page Up
}]
Left Alt
Pad Enter
P14 Print Screen
P06
P07
1!
Pad *
Right Alt
F9
W
F1
F10
Esc
Pad 8
S
F4
F3
↓
Pad 6
System
Power Down
F8
P15
Insert
F12
↑
U
F11
E
I
Pad 4
P16
Pad 7
F6
Pad 5
Play/Pause
A
←
System
Sleep
F7
.>
K
{[
L
J
F5
P17
P20
Z
Pad 2
:;
F2
-_
N
F
0)
P21
AC Back
(www)
AL Email
Reader
AC Forward
(www)
AC Stop
(www)
AC Refresh
(www)
Mute
AC Search
(www)
Left Win
3#
4$
G
Q
H
TAB
Pad -
P22
P23
App
End
Pad 0
Caps Lock
Num Lock
Enter
Page Down
Pad /
P24
V
7&
,<
Pad 3
+=
M
8*
9(
P25
Backspace
Pad +
5%
6^
R
T
Y
Home
P26
Right Win
AC Home
(www)
AC
Bookmarks
(www)
Stop
AL Local
Machine
Browser
AL Calculator
P27
Pause
→
"
D
Pad 1
P
O
/?
P30
Space
Pad 9
Pad .
\|
Delete
X
C
P31
Scan
Previous
Track
AL Consumer
Control
Configuration
Left Shift
System
Wake Up
Right Shift
Volume
Decrement
Scan Next
Track
Volume
Increment
This document information is the intellectual property of Megawin Technology.
 Megawin Technology Co., Ltd. 2014 All right reserved.
QP-7300-03D
11/19
MA108
USB Low Speed HID Keyboard V1.01
5.4.2
Model 1 : Carbon Membrane
P00
P01
P02
P03
P04
P05
P06
P10
`~
1!
TAB
Z
Q
A
Esc
P11
F1
2@
Caps Lock
X
W
S
P12
Left Ctrl
F5
System
Power Down
Right Ctrl
Pause
System
Sleep
System
Wake Up
P13
Home
End
Play / Pause
Pad +
Pad Enter
↑
←
P14
F8
9(
F7
.>
O
L
P15
Delete
System
Power Down
Pad 4
Num Lock
Pad 7
Pad 1
Space
↓
P16
Insert
System
Sleep
Pad 5
Pad /
Pad 8
Pad 2
Pad 0
→
P17
F9
F10
Back←
Enter
\|
F11
F12
P20
-_
0)
{[
P
:;
"
/?
P21
+=
8*
}]
,<
I
K
F6
P22
6^
7&
Y
M
U
J
H
N
P23
5%
4$
T
V
R
F
G
B
P24
F2
3#
F3
C
E
D
F4
P25
Page Up
Page Down
Pad 6
Pad *
Pad 9
Pad 3
Pad .
Pad -
P26
Mute
AC Search
(www)
Left Win
AC Back
(www)
AL Email
Reader
AC Forward
(www)
AC Stop
(www)
AC Refresh
(www)
P27
Scan
Previous
Track
AL
Consumer
Control
Configuration
Left Shift
Volume
Increment
System
Wake Up
Right Shift
Volume
Decrement
Scan Next
Track
Left Alt
Right Alt
AL Local
Machine
Browser
AL Calculator
P30
P31
Print Screen
AC Home
(www)
Scroll Lock
AC
Bookmarks
(www)
Stop
This document information is the intellectual property of Megawin Technology.
 Megawin Technology Co., Ltd. 2014 All right reserved.
QP-7300-03D
12/19
Right Win
P07
App
MA108
USB Low Speed HID Keyboard V1.01
Model 0 Circuit : Silver Membrane
………
………
………
6.1
Reference Design
………
6
Figure 6-1 Model 0 Circuit : Silver Membrane
This document information is the intellectual property of Megawin Technology.
 Megawin Technology Co., Ltd. 2014 All right reserved.
QP-7300-03D
13/19
MA108
USB Low Speed HID Keyboard V1.01
………
………
………
Model 1 Circuit : Carbon Membrane
………
6.2
Figure 6-2 Model 1 Circuit : Carbon Membrane
This document information is the intellectual property of Megawin Technology.
 Megawin Technology Co., Ltd. 2014 All right reserved.
QP-7300-03D
14/19
MA108
USB Low Speed HID Keyboard V1.01
6.3
Keyboard BOM List
6.4
Table 6-1 USB Keyboard BOM List
Quantity Note
Comment
Pattern
MA108
DICE or LQFP48
1
USB HID Keyboard
10u/16V
SMD or DIP
1
VBUS to GND (Near by USB connector)
1u/16V
SMD or DIP
1
V33 to GND (Nearby MA108)
0.1u/16V
SMD or DIP
2
RESB to GND
VBUS to GND (Nearby MA108)
LED-G
SMD or DIP
3
LED GRN 17-21VGC/TR8 VR5V 30mA
Keyboard EMI Reference

Lab : CRC TR6 3M RE CHAMBER

EUT : PC(110V) and USB Keyboard

Keyboard PCB Layout


Single Layer (CEM3) : 1.6mm

Thick Cu : 1 oz
Cable without ring core

About 1m60cm

Key-scan : ‘H’ key press, silver / carbon membrane without VSS shielding

ALL LED ON.
This document information is the intellectual property of Megawin Technology.
 Megawin Technology Co., Ltd. 2014 All right reserved.
QP-7300-03D
15/19
MA108
USB Low Speed HID Keyboard V1.01
6.4.1
Model 0 EMI : Silver Membrane
Vertical Test Report
Horizontal Test Report
This document information is the intellectual property of Megawin Technology.
 Megawin Technology Co., Ltd. 2014 All right reserved.
QP-7300-03D
16/19
MA108
USB Low Speed HID Keyboard V1.01
6.4.2
Model 1 EMI : Carbon Membrane
Vertical Test Report
Horizontal Test Report
This document information is the intellectual property of Megawin Technology.
 Megawin Technology Co., Ltd. 2014 All right reserved.
QP-7300-03D
17/19
MA108
USB Low Speed HID Keyboard V1.01
7
Electrical Characteristics
7.1
DC
VSS = 0V, TA = 25 ℃, VDD5V=VDDO= 5.0V and execute NOP for each machine cycle, unless otherwise
specified
Limits
Test
Symbol
Parameter
Unit
Condition
min
typ
max
VIH1
Input High voltage (All I/O Ports except P35&P36)
2.0
V
VIH2
Input High voltage (RESET)
3.9
V
VIL1
Input Low voltage (All I/O Ports except P35&P36)
0.8
V
VIL2
Input Low voltage (RESET)
1.1
V
IOL1
Output Low current (All I/O Ports except
P35&P36)
IOP
Operating current
IPD
VPIN = 0.4V
4
mA
FOSC = 6MHz
6
mA
Power down current
150
uA
RRST
Internal reset pull-down resistance
50
KΩ
RDM
DM pull-up resistance in USB mode
1.1
KΩ
V33
Regulator output voltage
3.3
V
FINT
Built-in oscillator frequency
TINT
System initial time
7.2
5.91
6
6.09
60
MHz
ms
USB Transceiver Electrical Characteristics
VSS = 0V, TA = 25 ℃, VDD = 5.0V and execute NOP for each machine cycle, unless otherwise specified
Symbol
Test
Condition
Parameter
Transmitter
VOH Output High Voltage
VOL Output Low Voltage
IOL
DP/DM output Low Current
VCRS Output Cross Over point
ZDRVH Output Impedance on Driving High
ZDRVL Output Impedance on Driving Low
TR
Output Rise Time
TF
Output Fall Time
Receiver
VDI
Differential Input Sensitivity
VCM Differential Input Common Mode Range
IL
Input Leakage current
min
typ
max
2.8
0.8
VPIN = 0.4V
| DP – DM |
Pull-up Disabled
This document information is the intellectual property of Megawin Technology.
 Megawin Technology Co., Ltd. 2014 All right reserved.
QP-7300-03D
Limits
18/19
30
1.3
28
28
75
75
2.0
44
44
300
300
0.2
0.8
2.5
<1.0
Unit
V
V
mA
V
Ω
Ω
ns
ns
V
V
uA
MA108
USB Low Speed HID Keyboard V1.01
8
Revision History
Revision
V1.01
Descriptions
Initial Version
2014/03/27
This document information is the intellectual property of Megawin Technology.
 Megawin Technology Co., Ltd. 2014 All right reserved.
QP-7300-03D
Date
19/19
Similar pages