SK5210 FlexMatrix™ Keyboard Controller

29
SK5210 FlexMatrix™ Keyboard Controller Low Power User Programmable USB and HID-over-I2C Dual Interface Keyboard Encoder with 1 External PS/2 Port, 1 PWM Backlight, 7 LEDs Control, and Field-Upgradable Bootloader October 28, 2021 © Sprintek Corporation 2018 2021 Document No. DS0034 Ver. 1.01 1 FEATURES Full speed USB 2.0 HID and HID over I2C 1.0 dual interfaces with Bootloader for field upgrade One external PS/2 interface to PS/2 device such as mouse, touchpad, pointing stick, and keyboard 7 LEDs (4 shared with column scan pins) 1 PWM backlight brightness control FN key support 8 x 20 matrix keyboard scan User-Programmable keyboard matrix 4 Matrix Tables for LFn, RFn, NumLock cases Support macro keys to generate like international characters “€, ¥, ♫”, “Ctrl+Alt+Del”, or “Coke Cola”, “000” sequential string outputs USB and I2C can have different scan code reports for the same key event PS/2 command relay support Advanced ghost key detection algorithm to maximize the key combination without additional diodes HID over I2C interface supports standard commands: RESET GET_REPORT SET_REPORT SET_POWER Built-in oscillator and digital circuit. No external crystal is needed LQFP 48 pin package: 7x7mm 1.6 Max (LxWxH) Low power consumption 240uA (USB), 0.3uA (I2C only) Operation voltage range: 3.0 to 5.5V Industrial temperature range: -40°C to +85°C Custom versions available in small and large quantities DESCRIPTION The SK5210 is a low power USB and I2C dual interface keyboard encoder with 1 PWM backlight and 7 LEDs control. While the USB interface is connected to the main PC as normal keyboard, the secondary I2C interface can be used to communicate with a system embedded controller (EC) for EC to receive all user events and get full control of the system. It’s the best choice for customized keyboard design for tablet / PC / laptop / docking station / Instrument. The SK5210 scans and encodes an 8-row by 20- column matrix. The key press events are translated to keyboard report. The encoder gets matrix information from on-chip matrix tables. The backlight LED PWM brightness control and 7 LEDs can be controlled via the dual interfaces by commands or key press events. The SK5210 provides an external PS/2 port that supports hot plug and hot swap of PS/2 devices such as touchpad, pointing stick, mouse including wheel mice, and keyboard. The host can send commands via SK5210 PS/2 command relay feature to the external PS/2 device to change default settings. PIN ASSIGNMENTS APPLICATION Notebook PCs Desktop PCs Tablet PCs Tablet/Mobile Phone docking station Instruments ORDEING INFORMATION SK5210 LQFP 48-pin, 0.5mm pitch, (7x7mm 1.6 MAX), Pb-Free, RoHS Complaint

Transcript of SK5210 FlexMatrix™ Keyboard Controller

SK5210 FlexMatrix™ Keyboard Controller Low Power User Programmable USB and HID-over-I2C Dual Interface

Keyboard Encoder with 1 External PS/2 Port, 1 PWM Backlight, 7 LEDs Control, and Field-Upgradable Bootloader

October 28, 2021 © Sprintek Corporation 2018 – 2021 Document No. DS0034 Ver. 1.01 1

FEATURES ▪ Full speed USB 2.0 HID and HID over I2C 1.0

dual interfaces with Bootloader for field upgrade ▪ One external PS/2 interface to PS/2 device such

as mouse, touchpad, pointing stick, and keyboard ▪ 7 LEDs (4 shared with column scan pins) ▪ 1 PWM backlight brightness control ▪ FN key support ▪ 8 x 20 matrix keyboard scan ▪ User-Programmable keyboard matrix ▪ 4 Matrix Tables for LFn, RFn, NumLock cases ▪ Support macro keys to generate like international

characters “€, ¥, ♫”, “Ctrl+Alt+Del”, or “Coke Cola”, “000” sequential string outputs

▪ USB and I2C can have different scan code reports for the same key event

▪ PS/2 command relay support ▪ Advanced ghost key detection algorithm to

maximize the key combination without additional diodes

▪ HID over I2C interface supports standard commands:

RESET GET_REPORT SET_REPORT SET_POWER

▪ Built-in oscillator and digital circuit. No external crystal is needed

▪ LQFP 48 pin package: 7x7mm 1.6 Max (LxWxH) ▪ Low power consumption 240uA (USB), 0.3uA

(I2C only) ▪ Operation voltage range: 3.0 to 5.5V ▪ Industrial temperature range: -40°C to +85°C ▪ Custom versions available in small and large

quantities

DESCRIPTION The SK5210 is a low power USB and I2C dual interface keyboard encoder with 1 PWM backlight and 7 LEDs control. While the USB interface is connected to the main PC as normal keyboard, the secondary I2C interface can be used to communicate with a system embedded controller (EC) for EC to receive all user events and get full control of the system. It’s the best choice for customized keyboard design for tablet / PC / laptop / docking station / Instrument. The SK5210 scans and encodes an 8-row by 20-column matrix. The key press events are translated to keyboard report. The encoder gets matrix information from on-chip matrix tables. The backlight LED PWM brightness control and 7 LEDs can be controlled via the dual interfaces by commands or key press events. The SK5210 provides an external PS/2 port that supports hot plug and hot swap of PS/2 devices such as touchpad, pointing stick, mouse including wheel mice, and keyboard. The host can send commands via SK5210 PS/2 command relay feature to the external PS/2 device to change default settings.

PIN ASSIGNMENTS

APPLICATION ▪ Notebook PCs ▪ Desktop PCs ▪ Tablet PCs ▪ Tablet/Mobile Phone docking station ▪ Instruments

ORDEING INFORMATION SK5210 LQFP 48-pin, 0.5mm pitch, (7x7mm 1.6 MAX), Pb-Free, RoHS Complaint

SK5210 USB and HID over I2C Dual Interface Keyboard Controller Datasheet

October 28, 2021 Document No. DS0034 Ver. 1.01 2

FUNCTION BLOCK DIAGRAM

Matrix Data Block

Inte

rna

l B

US

PowerOn Reset

Built-In Oscillator Circuit

16-bit Timer

Power Management

Programming Interface

8x20 Keyboard Scan

7 Keyboard LEDs

Backlight Brightness Control

R0-7

C0-19 (C16-19 shared

with LED1 to LED4)

nLED1 to 7 (nSCRL nNUM nCAPS nFN)

BLPWM

PRGD

PRGC

USB Keyboard Interface

I2C Keyboard Interface

nINT SCL SDA

UDN UDP

PS/2 Interface XPCLK XPDAT

SK5210 USB and HID over I2C Dual Interface Keyboard Controller Datasheet

October 28, 2021 Document No. DS0034 Ver. 1.01 3

PIN DEFINITION Pin No Type Name Description

1 IO C8 Column line 8 for scan matrix

2 NA NC0 NC pin

3 IO UDN/PRGD USB D- line / programming data line

4 IO UDP USB D+ line

5 P V33O USB 3.3 regulator output

6 P VBUS Power supply

7 P VDD Power supply

8 P VSS Ground connection

9 – 10 IO C9 – C10 Column lines 9, 10 for scan matrix

11 I nXRES / PRGC External reset: low active / programming clock line

12 IO C11 Column line 11 for scan matrix

13 O nLED1 / C16 General LED1 / Column line 16 for scan matrix

14 O nLED2 / C17 General LED1 / Column line 17 for scan matrix

15 O nLED3 / nFN / C19

General LED3 / Fn lock LED / Column line 19 for scan matrix

16 O nLED4 / C18 General LED4 / Column line 18 for scan matrix

17 O nLED5 / nSCRL General LED5 / Scroll lock LED

18 O nLED6 / nNUM General LED6 / Num lock LED

19 O nLED7 / nCAPS General LED7 / Caps lock LED

20 O BLPWM Backlight control PWM

21 IO XPDAT External PS/2 data line

22 – 24 NA NC1 – NC3 NC pins

25 IO SDA I2C slave data line

26 IO SCL I2C slave clock line

27 O nINT I2C slave interrupt line

28 – 30 IO C12 – C14 Column lines 12 to 14 for scan matrix

31 IO XPCLK External PS/2 clock line

32 IO C15 Column line 15 for scan matrix

33 – 40 I R0 – R7 Row lines 0 to 7 for scan matrix with internal pull-up resistor

41 – 48 IO C0 – C7 Column lines 0 to 7 for scan matrix

LENGENG I = Input, O = Output, IO = Input/Output, P = Power

SK5210 USB and HID over I2C Dual Interface Keyboard Controller Datasheet

October 28, 2021 Document No. DS0034 Ver. 1.01 4

FUNCTION BLOCK DESCRIPTION

The SK5210 consists functionally of several major sections (see the block diagram on the previous page). These include power on reset, oscillator circuit, 16-bit timer, power management, programming interface, keyboard scan, keyboard LEDs, backlight brightness control, matrix data block, USB keyboard interface, I2C keyboard interface, external PS/2 interface. All sections communicate with each other and operate concurrently.

Keyboard Scan

The SK5210 scans a keyboard organized as an 8 row by 20 column matrix for a maximum of 160 keys. Smaller size matrixes can be accommodated by leaving unused pins open. The IC provides internal pull-ups for the row input pins. When active, the encoder selects each column line (C0-C19); for each column selected, it reads the row data lines (R0-R7). A key closure is detected as a zero in the corresponding position of the matrix.

Each key found pressed is debounced for a period of 20 ms. Once the key is verified, the corresponding key code(s) are loaded into the transmit buffer.

In any scanned contact switch matrix, whenever three keys defining a rectangle on the switch matrix are pressed at the same time, a fourth key positioned on the fourth corner of the rectangle is sensed as being pressed. This is known as the “ghost” or “phantom” key problem.

Although the problem cannot be totally eliminated without using external hardware, there are methods to neutralize its negative effects for most practical applications. Keys that are intended to be used in combinations should be placed in the same row or column of the matrix, whenever possible. Shift keys (Shift, Alt, Ctrl, Window, Fn) should not reside in the same row (or column) as any other keys. The SK5210 has built-in mechanisms to detect and reject “ghost” keys.

Notes: Column 16 to 19 pins are shared with LED1 to LED4. They can be configured to be either LED functions or column functions. At default, they are configured as column function.

Pin# LED Function Name Keyboard Scan Function Name

13 LED1 C16

14 LED2 C17

15 LED3 C19

16 LED4 C18

When a key event is detected, it will be reported to both USB interface and HID over I2C interface. The key event can be either enabled or disabled for each interface.

Keyboard LEDs

The SK5210 provides 7 pins to directly drive LEDs for CapsLock, Numlock, Scrolllock, Fnlock functions and general LED indicators.

USB Interface

The SK5210 follows USB.org’s Universal Serial Bus Specification 2.0 and Device Class Definition for HID 1.11 as a full speed HID keyboard device.

SK5210 USB and HID over I2C Dual Interface Keyboard Controller Datasheet

October 28, 2021 Document No. DS0034 Ver. 1.01 5

HID over I2C Interface

The SK5210 follows Microsoft’s HID Over I2C Protocol Specification – Device Side Version 1.00 as a HID over I2C keyboard and mouse combo device.

nINT pin can be configured to low assertion or high assertion. nINT high assertion is default.

Power Management

When USB interface is connected, the SK5210 supports selective suspend and remote wake up to get maximum power saving.

The host embedded controller can instruct the SK5210 to connect/disconnect USB interface to save power.

Backlight Brightness Control

The 10-bit PWM output controls the brightness of backlight circuit. The PWM clock is sourced from 12MHz clock, and the parameters such as period, positive width are programmable.

Power On Reset Circuit

The SK5210 has built-in power on reset circuit with simple external RC components.

Oscillator Circuit

The SK5210 has built-in oscillator circuit and no external crystal or resonator is needed.

16-bit Timer

The 16-bit timer provides the timing control for USB and I2C communication, keyboard scan and sleep timer wakeup.

External PS/2 Port

The SK5210 provides an external PS/2 port that supports hot plug and hot swap of PS/2 mouse including wheel mouse, and keyboard devices.

Matrix Data Block

The SK5210 provides an on-chip data block to store keyboard matrix, scan code mapping table and etc. The matrix data block is pre-defined and cannot be changed in the field. Custom matrix data block can be done via Sprintek custom keyboard service.

Programming Interface

The programming interface is reserved for Sprintek to programming new firmware. PRGC and PRGD pins are recommended to be connected to a 6 pin header in the schematic. The header needn’t be populated in the final assembly. Three test points are preferred if 6 pin header is not allowed due to space reason.

SK5210 USB and HID over I2C Dual Interface Keyboard Controller Datasheet

October 28, 2021 Document No. DS0034 Ver. 1.01 6

I2C COMMAND PROTOCOL

I2C Slave Device Address

The 7-bit address of the device is shown as below 0x39. After combined with R/W bit, the 8-bit address is 0x72 for I2C write operation, 0x73 for I2C read operation.

List of Commands

The following diagram illustrates the bus communication for a data write, a data pointer write, and a data read operation. Remember that a data write operation always rewrites

Register Address Register Definition R/W Data Byte Notes

0x0001 HID Descriptor Read 30

0x0002 Report Descriptor Read Vary

0x0003 Input Report Read

0x0004 Output Report Write

0x0005 Command Register Write Support commands: RESET GET_REPORT SET_REPORT SET_POWER

0x0006 Data Register Read/Write

HID Descriptor Retrieval

Typical Retrieval of the HID Descriptor

01 72 00

73

Value (Hex)

1E XX XX

SK5210 USB and HID over I2C Dual Interface Keyboard Controller Datasheet

October 28, 2021 Document No. DS0034 Ver. 1.01 7

Report Descriptor Retrieval

Typical Retrieval of the Report Descriptor

The length of report descriptor is stored in HID descriptor.

Input Reports

The low byte of input report length field depends on the type of input report. Input reports are indicated by nINT assertion.

Reset Report

A reset report will be sent after the SK5210 receives powered-on-reset or after the SK5210 receives a RESET command. Byte0 Definition Value

0 Length Low Byte 00

1 Length High Byte 00

Keyboard Input Report (HID Page 7)

Byte0 Definition Value

0 Length Low Byte 0B

1 Length High Byte 00

2 Report ID 01

02 72 00

73

Value (Hex)

XX XX XX

Value (Hex) 73 00 XX

XX XX XX

SK5210 USB and HID over I2C Dual Interface Keyboard Controller Datasheet

October 28, 2021 Document No. DS0034 Ver. 1.01 8

3 Modifier Keys

Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0

RightGUI RightAlt RightShift RightCtrl LeftGUI LeftAlt LeftShift LeftCtrl

XX

4 Reserved 00

5 Key1 UsageID XX

6 Key2 UsageID XX

7 Key3 UsageID XX

8 Key4 UsageID XX

9 Key5 UsageID XX

10 Key6 UsageID XX

System ACPI Input Report (HID Page 1)

Byte0 Definition Value

0 Length Low Byte 04

1 Length High Byte 00

2 Report ID 03

3 System Power Key1 UsageID XX

Consumer Key Input Report (HID Page C)

Byte0 Definition Value

0 Length Low Byte 05

1 Length High Byte 00

2 Report ID 04

3 Consumer Key1 UsageID Low Byte XX

4 Consumer Key1 UsageID High Byte XX

Mouse Input Report

Byte0 Definition Value Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0

0 Length Low Byte 06 0 0 0 0 0 1 1 0

1 Length High Byte 00 0 0 0 0 0 0 0 0

2 Report ID 02 0 0 0 0 0 0 1 0

3 Buttons 0X 0 0 0 0 0 Middle Button

Right Button

Left Button

4 X Axis Relative Movement XX X Data

5 Y Axis Relative Movement XX Y Data

Output Reports

Set Keyboard LEDs Byte0 Definition Value Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0

Value (Hex) 72 00 04

01 00 XX XX

SK5210 USB and HID over I2C Dual Interface Keyboard Controller Datasheet

October 28, 2021 Document No. DS0034 Ver. 1.01 9

0 Length Low Byte 01 0 0 0 0 0 1 1 0

1 Length High Byte 00 0 0 0 0 0 0 0 0

2 Report ID 01 0 0 0 0 0 0 1 0

3 LEDs XX 0 0 0 Kana Compose Scroll Lock

Caps Lock

Num Lock

Command and Data Register

The HID over I2C spec requires that all devices respond to certain commands. The commands are issued to the command register. The command is an opcode as defined by the HID over I2C spec. The operand for the command goes to the data register. Below is a list of commands supported by the SK5210.

Op Code Command Name Effective on Device

0001b RESET Device is reset and all registers are returned to default value. This command has the same effect on the device as a power on reset.

0010b GET_REPORT Most recent input report is transferred to Data Register

0011b SET_REPORT Data register contents are used to turn on/off LED.

1000b SET_POWER All LEDs are turned off, USB interface is shut down and disconnected from USB bus, and device is in lowest current mode (will still detect key presses)

SK5210 USB and HID over I2C Dual Interface Keyboard Controller Datasheet

October 28, 2021 Document No. DS0034 Ver. 1.01 10

KEYBOARD MATRIX DESIGN

Four Keyboard Matrix

The SK5210 supports four 8X20 keyboard matrixes for the following cases: LFn off/on, RFn off/on.

Design Keyboard Matrix

Please refer to Microsoft Windows Platform Design Notes “Keyboard Scan Code Specification” to get more information.

Create Keyboard Matrix

The FlexMatrix Editor program enables the user to create keyboard matrix including macro key definition and function key definition, then save them in binary format.

The Editor program allows the user to assign a logical key to any position in the 8 x 20 matrix. Once a matrix has been created, it is saved in a binary file. The file can be downloaded to the SK5210 flash data block via FlexMatrix Programmer software.

The Editor program can be downloaded from http://sprintek.com/support/Downloads.aspx. Here is the screen snapshot of FlexMatrix Editor software.

Screen snapshot of FlexMatrix™ Editor

Download Keyboard Matrix

The FlexMatrix Programmer program enables the user to download matrix binary file to the SK5210, upload matrix data from the SK5210’s flash data block to a binary file.

The Programmer program can be downloaded from http://sprintek.com/support/Downloads.aspx. Here is the screen snapshot of FlexMatrix Programmer software.

SK5210 USB and HID over I2C Dual Interface Keyboard Controller Datasheet

October 28, 2021 Document No. DS0034 Ver. 1.01 11

Screen snapshot of FlexMatrix™ Programmer – Matrix Data Upgrade

Test Keyboard Matrix

Sprintek offers a keyboard test tool to verify your keyboard design.

The Tester program can be downloaded from http://sprintek.com/support/Downloads.aspx. Here is the screen snapshot of FlexMatrix Programmer software.

Screen snapshot of FlexMatrix™ Tester

SK5210 USB and HID over I2C Dual Interface Keyboard Controller Datasheet

October 28, 2021 Document No. DS0034 Ver. 1.01 12

Code Upgrade

The SK5210’s bootloader to support field code upgrade. The feature enables users to enjoy new features of your design. 3 files can be upgraded via the FlexMatrix Programmer program: code file, matrix data, manufacturer data.

The Tester program can be downloaded from http://sprintek.com/support/Downloads.aspx. Here is the screen snapshot of FlexMatrix Programmer software.

Screen snapshot of FlexMatrix™ Programmer – Code Upgrade

SK5210 USB and HID over I2C Dual Interface Keyboard Controller Datasheet

October 28, 2021 Document No. DS0034 Ver. 1.01 13

DEFAULT KEYBOARD MATRIX

The following table shows the default keyboard matrix on chip. Please fill out this table and send it to Sprintek for customized design.

Matrix0 and Matrix1(LFn Off)

The following are key matrix0 and matrix1 tables when LFn is off. Matrix0 – RFn is off and LFn is off; Matrix1 – RFn is on and LFn is off. When a single key definition in the table, it will work for RFn off case only. For example, location (C1, R2) “A” will works for matrix 0; but not in matrix1. When double keys are defined in the table, key in the upper side is for matrix 0 and key in the lower side is for matrix 1. For examples, Location (C12,R7) “F10 / Scroll Lock”, when RFn is off, “F10” is selected; when RFn is on, “Scroll Lock” is selected. R0 R1 R2 R3 R4 R5 R6 R7

C0 Pause PrevTrack Stop Play/Pause Ctrl-R NextTrack Ctrl-L F5

C1 Q Tab A Esc Z K131 JP-L ~` !1

C2 W Caps Lock S K45 UK\| X K132 JP-M F1 @2

C3 E F3 D F4 C K133 JP-R F2 #3

C4 R T F G V B %5 $4

C5 U Y J H M N ^6 &7

C6 I }] K F6 <, K56 JP-Ro += *8

C7 O F7 L >. Apps F8 (9

C8 N7 N4 N1 Space Num

Lock ↓ Delete Power

C9 K14 JP-Yen Back Space K29 \| F11 Enter F12 F9 F10

C10 Scroll Lock LFn /

LFn VolDn Alt-L VolUp Alt-R Mute PrtSc

C11 P {[ :; “’ K42 UK#~ ?/ _- )0

C12 Shift_F1 Win-L Backlit

Toggle Shift_F2

Shift_F

3 Shift_F4 Eject

F10 /

Scroll Lock

C13 K150 KR-L Win-R 00 000 F8 /

KbLock

F2 /

F12 K151 KR-R

C14 Media Email WHome WBack WForward WStop WRefresh WFavorites

C15 My

Computer Calculator

↑ /

PgUp ↓ /

PgDn ← /

Home → /

End WExplorer

Shift-R /

LFn

C16 Wake Up Shift-L Shift-R WSearch F4 / Backlit

Toggle

F5 /

XPs2

Lock

F1 /

F11 RFn /

RFn

C17 N+ K107 BR NEnter ↑ ← Home End

C18 N9 N6 N3 N. N* N- PgUp PgDn

C19 N8 N5 N2 N0 N/ → Insert Sleep

Notes: highlighted cells are RFN impacted keys

SK5210 USB and HID over I2C Dual Interface Keyboard Controller Datasheet

October 28, 2021 Document No. DS0034 Ver. 1.01 14

Matrix2 and Matrix3 (LFn On)

The following are key matrix2 and matrix3 tables when LFn is on Matrix2 – RFn is off and LFn is on Matrix3 – RFn is on and LFn is on When a single key definition in the table, it will work for RFn off case only. For example, location (C1, R3)

“FN_Esc” will works for matrix 2; but not in matrix3.

When double keys are defined in the table, key in the upper side is for matrix 2 and key in the lower side is for matrix 3. For examples, Location (C7,R6) “FN_F8 / KbLock”, when RFn is off, “FN_F8” is selected;

when RFn is on, “KbLock” is selected.

R0 R1 R2 R3 R4 R5 R6 R7

C0 FN_F5

C1 FN_Esc

C2 FN_F1

C3 FN_F3 FN_F4 FN_F2

C4

C5

C6 FN_F6

C7 FN_F7 FN_F8 /

KbLock

C8

C9 FN_F11 FN_F12 FN_F9 FN_F10

C10 LFn /

LFn

C11

C12

C13

C14

C15

C16 RFn /

RFn

C17

C18

C19

Notes: highlighted cells are RFN impacted keys

SK5210 USB and HID over I2C Dual Interface Keyboard Controller Datasheet

October 28, 2021 Document No. DS0034 Ver. 1.01 15

HID USAGE TABLE

Here lists special keys’ HID usage code. All other keys are normal keys listed in usage page 7 in document “HID Usage Tables 1.2” from https://usb.org/.

Key Usage Page Usage

Power 01 81

Sleep 01 82

Wake Up 01 83

NextTrack 0C B5

PrevTrack 0C B6

Stop 0C B7

Eject 0C B8

Play/Pause 0C CD

Mute 0C E2

VolUp 0C E9

VolDn 0C EA

Media 0C 183

Email 0C 18A

Calculator 0C 192

My Computer 0C 194

WExplorer 0C 196

WSearch 0C 221

WHome 0C 223

WBack 0C 224

WForward 0C 225

WStop 0C 226

WRefresh 0C 227

WFavorites 0C 22A

Key Usage Page Usage

K14 07 89

K29 07 31

K42 07 32

K45 07 64

K56 07 87

K107 07 85

K131 07 8B

K132 07 8A

K133 07 88

K150 07 91

K151 07 90

I2C INTERFACE KEYBOARD REPORT

At default, Fn+Esc, Fn+F1 to Fn+F12 keys are enabled to report to I2C interface. All other keys are disabled for I2C interface. The report format can be seen at “Consumer Key Input Report (HID Page C)” section.

Physical Key Key Name USB Key I2C Key (Page C)

LFn + Esc FN_Esc No report 0F00

LFn + F1 FN_F1 No report 0F01

LFn + F2 FN_F2 No report 0F02

LFn + F3 FN_F3 No report 0F03

LFn + F4 FN_F4 No report 0F04

LFn + F5 FN_F5 No report 0F05

LFn + F6 FN_F6 No report 0F06

LFn + F7 FN_F7 No report 0F07

LFn + F8 FN_F8 No report 0F08

LFn + F9 FN_F9 No report 0F09

LFn + F10 FN_F10 No report 0F0A

LFn + F11 FN_F11 No report 0F0B

LFn + F12 FN_F12 No report 0F0C

SK5210 USB and HID over I2C Dual Interface Keyboard Controller Datasheet

October 28, 2021 Document No. DS0034 Ver. 1.01 16

SCAN CODE TABLE

SKEY is the Sprintek key number. AT-101 is the key reference number on the standard AT-101 keyboard layout, shown in the diagram below USB page is the Universal Serial Bus (USB) Human Interface Device (HID) usage page for the key. Most keys are on the keyboard page, page 0x07. For information about USB codes, see the USB HID specifications, published by the USB-IF (http://www.usb.org/). USB usage is the USB HID usage ID for the key on the specified USB HID page. PS/2 codes are the make (key press) and break (key release) codes for PS/2 scan sets 1, 2, and 3; U/A means unassigned. Note that some keys, by default, do not generate break codes, even if the break codes are shown in this table.

Enhanced AT-101 Keyboard Physical Layout

The following figure shows the standard AT-101 keyboard with Windows keys. The numbers on keys are the position number.

SK5210 USB and HID over I2C Dual Interface Keyboard Controller Datasheet

October 28, 2021 Document No. DS0034 Ver. 1.01 17

SKey and Scan Code Table

Set

3

Bre

ak

(Hex)

None

None

None

U/A

F0

1C

F0

32

F0

21

F0

23

F0

24

F0

2B

F0

34

F0

33

F0

43

F0

3B

F0

42

F0

4B

F0

3A

F0

31

F0

44

F0

4D

F0

15

F0

2D

F0

1B

F0

2C

F0

3C

F0

2A

F0

1D

F0

22

F0

35

F0

1A

F0

16

F0

1E

F0

26

F0

25

F0

2E

F0

36

F0

3D

Set

3

Ma

ke

(Hex)

None

None

None

U/A

1C

32

21

23

24

2B

34

33

43

3B

42

4B

3A

31

44

4D

15

2D

1B

2C

3C

2A

1D

22

35

1A

16

1E

26

25

2E

36

3D

Set

2

Bre

ak

(Hex)

None

None

None

U/A

F0

1C

F0

32

F0

21

F0

23

F0

24

F0

2B

F0

34

F0

33

F0

43

F0

3B

F0

42

F0

4B

F0

3A

F0

31

F0

44

F0

4D

F0

15

F0

2D

F0

1B

F0

2C

F0

3C

F0

2A

F0

1D

F0

22

F0

35

F0

1A

F0

16

F0

1E

F0

26

F0

25

F0

2E

F0

36

F0

3D

Set

2

Ma

ke

(Hex)

None

00

FC

U/A

1C

32

21

23

24

2B

34

33

43

3B

42

4B

3A

31

44

4D

15

2D

1B

2C

3C

2A

1D

22

35

1A

16

1E

26

25

2E

36

3D

Set

1

Bre

ak

(Hex)

None

None

None

U/A

9E

B0

AE

A0

92

A1

A2

A3

97

A4

A5

A6

B2

B1

98

99

90

93

9F

94

96

AF

91

AD

95

AC

82

83

84

85

86

87

88

Set

1

Ma

ke

(Hex)

None

FF

FC

U/A

1E

30

2E

20

12

21

22

23

17

24

25

26

32

31

18

19

10

13

1F

14

16

2F

11

2D

15

2C

02

03

04

05

06

07

08

US

B

Usag

e

(Hex)

00

01

02

03

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

1E

1F

20

21

22

23

24

US

B

Pag

e

(Hex)

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

AT

-101

(Dec)

N/A

N/A

N/A

N/A

31

50

48

33

19

34

35

36

24

37

38

39

52

51

25

26

17

20

32

21

23

49

18

47

22

46

2

3

4

5

6

7

8

Descri

pti

on

No E

vent

Keyboard

Err

orR

ollO

ver

Keyboard

PO

ST

Fa

il

Keyboard

Err

orU

ndefin

ed

Keyboard

a a

nd A

Keyboard

b a

nd B

Keyboard

c a

nd C

Keyboard

d a

nd D

Keyboard

e a

nd E

Keyboard

f a

nd F

Keyboard

g a

nd G

Keyboard

h a

nd H

Keyboard

i a

nd I

Keyboard

j a

nd J

Keyboard

k a

nd K

Keyboard

l a

nd L

Keyboard

m a

nd M

Keyboard

n a

nd N

Keyboard

o a

nd O

Keyboard

p a

nd P

Keyboard

q a

nd Q

Keyboard

r a

nd R

Keyboard

s a

nd S

Keyboard

t a

nd T

Keyboard

u a

nd U

Keyboard

v a

nd V

Keyboard

w a

nd W

Keyboard

x a

nd X

Keyboard

y a

nd Y

Keyboard

z a

nd Z

Keyboard

1 a

nd !

Keyboard

2 a

nd @

Keyboard

3 a

nd #

Keyboard

4 a

nd $

Keyboard

5 a

nd %

Keyboard

6 a

nd ^

Keyboard

7 a

nd &

Pro

gra

m

Co

de

No K

ey

RO

LLO

VE

R

PO

ST

FA

IL

UN

DE

FIN

ED

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

1

2

3

4

5

6

7

SK

EY

(D

ec)

0

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36

SK5210 USB and HID over I2C Dual Interface Keyboard Controller Datasheet

October 28, 2021 Document No. DS0034 Ver. 1.01 18

SKey and Scan Code Table – Continued

Set

3

Bre

ak

(Hex)

F0

3E

F0

46

F0

45

F0

5A

F0

08

F0

66

F0

0D

F0

29

F0

4E

F0

55

F0

54

F0

5B

F0

5C

F0

5C

F0

4C

F0

52

F0

0E

F0

41

F0

49

F0

4A

F0

14

F0

07

F0

0F

F0

17

F0

1F

F0

27

F0

2F

F0

37

F0

3F

F0

47

F0

4F

F0

56

F0

5E

F0

57

F0

5F

F0

62

Set

3

Ma

ke

(Hex)

3E

46

45

5A

08

66

0D

29

4E

55

54

5B

5C

5C

4C

52

0E

41

49

4A

14

07

0F

17

1F

27

2F

37

3F

47

4F

56

5E

57

5F

62

Set

2

Bre

ak

(Hex)

F0

3E

F0

46

F0

45

F0

5A

F0

76

F0

66

F0

0D

F0

29

F0

4E

F0

55

F0

54

F0

5B

F0

5D

F0

5D

F0

4C

F0

52

F0

0E

F0

41

F0

49

F0

4A

F0

58

F0

05

F0

06

F0

04

F0

0C

F0

03

F0

0B

F0

83

F0

0A

F0

01

F0

09

F0

78

F0

07

E0 F

0 7

C

F0

7E

None

Set

2

Ma

ke

(Hex)

3E

46

45

5A

76

66

0D

29

4E

55

54

5B

5D

5D

4C

52

0E

41

49

4A

58

05

06

04

0C

03

0B

83

0A

01

09

78

07

E0 7

C

7E

E1 1

4 7

7

E1 F

0 1

4

F0

77

Set

1

Bre

ak

(Hex)

89

8A

8B

9C

81

8E

8F

B9

8C

8D

9A

9B

AB

AB

A7

A8

A9

B3

B4

B5

BA

BB

BC

BD

BE

BF

C0

C1

C2

C3

C4

D7

D8

E0 B

7

C6

None

Set

1

Ma

ke

(Hex)

09

0A

0B

1C

01

0E

0F

39

0C

0D

1A

1B

2B

2B

27

28

29

33

34

35

3A

3B

3C

3D

3E

3F

40

41

42

43

44

57

58

E0 3

7

46

E1 1

D 4

5

E19D

C5

US

B

Usag

e

(Hex)

25

26

27

28

29

2A

2B

2C

2D

2E

2F

30

31

32

33

34

35

36

37

38

39

3A

3B

3C

3D

3E

3F

40

41

42

43

44

45

46

47

48

US

B

Pag

e

(Hex)

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

AT

-101

(Dec)

9

10

11

43

110

15

16

61

12

13

27

28

29

42

40

41

1

53

54

55

30

112

113

114

115

116

117

118

119

120

121

122

123

124

125

126

Descri

pti

on

Keyboard

8 a

nd *

Keyboard

9 a

nd (

Keyboard

0 a

nd )

Keyboard

Retu

rn(E

NT

ER

)

Keyboard

ES

CA

PE

Keyboard

Backspace

Keyboard

Ta

b

Keyboard

Spacebar

Keyboard

- a

nd (

unders

core

)

Keyboard

= a

nd+

Keyboard

[ a

nd {

Keyboard

] a

nd }

Keyboard

\ a

nd |

Keyboard

Non

-US

# a

nd ~

Keyboard

Keyboard

‘ a

nd “

Keyboard

` a

nd ~

Keyboard

, a

nd <

Keyboard

. a

nd >

Keyboard

/ a

nd ?

Keyboard

CapsLock

Keyboard

F1

Keyboard

F2

Keyboard

F3

Keyboard

F4

Keyboard

F5

Keyboard

F6

Keyboard

F7

Keyboard

F8

Keyboard

F9

Keyboard

F1

0

Keyboard

F1

1

Keyboard

F1

2

Keyboard

Prin

tScre

en

Keyboard

Scro

llLock

Keyboard

Pause

Pro

gra

m

Co

de

8

9

0

EN

TE

R

ES

C

BA

CK

SP

AC

E

TA

B

SP

AC

E

-/_

=/+

[/{

]/}

\/|

KE

Y42

;/:

‘/”

`/~

,/<

./>

//?

CA

PS

LO

CK

F1

F2

F3

F4

F5

F6

F7

F8

F9

F1

0

F1

1

F1

2

PR

INT

SC

RN

SC

RO

LLO

CK

PA

US

E

SK

EY

(D

ec)

37

38

39

40

41

42

43

44

45

46

47

48

49

50

51

52

53

54

55

56

57

58

59

60

61

62

63

64

65

66

67

68

69

70

71

72

SK5210 USB and HID over I2C Dual Interface Keyboard Controller Datasheet

October 28, 2021 Document No. DS0034 Ver. 1.01 19

SKey and Scan Code Table – Continued

Set

3

Bre

ak

(Hex)

F0

62

F0

67

F0

6E

F0

6F

F0

64

F0

65

F0

6D

F0

6A

F0

61

F0

60

F0

63

F0

76

F0

77

F0

7E

F0

84

F0

7C

F0

79

F0

69

F0

72

F0

7A

F0

6B

F0

73

F0

74

F0

6C

F0

75

F0

7D

F0

70

F0

71

F0

61

F0

8D

U/A

U/A

F0

08

F0

10

F0

18

F0

20

Set

3

Ma

ke

(Hex)

62

67

6E

6F

64

65

6D

6A

61

60

63

76

77

7E

84

7C

79

69

72

7A

6B

73

74

6C

75

7D

70

71

61

8D

U/A

U/A

08

10

18

20

Set

2

Bre

ak

(Hex)

None

E0 F

0 7

0

E0 F

0 6

C

E0 F

0 7

D

E0 F

0 7

1

E0 F

0 6

9

E0 F

0 7

A

E0 F

0 7

4

E0 F

0 6

B

E0 F

0 7

2

E0 F

0 7

5

F0

77

E0 F

0 4

A

F0

7C

F0

7B

F0

79

E0 F

0 5

A

F0

69

F0

72

F0

7A

F0

6B

F0

73

F0

74

F0

6C

F0

75

F0

7D

F0

70

F0

71

F0

61

E0 F

0 2

F

E0 F

0 3

7

F0

0F

F0

08

F0

10

F0

18

F0

20

Set

2

Ma

ke

(Hex)

E0 7

E E

0

F0

7E

E0 7

0

E0 6

C

E0 7

D

E0 7

1

E0 6

9

E0 7

A

E0 7

4

E0 6

B

E0 7

2

E0 7

5

77

E0 4

A

7C

7B

79

E0 5

A

69

72

7A

6B

73

74

6C

75

7D

70

71

61

E0 2

F

E0 3

7

0F

08

10

18

20

Set

1

Bre

ak

(Hex)

None

E0 D

2

E0 C

7

E0 C

9

E0 D

3

E0 C

F

E0 D

1

E0 C

D

E0 C

B

E0 D

0

E0 C

8

C5

E0 B

5

B7

CA

CE

E0 9

C

CF

D0

D1

CB

CC

CD

C7

C8

C9

D2

D3

D6

E0 D

D

E0 D

E

D9

E4

E5

E6

E7

Set

1

Ma

ke

(Hex)

E0 4

6 E

0

C6

E0 5

2

E0 4

7

E0 4

9

E0 5

3

E0 4

F

E0 5

1

E0 4

D

E0 4

B

E0 5

0

E0 4

8

45

E0 3

5

37

4A

4E

E0 1

C

4F

50

51

4B

4C

4D

47

48

49

52

53

56

E0 5

D

E0 5

E

59

64

65

66

67

US

B

Usag

e

(Hex)

48

49

4A

4B

4C

4D

4E

4F

50

51

52

53

54

55

56

57

58

59

5A

5B

5C

5D

5E

5F

60

61

62

63

64

65

66

67

68

69

6A

6B

US

B

Pag

e

(Hex)

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

AT

-101

(Dec)

126

75

80

85

76

81

86

89

79

84

83

90

95

100

105

106

108

93

98

103

92

97

102

91

96

101

99

104

45

129

U/A

U/A

U/A

U/A

U/A

U/A

Descri

pti

on

Keyboard

Bre

ak (

Ctr

l+P

ause)

Keyboard

Insert

Keyboard

Hom

e

Keyboard

PageU

p

Keyboard

Dele

te F

orw

ard

Keyboard

End

Keyboard

PageD

ow

n

Keyboard

Rig

htA

rrow

Keyboard

LeftA

rrow

Keyboard

Dow

nA

rrow

Keyboard

UpA

rrow

Keypad N

um

Lock

Keypad /

Keypad *

Keypad -

Keypad +

Keypad E

NT

ER

Keypad 1

and E

nd

Keypad 2

and D

ow

n A

rrow

Keypad 3

and P

ageD

n

Keypad 4

and L

eft A

rrow

Keypad 5

Keypad 6

and R

ight A

rrow

Keypad 7

and H

om

e

Keypad 8

and U

p A

rrow

Keypad 9

and P

ageU

p

Keypad 0

and I

nsert

Keypad . a

nd D

ele

te

Keyboard

Non

-US

\ and |

Keyboard

Applic

atio

n

Keyboard

Pow

er

Keypad =

Keyboard

F1

3

Keyboard

F1

4

Keyboard

F1

5

Keyboard

F1

6

Pro

gra

m

Co

de

PU

AS

E

INS

ER

T

HO

ME

PA

GE

UP

DE

LE

TE

EN

D

PA

GE

DO

WN

AR

WR

AR

WL

AR

WD

N

AR

WU

P

NU

ML

OC

K

N/

N*

N-

N+

NE

NT

ER

N1

N2

N3

N4

N5

N6

N7

N8

N9

N0

N.

KE

Y45

AP

PL

PO

WE

R

N=

F1

3

F1

4

F1

5

F1

6

SK

EY

(D

ec)

72

73

74

75

76

77

78

79

80

81

82

83

84

85

86

87

88

89

90

91

92

93

94

95

96

97

98

99

100

101

102

103

104

105

106

107

SK5210 USB and HID over I2C Dual Interface Keyboard Controller Datasheet

October 28, 2021 Document No. DS0034 Ver. 1.01 20

SKey and Scan Code Table – Continued

Set

3

Bre

ak

(Hex)

F0

28

F0

30

F0

38

F0

40

F0

48

F0

50

F0

57

F0

5F

F0

11

F0

12

F0

39

F0

8B

F0

58

F0

59

F0

39

F0

8C

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

F0

7B

U/A

F0

51

F0

87

F0

5D

F0

86

F0

85

U/A

U/A

U/A

Set

3

Ma

ke

(Hex)

28

30

38

40

48

50

57

5F

11

12

39

8B

58

59

39

8C

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

7B

U/A

51

87

5D

86

85

U/A

U/A

U/A

Set

2

Bre

ak

(Hex)

F0

28

F0

30

F0

38

F0

40

F0

48

F0

50

F0

57

F0

5F

F0

14

F0

12

F0

11

E0 F

0 1

F

E0 F

0 1

4

F0

59

E0 F

0 1

1

E0 F

0 2

7

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

F0

6D

U/A

F0

51

F0

13

F0

6A

F0

64

F0

67

F0

27

U/A

U/A

Set

2

Ma

ke

(Hex)

28

30

38

40

48

50

57

5F

14

12

11

E0 1

F

E0 1

4

59

E0 1

1

E0 2

7

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

6D

U/A

51

13

6A

64

67

27

U/A

U/A

Set

1

Bre

ak

(Hex)

E8

E9

EA

EB

EC

ED

EE

F6

9D

AA

B8

E0 D

B

E0 9

D

B6

E0 B

8

E0 D

C

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

FE

U/A

F3

F0

FD

F9

FB

DC

U/A

U/A

Set

1

Ma

ke

(Hex)

68

69

6A

6B

6C

6D

6E

76

1D

2A

38

E0 5

B

E0 1

D

36

E0 3

8

E0 5

C

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

7E

U/A

73

70

7D

79

7B

5C

U/A

U/A

US

B

Usag

e

(Hex)

6C

6D

6E

6F

70

71

72

73

E0

E1

E2

E3

E4

E5

E6

E7

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

85

86

87

88

89

8A

8B

8C

8D

8E

US

B

Pag

e

(Hex)

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

07

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

07

07

07

07

07

07

07

07

07

07

AT

-101

(Dec)

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

58

44

60

127

64

57

62

128

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

107

U/A

56

133

14

132

131

U/A

U/A

U/A

Descri

pti

on

Keyboard

F1

7

Keyboard

F1

8

Keyboard

F1

9

Keyboard

F2

0

Keyboard

F2

1

Keyboard

F2

2

Keyboard

F2

3

Keyboard

F2

4

Keyboard

LeftC

ontr

ol

Keyboard

LeftS

hift

Keyboard

LeftA

lt

Keyboard

Left G

UI

Keyboard

Rig

htC

ontr

ol

Keyboard

Rig

htS

hift

Keyboard

Rig

htA

lt

Keyboard

Rig

ht G

UI

Reserv

ed

Reserv

ed

Reserv

ed

Reserv

ed

Reserv

ed

Reserv

ed

Reserv

ed

Reserv

ed

Reserv

ed

Keypad ,

(Bra

zili

an K

eypad .

)

Keypad E

qual S

ign

Keyboard

Int'l 1 (

Ro)

Keyboard

Int'l 2

(Kata

kana/H

iragana)

Keyboard

Int'l 3 (

Yen)

Keyboard

Int'l 4 (

Henkan)

Keyboard

Int'l 5 (

Mu

henkan)

Keyboard

Int'l 6

(P

C9800 K

eypad ,)

Keyboard

Int'l 7

Keyboard

Int'l 8

Pro

gra

m

Co

de

F17

F1

8

F1

9

F2

0

F2

1

F2

2

F2

3

F2

4

LC

TR

L

LS

HIF

T

LA

LT

LW

IN

RC

TR

L

RS

HIF

T

RA

LT

RW

IN

SK

124

SK

125

SK

126

SK

127

SK

128

SK

129

SK

130

SK

131

SK

132

KE

Y107

KE

Y=

INT

L1

INT

L2

INT

L3

INT

L4

INT

L5

INT

L6

INT

L7

INT

L8

SK

EY

(D

ec)

108

109

110

111

112

113

114

115

116

117

118

119

120

121

122

123

124

125

126

127

128

129

130

131

132

133

134

135

136

137

138

139

140

141

142

SK5210 USB and HID over I2C Dual Interface Keyboard Controller Datasheet

October 28, 2021 Document No. DS0034 Ver. 1.01 21

SKey and Scan Code Table – Continued

Set

3

Bre

ak

(Hex)

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

N/A

N/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

Set

3

Ma

ke

(Hex)

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

N/A

N/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

Set

2

Bre

ak

(Hex)

U/A

None

None

F0

63

F0

62

F0

5F

U/A

U/A

U/A

U/A

E0 F

0 3

7

E0 F

0 3

F

E0 F

0 5

E

U/A

U/A

N/A

N/A

U/A

E0 F

0 4

D

E0 F

0 1

5

E0 F

0 3

B

E0 F

0 3

4

U/A

E0 F

0 2

3

U/A

U/A

U/A

U/A

E0 F

0 3

2

E0 F

0 2

1

U/A

Set

2

Ma

ke

(Hex)

U/A

F2

F1

63

62

5F

U/A

U/A

U/A

U/A

E0 3

7

E0 3

F

E0 5

E

U/A

U/A

N/A

N/A

U/A

E0 4

D

E0 1

5

E0 3

B

E0 3

4

U/A

E0 2

3

U/A

U/A

U/A

U/A

E0 3

2

E0 2

1

U/A

Set

1

Bre

ak

(Hex)

U/A

None

None

F8

F7

F6

U/A

U/A

U/A

U/A

E0 D

E

E0 D

F

E0 E

3

U/A

U/A

N/A

N/A

U/A

E0 9

9

E0 9

0

E0 A

4

E0 A

2

U/A

E0 A

0

U/A

U/A

U/A

U/A

30 B

0

E0 A

E

U/A

Set

1

Ma

ke

(Hex)

U/A

F2

F1

78

77

76

U/A

U/A

U/A

U/A

E0 5

E

E0 5

F

E0 6

3

U/A

U/A

N/A

N/A

U/A

E0 1

9

E0 1

0

E0 2

4

E0 2

2

U/A

E0 2

0

U/A

U/A

U/A

U/A

E0 3

0

E0 2

E

U/A

US

B

Usag

e

(Hex)

8F

90

91

92

93

94

95

96

97

98

81

82

83

U/A

U/A

N/A

N/A

0095

00B

5

00B

6

00B

7

00C

D

00E

0

00E

2

00E

3

00E

4

00E

5

00E

7

00E

9

00E

A

0152

US

B

Pag

e

(Hex)

07

07

07

07

07

07

07

07

07

07

01

01

01

U/A

U/A

N/A

N/A

0C

0C

0C

0C

0C

0C

0C

0C

0C

0C

0C

0C

0C

0C

AT

-101

(Dec)

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

Descri

pti

on

Keyboard

Int'l 9

Keyboard

LA

NG

1

(Hanguel/E

nglis

h)

Keyboard

LA

NG

2 (

Hanja

)

Keyboard

LA

NG

3 (

Kata

kana)

Keyboard

LA

NG

4 (

Hiragana)

Keyboard

LA

NG

5

(Ze

nkaku/H

ankaku)

Keyboard

LA

NG

6

Keyboard

LA

NG

7

Keyboard

LA

NG

8

Keyboard

LA

NG

9

Syste

m P

ow

er

Syste

m S

leep

Syste

m W

ake U

p

Reserv

ed

Reserv

ed

Left

FN

Rig

ht

FN

Help

Scan N

ext T

rack

Scan P

revio

us T

rack

Sto

p

Pla

y/P

ause

Volu

me

AC

Mute

Bass

Tre

ble

Bass B

oost

Loudness

Volu

me

Up

Volu

me

Dow

n

Bass U

p

Pro

gra

m

Co

de

INT

L9

LA

NG

1

LA

NG

2

LA

NG

3

LA

NG

4

LA

NG

5

LA

NG

6

LA

NG

7

LA

NG

8

LA

NG

9

PW

R

SLE

EP

WA

KE

SK

156

SK

157

LF

N

RF

N

HE

LP

NX

TR

K

PV

TR

K

ST

OP

PLA

Y

VO

L

MU

TE

BA

SS

TH

RE

BLE

BA

SS

BO

OS

T

LO

UD

NE

SS

VO

LD

N

VO

LU

P

BA

SS

UP

SK

EY

(D

ec)

143

144

145

146

147

148

149

150

151

152

153

154

155

156

157

158

159

160

161

162

163

164

165

166

167

168

169

170

171

172

173

SK5210 USB and HID over I2C Dual Interface Keyboard Controller Datasheet

October 28, 2021 Document No. DS0034 Ver. 1.01 22

SKey and Scan Code Table – Continued

Set

3

Bre

ak

(Hex)

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

Set

3

Ma

ke

(Hex)

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

Set

2

Bre

ak

(Hex)

U/A

U/A

U/A

E0 F

0 5

0

U/A

U/A

E0 F

0 4

8

U/A

E0 F

0 2

B

U/A

E0 F

0 4

0

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

E0 F

0 1

0

E0 F

0 3

A

E0 F

0 3

8

E0 F

0 3

0

E0 F

0 2

8

E0 F

0 2

0

E0 F

0 1

8

U/A

U/A

Set

2

Ma

ke

(Hex)

U/A

U/A

U/A

E0 5

0

U/A

U/A

E0 4

8

U/A

E0 2

B

U/A

E0 4

0

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

E0 1

0

E0 3

A

E0 3

8

E0 3

0

E0 2

8

E0 2

0

E0 1

8

U/A

U/A

Set

1

Bre

ak

(Hex)

U/A

U/A

U/A

E0E

D

U/A

U/A

E0 E

C

U/A

E0 A

1

U/A

E0 E

B

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

E0 E

5

E0 B

2

E0 E

A

E0 E

9

E0 E

8

E0 E

7

E0 E

6

U/A

U/A

Set

1

Ma

ke

(Hex)

U/A

U/A

U/A

E0 6

D

U/A

U/A

E0 6

C

U/A

E0 2

1

U/A

E0 6

B

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

E0 6

5

E0 3

2

E0 6

A

E0 6

9

E0 6

8

E0 6

7

E0 6

6

U/A

U/A

US

B

Usag

e

(Hex)

0153

0154

0155

0183

0184

0186

018A

018E

0192

0193

0194

0196

0199

019C

01A

3

01A

4

01A

B

01B

4

0201

0202

0203

0207

0208

021A

021B

021C

021D

0221

0223

0224

0225

0226

0227

022A

0279

0289

US

B

Pag

e

(Hex)

0C

0C

0C

0C

0C

0C

0C

0C

0C

0C

0C

0C

0C

0C

0C

0C

0C

0C

0C

0C

0C

0C

0C

0C

0C

0C

0C

0C

0C

0C

0C

0C

0C

0C

0C

0C

AT

-101

(Dec)

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

Descri

pti

on

Bass D

ow

n

Tre

ble

Up

Tre

ble

Dow

n

AL C

onsum

er

Contr

ol C

onfig

AL W

ord

Pro

cessor

AL S

pre

adsheet

AL E

ma

il R

eader

AL C

ale

ndar

AL C

alc

ula

tor

AL A

V C

apatu

re

AL L

ocal M

achin

e B

row

ser

AL I

nte

rnet B

row

ser

AL N

etw

ork

Chat

AL L

ogoff

AL N

ext T

ask

AL P

revous T

ask

AL S

pell

Check

AL F

ile B

row

ser

AC

New

AC

Open

AC

Clo

se

AC

Save

AC

Print

AC

Undo

AC

Copy

AC

Cute

AC

Paste

AC

Searc

h

AC

Hom

e

AC

Back

AC

Fo

rward

AC

Sto

p

AC

Refr

esh

AC

Bookm

ark

s

AC

Redo/R

epeat

AC

Reply

Pro

gra

m

Co

de

BA

SS

DN

TR

EB

UP

TR

EB

DN

CC

FG

WO

RD

SP

RD

EM

AIL

CA

LN

D

CA

LC

AV

LB

RW

S

WB

RW

S

CH

AT

LG

OF

F

NX

AP

P

PV

AP

P

SP

ELL

FB

RW

S

NE

W

OP

EN

CLO

SE

SA

VE

PR

INT

UN

DO

CO

PY

CU

T

PA

ST

E

WS

EA

RC

H

WH

OM

E

WB

AC

K

WF

WD

WS

TO

P

WR

FS

H

WB

KM

K

RE

DO

RE

PLY

SK

EY

(D

ec)

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

201

202

203

204

205

206

207

208

209

SK5210 USB and HID over I2C Dual Interface Keyboard Controller Datasheet

October 28, 2021 Document No. DS0034 Ver. 1.01 23

SKey and Scan Code Table – Continued

Set

3

Bre

ak

(Hex)

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

Set

3

Ma

ke

(Hex)

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

Set

2

Bre

ak

(Hex)

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

Set

2

Ma

ke

(Hex)

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

Set

1

Bre

ak

(Hex)

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

Set

1

Ma

ke

(Hex)

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

US

B

Usag

e

(Hex)

028B

028C

029D

029E

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

US

B

Pag

e

(Hex)

0C

0C

0C

0C

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

AT

-101

(Dec)

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

Descri

pti

on

AC

Fo

rward

Message

AC

Send M

essage

Off

ice

Ta

sk P

anel

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

Pro

gra

m

Co

de

MS

FW

D

SE

ND

OF

FIC

E

TA

SK

CU

ST

_0

CU

ST

_1

CU

ST

_2

CU

ST

_3

CU

ST

_4

CU

ST

_5

CU

ST

_6

CU

ST

_7

CU

ST

_8

CU

ST

_9

CU

ST

_10

CU

ST

_11

CU

ST

_12

CU

ST

_13

CU

ST

_14

CU

ST

_15

CU

ST

_16

CU

ST

_17

CU

ST

_18

CU

ST

_19

CU

ST

_20

CU

ST

_21

CU

ST

_22

CU

ST

_23

CU

ST

_24

CU

ST

_25

CU

ST

_26

CU

ST

_27

CU

ST

_28

CU

ST

_29

CU

ST

_30

CU

ST

_31

SK

EY

(D

ec)

210

211

212

213

214

215

216

217

218

219

220

221

222

223

224

225

226

227

228

229

230

231

232

233

234

235

236

237

238

239

240

241

242

243

244

245

SK5210 USB and HID over I2C Dual Interface Keyboard Controller Datasheet

October 28, 2021 Document No. DS0034 Ver. 1.01 24

SKey and Scan Code Table – Continued

Set

3

Bre

ak

(Hex)

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

Set

3

Ma

ke

(Hex)

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

Set

2

Bre

ak

(Hex)

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

Set

2

Ma

ke

(Hex)

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

Set

1

Bre

ak

(Hex)

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

Set

1

Ma

ke

(Hex)

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

US

B

Usag

e

(Hex)

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

US

B

Pag

e

(Hex)

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

AT

-101

(Dec)

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

Descri

pti

on

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

U/A

Pro

gra

m

Co

de

CU

ST

_32

CU

ST

_33

CU

ST

_34

CU

ST

_35

CU

ST

_36

CU

ST

_37

CU

ST

_38

CU

ST

_39

CU

ST

_40

CU

ST

_41

SK

EY

(D

ec)

246

247

248

249

250

251

252

253

254

255

SK5210 USB and HID over I2C Dual Interface Keyboard Controller Datasheet

October 28, 2021 Document No. DS0034 Ver. 1.01 25

SCHEMATIC OF REFERENCE DESIGN (5V)

J1

CO

N20

1234567891011121314151617181920

J4

CO

N5

12345

C14

C1

10uF

C18

LED7

C19

R13

330

SD

A

LED4

R11

330

C4

0.1

uF

LED5

I2C Slave

R6

10k

UD

N

C3

47pF

XP

CLK

VD

D

LED4

Sprintek ICP

J3

CO

N7

1 2 3 4 5 6 7

J5

HE

AD

ER

6

123456

PR

GD

C15

D4 LE

D

C13

USB Mini-B

C5

0.1

uF

C5

R6

U1

SK

5210

1 3 4 5 6 7 8 910

11

12

14151617181920

25

26

27

28

29

30

31

32

33

34

4847464544434241403938

35

2

13

21222324

36

37

C8/O

CD

D

UD

N/P

RG

DU

DP

V33O

VB

US

VD

DV

SS

C9

C10

nXR

ES

/PR

GC

C11

nLED2nLED3/nFNnLED4nLED5/nSCRLnLED6/nNUMnLED7/nCAPSBLPWM

SD

AS

CL

nIN

TC

12

C13

C14

XP

CLK

C15

R0

R1

C7C6C5C4C3C2C1C0R7R6R5

R2

NC

0

nLED1

XPDATNC1NC2NC3

R3

R4

R7

300

SC

L

To PS/2 Device

VD

D

PRGD

TP

1

C1

R5

R2

33

LED3

C10

VDD = 5V

OCDD

C2

47pF

R9

330

C6

R2

J2

CO

N8

12345678

OCDD

C11

PRGC

C9

47pF

VD

D

C3

D3 LE

D

R7

C12

D1 LE

D

LED6

R10

330

VD

D

C4

C13

D2 LE

D

XP

CLK

R1

VD

D

C7

R4

100k

C14

R1

0

LED2

R0

C2

VD

D

D7 LE

D

R14

330

C15

D5 LE

D

nIN

T

R3

C0

R8

330

nXR

ES

C16

BLPWM

R4

C7

0.1

uF

D6 LE

DC8

R12

330

VB

US

C10

LED1

C6

0.1

uF

PR

GC

UD

P

C9

VD

D

C9

R5

10k

R3

33

C17

C12

XP

DA

T

C8

47pF

JP

1M

DIN

6_S

H

6 4 2

5 3 1

7

8

LED1

LED2

VD

D

C11

LED3

SK5210 USB and HID over I2C Dual Interface Keyboard Controller Datasheet

October 28, 2021 Document No. DS0034 Ver. 1.01 26

SCHEMATIC OF REFERENCE DESIGN (3.3V)

C1

4

LED1

VD

D

C6

C8

47pF

R1

3330

R0

SD

A

C17

R5

10k

C3

VD

D

D6 LE

D

PRGD

R3

R6

10k

UD

N

LED2

C4

C3

47pF

C7

0.1

uF

OCDD

R4

PR

GD

C4

0.1

uF

C1

1

C7

D4 LE

D

VD

D

PRGC

UD

P

C5

0.1

uF

C5

LED7C2

J1

CO

N2

0

1234567891011121314151617181920

J5

HE

AD

ER

6

123456

LED6

XP

DA

T

C1

J2

CO

N8

12345678

LED5

C0

C9

47pF

XP

CL

K

LED3

R1

1330

R7

300

LED4

C8T

P1

LED2

C19

R2

33

C18

C1

3

C9

C1

10uF

R9

330

nIN

T

I2C Slave

VD

D

LED4

R1

0330

SC

L

C10

BLPWM

U1

SK

5210

1 3 4 5 6 7 8 910

11

12

14151617181920

25

26

27

28

29

30

31

32

33

34

4847464544434241403938

35

2

13

21222324

36

37

C8

/OC

DD

UD

N/P

RG

DU

DP

V33O

VB

US

VD

DV

SS

C9

C1

0n

XR

ES

/PR

GC

C1

1

nLED2nLED3/nFNnLED4nLED5/nSCRLnLED6/nNUMnLED7/nCAPSBLPWM

SD

AS

CL

nIN

TC

12

C1

3C

14

XP

CL

KC

15

R0

R1

C7C6C5C4C3C2C1C0R7R6R5

R2

NC

0

nLED1

XPDATNC1NC2NC3

R3

R4

Sprintek ICP

J3

CO

N7

1 2 3 4 5 6 7

XP

CL

K

LED3

C11

D1 LE

D

R1

0

PR

GC

USB Mini-B

VD

D

C1

5

OCDD

C12

D2 LE

D

C2

47pF

C1

2

D5 LE

D

To PS/2 Device

R6

VB

US

nXR

ES

C13

R8

330

D3 LE

D

VDD = 3.3V

R1

4330

R5

C1

0

C14

VD

D

R4

100k

C6

0.1

uF

R2

C9

C15

VD

D

J4

CO

N5

12345

R1

2330

R7

LED1

C16

JP

1M

DIN

6_

SH

6 4 2

5 3 1

7

8VD

D

D7 LE

D

R1

R3

33

SK5210 USB and HID over I2C Dual Interface Keyboard Controller Datasheet

October 28, 2021 Document No. DS0034 Ver. 1.01 27

ELECTRONICS SPECIFICATIOIN

Absolute Maximum Ratings Symbol Description Min Typ Max Units Notes

TSTG Storage Temperature -50 25 +125 ºC

VDD Supply Voltage on Relative to VSS -0.3 - +6.0 V

VIO DC Input Voltage VSS-0.3 - VDD+0.3 V

IMTO Maximum Current into all pins in total -100 - +150 mA

Operating Temperature Symbol Description Min Typ Max Units Notes

TOP Operating Temperature -40 - +85 ºC

DC Electrical Characteristics Symbol Description Min Typ Max Units Notes

VDD Supply Voltage at USB regulator enabled interface

3.0 - 5.5 V When USB is connected, 3.3V or 5V are required

IDD-U33 Supply Current when IC is in USB operation mode

5.5 mA

IDD-U50 Supply Current when IC is in USB operation mode

11 mA

ISD-USB Supply Current when IC is in USB suspend mode

240 uA

ISD-I2C Supply Current when IC is in I2C mode only and no key is pressed

0.3 uA

RPU Pull-up Resistor 10 30 50 kΩ 5V

20 60 100 kΩ 3.3V

GPIO Electrical Characteristics Symbol Description Min Typ Max Units Notes

VIL Input Low Level - - 0.2VDD V

VIH Input High Level 0.8VDD - - V

I2C Slave Electrical Characteristics Symbol Description Min Typ Max Units Notes

BI2C I2C baud rate - - 400k Hz

SK5210 USB and HID over I2C Dual Interface Keyboard Controller Datasheet

October 28, 2021 Document No. DS0034 Ver. 1.01 28

PACKAGING INFORMATION

SK5210 Drawing

Symbol Dimensions in mm

Min. Nom. Max.

A - 9.00BSC -

B - 7.00BSC -

C - 9.00BSC -

D - 7.00BSC -

E - 0.50BSC -

F 0.17 0.22 0.27

G 1.35 1.40 1.45

H - - 1.60

I 0.05 - 0.15

J 0.45 0.60 0.75

K 0.09 - 0.20

α 0 ° - 7 °

SK5210 48-pin (7x7mm 1.6 MAX) LQFP

SK5210 USB and HID over I2C Dual Interface Keyboard Controller Datasheet

October 28, 2021 Document No. DS0034 Ver. 1.01 29

SALE AND SERVICE INFORMATION

To obtain information about Sprintek Corporation or FlexMatrix keyboard controller family sales and technical support, reference the following information. Sprintek Corporation 4969 Corral St. Simi Valley, CA 93063, USA Web Site: http://www.sprintek.com

REVISION HISTORY

Revision Issue Date Description

1.00 January 31, 2019 Initial release

1.01 October 28, 2021 Updated default matrix tables for v1.06 version firmware