ER3300-1 Datasheet

Download as pdf or txt
Download as pdf or txt
You are on page 1of 42

EastRising Font Chip Datasheet ER3300-1

buydisplay.com

ER3300-1
DATASHEET

Font size:15X16 dots

Traditional Chinese character set:

GB12345, BIG5 basic set

Japanese character set:

JIS0208, Compatible with Unicode

Multi languages:

Languages of 150 countries including Latin, Cyril, Arabian

Data arrangement: Horizontal byte, horizontal string

Bus interface: SPI serial bus

Chip package: SO8

VER 3.5
2010-Q3

URL: www.buydisplay.com 1
EastRising Font Chip Datasheet ER3300-1
buydisplay.com
INDEX
Section 1:Hardware

1 GENERAL.............................................................................................................................................3

1.1 CHIP FEATURE ...................................................................................................................................3


1.2 CHIP CONTENT ..................................................................................................................................3

2 PIN DESCRIPTION AND INTERFACE CONNECTION........................................................................5

2.1 PIN CONFIGURATION ...........................................................................................................................5


2.2 PIN DESCRIPTION ...............................................................................................................................5
2.3 SPI CONNECTION BLOCK DIAGRAM ...................................................................................................6

3 OPERATING INSTRUCTION................................................................................................................7

3.1 INSTRUCTION PARAMETER ...................................................................................................................7


3.2 READ DATA BYTES ............................................................................................................................7
3.3 READ DATA BYTES AT HIGHER SPEED ................................................................................................7

4 ELECTRIC CHARACTERISTIC............................................................................................................9

4.1 ABSOLUTE MAXIMUM RATING ................................................................................................................9


4.2 DC CHARACTERISTIC........................................................................................................................9
4.3 AC CHARACTERISTIC .........................................................................................................................9

5 PACKAGE SIZE .................................................................................................................................11

Section 2:Software

6 FONT READ METHOD .......................................................................................................................12

6.1 CHARACTER DOTS ARRANGEMENT ......................................................................................................12


6.2 DOTS FONT ADDRESS TABLE...............................................................................................................17
6.3 CALCULATION OF CHARACTER ADDRESS ..............................................................................................18

7 APPENDIX ..........................................................................................................................................27

7.1 CHARACTER OF GB12345 (846 NON-CHINESE CHARACTERS ) .......................................................27


7.2 CHARACTER OF UNICODE(NON- CHINESE CHARACTERS) ...................................................................30
7.3 CHARACTER CHECKLIST (150 COUNTRIES) .....................................................................................39

URL: www.buydisplay.com 2
EastRising Font Chip Datasheet ER3300-1
buydisplay.com

1 General
ER3300-1 is a 15X16 dots fonts chip, it supports Chinese standard GB12345 traditional Chinese
character set (with official license from NIT), BIG5 traditional Chinese character basic set, Japanese
standard JIS0208 Japanese character set(compatible with Unicode), and a total of 150 countries’
character. The data is arrayed byte horizontally and string horizontally. The user may obtain the address
of certain character dots with the calculation method given by this datasheet, which enables the user to
get access of more character data by continually reading from the address already obtained.

1.1 Chip Feature


● Bus interface: SPI serial bus
● Data arrangement: byte horizontal, string horizontal CS# 1 8 VCC
● Frequency: 30MHz(max.)@ 3.3V SO 2 7 HOLD#
● Supply voltage: 2.7V~3.6V SOP8
● Current:
NC 3 6 SCLK
Operating: 12mA GND 4 5 SI
Standby: 10uA
● Package: SOP8, COG
● Package Size(SOP8 ): 4.90mmX3.90mm(193milX154mil)
● Operating Temperature: -20℃~85℃

1.2 Chip Content


Type Content Character set Characters
Chinese 15X16 dots GB12345 font GB12345 6866+846
Font 15X16 dots BIG5 basic font BIG5 5401+408
Japanese 15X16 dots JIS0208 basic font JIS0208 6398+1644
5X7 dots ASCII font ASCII 96
7X8 dots ASCII font ASCII 96
6X12 dots ASCII font ASCII 96
ASCII
8X16 dots ASCII font ASCII 96
font
8X16 dots bold ASCII font ASCII 96
12 dots Arial font ASCII 96
16 dots Arial font ASCII 96
8X16 dots Latin font Unicode 376
8X16 dots Greek font Unicode 96
8X16 dots Cyril font Unicode 250
Unicode 12 dots Unicode font ( Latin, Greek, Cyril ) Unicode 555
font 16 dots Unicode font ( Latin, Greek, Cyril ) Unicode 555
12 dots Arabia font Unicode 250
12 dots Arabia extendable font Customize 498
16 dots Arabia font Unicode 250
16 dots Arabia extendable font Customize 498
Character BIG5 index table BIG5
set index JIS0208 index table JIS0208
table Unicode index table Unicode

URL: www.buydisplay.com 3
EastRising Font Chip Datasheet ER3300-1
buydisplay.com
Character Checklist
Language language country Latin countries countries
serial
English UK,USA etc. 39
French France, Niger etc. 22
Spanish Mexico, Spain etc. 22
Portuguese Portugal, Brazil etc. 7
Latin German Germany, Austria etc. 5 112
Italian Italy, San Marino etc. 3
Malay Malaysia, Brunei etc. 2
Swahili Tanzania, Kenya etc. 2
other Netherlands, Sweden etc. 10
Arabian Arabian Egypt, Jordan etc. 21
Cyril 12 languages Russia, Kazakhstan etc. 15
Greek Greek Greece, Cyprus etc. 2
Sum 150

Font sample
Traditional Chinese GB12345 Traditional Chinese BIG5

Japanese JIS0208

Latin Unicode Greece Unicode Cyril Unicode

Arabian Unicode 6X12 Dot ASCII 8X16 Dot ASCII

5x7 Dot ASCII 7x8 Dot ASCII

URL: www.buydisplay.com 4
EastRising Font Chip Datasheet ER3300-1
buydisplay.com

2 Pin description and interface connection

2.1 Pin configuration

CS# 1 8 VCC
SO 2 7 HOLD#
SOP8
NC 3 6 SCLK
GND 4 5 SI

SOP8

2.2 Pin description

SOP8 name I/O description


1 CS# I Chip enable input
2 SO O Serial data output
3 NC No Connected
4 GND Ground
5 SI I Serial data input
6 SCLK I Serial clock input
7 HOLD# I Hold, to pause the device without
8 VCC + 3.3V Power Supply

Serial data output(SO): Data is shifted out on the falling edge of the serial clock.
Serial data input(SI) : Inputs are latched on the rising edge of the serial clock.
Serial clock input(SCLK): To provide the timing of the serial interface.
Chip enable input(CS#): The device is enabled by a high to low transition on CS#. CS# must
remain low for the duration of any command sequence.

URL: www.buydisplay.com 5
EastRising Font Chip Datasheet ER3300-1
buydisplay.com
HOLD#: To temporarily stop serial communication with SPI flash memory without resetting the
device.
The HOLD# mode begins when the SCK active low state coincides with the falling edge of the
HOLD# signal. The HOLD mode ends when the HOLD# signal’s rising edge coincides with the SCK
active low state.

HOLD CONDITION ACTIVATION:

CE#

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
SCLK

parameter
HOLD#

HOLD HOLD
CONDITION CONDITION

2.3 SPI connection block diagram

ER3300-1

SPI connection block diagram

URL: www.buydisplay.com 6
EastRising Font Chip Datasheet ER3300-1
buydisplay.com

3 Operating instruction

3.1 Instruction parameter


Instruction Set
Instruction Address Dummy Data
Instruction Description
Code(One-Byte) Bytes Bytes Bytes
READ Read Data Bytes 0000 0011 03 h 3 — 1 to ∞
Read Data Bytes
FAST_READ 0000 1011 0B h 3 1 1 to ∞
at Higher Speed

3.2 Read Data Bytes


The Read instruction supports up to 20 MHz, It outputs the data starting from the specified address
location. The data output stream is continuous through all addresses until terminated by a low to high
transition on CE#. The internal address pointer will automatically increment.
The Read instruction is initiated by executing an 8-bit command,03H, followed by address bits
[A23-A0]. CE# must remain active low for the duration of the Read cycle.

Figure:Read Data Bytes (READ) Instruction Sequence and Data-out sequence:

3.3 Read Data Bytes at Higher Speed


The High-Speed-Read instruction supporting up to 30 MHz is initiated by executing an 8-bit
command, 0BH, followed by address bits [A23-A0] and a dummy byte. CE# must remain active low
for the duration of the High-Speed-Read cycle.
Following a dummy byte (8 clocks input dummy cycle), the High-Speed-Read instruction
outputs the data starting from the specified address location. The data output stream is continuous

URL: www.buydisplay.com 7
EastRising Font Chip Datasheet ER3300-1
buydisplay.com
through all addresses until terminated by a low to high transition on CE#. The internal address
pointer will automatically increment.
Read Data Bytes at Higher Speed (READ_FAST) Instruction Sequence and Data-out
sequence:

URL: www.buydisplay.com 8
EastRising Font Chip Datasheet ER3300-1
buydisplay.com

4 Electric characteristic

4.1 Absolute maximum rating


Symbol Parameter Min. Max. Unit Condition
TOP Operating Temperature -20 85 ℃
TSTG Storage Temperature -65 150 ℃
VCC Supply Voltage -0.3 3.6 V
VIN Input Voltage -0.3 VCC+0.3 V
GND Power Ground -0.3 0.3 V

4.2 DC characteristic
Condition:TOP = -20℃ to 85℃,GND=0V
Symbol Parameter Min. Max. Unit Condition
IDD VCC Supply Current(active) 12 mA
ISB VCC Standby Current 10 uA
VIL Input LOW Voltage -0.3 0.3VCC V
VIH Input HIGH Voltage 0.7VCC VCC+0.4 V
0.4
VOL Output LOW Voltage V
(IOL=1.6mA)
VCC=2.7~3.6V
0.8VCC
VOH Output HIGH Voltage V
(IOH=-100uA)
ILI Input Leakage Current 0 2 uA
ILO Output Leakage Current 0 2 uA
Note:IIL:Input LOW Current,IIH:Input HIGH Current,
IOL:Output LOW Current,IOH:Output HIGH Current,

4.3 AC characteristic
Symbol Alt. Parameter Min. Max. Unit
Fc Fc Clock Frequency D.C. 30 MHz
tCH tCLH Clock High Time 15 ns
tCL tCLL Clock Low Time 15 ns
tCLCH Clock Rise Time(peak to peak) 0.1 V/ns
tCHCL Clock Fall Time (peak to peak) 0.1 V/ns
tSLCH tCSS CS# Active Setup Time (relative to SCLK) 5 ns
tCHSL CS# Not Active Hold Time (relative to SCLK) 5 ns
tDVCH tDSU Data In Setup Time 2 ns
tCHDX tDH Data In Hold Time 5 ns
t CHSH CS# Active Hold Time (relative to SCLK) 5 ns
t SHCH CS# Not Active Setup Time (relative to SCLK) 5 ns
t SHSL tCSH CS# Deselect Time 100 ns
t SHQZ tDIS Output Disable Time 9 ns
t CLQV tV Clock Low to Output Valid 9 ns
t CLQX tHO Output Hold Time 0 ns
t HLCH HOLD# Setup Time (relative to SCLK) 5 ns
t CHHH HOLD# Hold Time (relative to SCLK) 5 ns
t HHCH HOLD Setup Time (relative to SCLK) 5 ns
t CHHL HOLD Hold Time (relative to SCLK) 5 ns
t HHQX tLZ HOLD to Output Low-Z 9 ns
t HLQZ tHZ HOLD# to Output High-Z 9 ns

URL: www.buydisplay.com 9
EastRising Font Chip Datasheet ER3300-1
buydisplay.com

URL: www.buydisplay.com 10
EastRising Font Chip Datasheet ER3300-1
buydisplay.com

5 Package size
SOP8 Package Unit :mm

Dimensions(inch dimensions are derived from the original mm dimensions)


A A1 A2 b C D E E1 L L1 S
Mm Min. - 0.10 1.35 0.36 0.15 4.77 5.80 3.60 0.46 0.65 0.41 0
Norm. - 0.15 1.45 0.41 0.20 4.90 5.99 3.90 1.27 0.66 1.05 0.54 5
Max. 1.75 0.20 1.55 0.51 0.25 5.03 6.20 4.00 0.86 1.25 0.67 8
inch Min. - 0.004 0.053 0.014 0.006 0.188 0.228 0.150 0.018 0.033 0.016 0
Norm. - 0.006 0.057 0.016 0.008 0.193 0.236 0.154 0.050 0.026 0.041 0.021 5
Max. 0.069 0.008 0.061 0.020 0.010 0.198 0.244 0.156 0.034 0.049 0.026 8

URL: www.buydisplay.com 11
EastRising Font Chip Datasheet ER3300-1
buydisplay.com

6 Font Read Method

6.1 Character dots arrangement


The data arrangement is byte horizontal, string horizontal. The highest Bit of BYTE represent left
point, the lowest Bit of BYTE represent right point.

6.1.1 15X16 dots font

15X16 dots font has 32 bytes (BYTE 0 – BYTE 31)data。

16 Cols

15 Cols blank

BYTE 0 BYTE 1
B7 B6 B5 B4 B3 B2 B1 B0 B7 B6 B5 B4 B3 B2 B1 B0

BYTE 2 BYTE 3
B7 B6 B5 B4 B3 B2 B1 B0 B7 B6 B5 B4 B3 B2 B1 B0
..........

..........

..........

16 Rows

BYTE 28 BYTE29
B7 B6 B5 B4 B3 B2 B1 B0 B7 B6 B5 B4 B3 B2 B1 B0

BYTE 30 BYTE 31
B7 B6 B5 B4 B3 B2 B1 B0 B7 B6 B5 B4 B3 B2 B1 B0

6.1.2 5X7dots ASCII font

5X7 dots ASCII font has 8 bytes(BYTE 0 – BYTE7)data。

URL: www.buydisplay.com 12
EastRising Font Chip Datasheet ER3300-1
buydisplay.com
5Cols Blank

BYTE0
B7 B6 B5 B4 B3 B2 B1 B0
BYTE 1
B7 B6 B5 B4 B3 B2 B1 B0

..........

..........

..........
7Rows
8Rows

BYTE 6
B7 B6 B5 B4 B3 B2 B1 B0

BYTE 7
blank B7 B6 B5 B4 B3 B2 B1 B0

6.1.3 7X8 dots ASCII font

7X8 dots ASCII font has 8 bytes(BYTE 0 – BYTE7)data.

7Cols blank

BYTE 0
B7 B6 B5 B4 B3 B2 B1 B0
BYTE 1
B7 B6 B5 B4 B3 B2 B1 B0
..........

..........

..........

8Rows
BYTE 6
B7 B6 B5 B4 B3 B2 B1 B0

BYTE 7
B7 B6 B5 B4 B3 B2 B1 B0

6.1.4 6X12 dots ASCII font

6X12 dots ASCII font has12 bytes(BYTE 0 – BYTE11)data.

URL: www.buydisplay.com 13
EastRising Font Chip Datasheet ER3300-1
buydisplay.com
8Cols

6Cols Blank

BYTE 0
B7 B6 B5 B4 B3 B2 B1 B0

BYTE 1
B7 B6 B5 B4 B3 B2 B1 B0

..........

..........

..........
12Rows

BYTE 10
B7 B6 B5 B4 B3 B2 B1 B0

BYTE 11
B7 B6 B5 B4 B3 B2 B1 B0

6.1.5 8X16 dots font

8X16 dots font has 16 bytes(BYTE 0 – BYTE15)data:

8 Cols

BYTE 0
B7 B6 B5 B4 B3 B2 B1 B0

BYTE 1
B7 B6 B5 B4 B3 B2 B1 B0
..........

..........

..........

16 Rows

BYTE 14
B7 B6 B5 B4 B3 B2 B1 B0

BYTE 15
B7 B6 B5 B4 B3 B2 B1 B0

URL: www.buydisplay.com 14
EastRising Font Chip Datasheet ER3300-1
buydisplay.com

6.1.6 12 dots proportional font

Including:
12 dots Arial font
12 dots Unicode font

12 dots proportional font has 26 bytes(BYTE 0 – BYTE25)data。


For the font is variant width, BYTE0~ BYTE1 are stored font width data,.BYTE2-25 are stored dots
matrix data.

Font dot matrix width Font dot matrix data

BYTE 0 BYTE 1 BYTE 2


.......... BYTE 33
B7 B6 B5 B4 B3 B2 B1 B0 B7 B6 B5 B4 B3 B2 B1 B0 B7 B6 B5 B4 B3 B2 B1 B0 B7 B6 B5 B4 B3 B2 B1 B0

The dots matrix width of proportional font use BYTE as its unit. Different font width will reveal
corresponding blanks. With the font’s actual width data stored in BYTE0~BYTE 1, it can be used as
reference for the position of the next word.

URL: www.buydisplay.com 15
EastRising Font Chip Datasheet ER3300-1
buydisplay.com
16 Cols

Dot martrix width Blank

BYTE 2 BYTE 3
B7 B6 B5 B4 B3 B2 B1 B0 B7 B6 B5 B4 B3 B2 B1 B0

BYTE 4 BYTE 5
B7 B6 B5 B4 B3 B2 B1 B0 B7 B6 B5 B4 B3 B2 B1 B0

..........

..........

..........
12 Rows

BYTE 22 BYTE 23
B7 B6 B5 B4 B3 B2 B1 B0 B7 B6 B5 B4 B3 B2 B1 B0

BYTE 24 BYTE 25
B7 B6 B5 B4 B3 B2 B1 B0 B7 B6 B5 B4 B3 B2 B1 B0

6.1.7 16 dots proportional font

Including:
16 dots Arial font
16 dots Unicode font

16 dots proportional font has 34 bytes(BYTE 0 – BYTE33)data。


For the font is variant width, BYTE0~ BYTE1 are stored font width data,.BYTE2-33 are stored dots
matrix data.
Font dot matrix width Font dot matrix data

BYTE 0 BYTE 1 BYTE 2


.......... BYTE 33
B7 B6 B5 B4 B3 B2 B1 B0 B7 B6 B5 B4 B3 B2 B1 B0 B7 B6 B5 B4 B3 B2 B1 B0 B7 B6 B5 B4 B3 B2 B1 B0

The dot matrix width of proportional font use BYTE as its unit. Different font width will reveal
corresponding blanks. With the font’s actual width data stored in BYTE0~BYTE 1, it can be used as

URL: www.buydisplay.com 16
EastRising Font Chip Datasheet ER3300-1
buydisplay.com
reference for the position of the next word.
16 Cols

Dot martrix width Blank

BYTE 2 BYTE 3
B7 B6 B5 B4 B3 B2 B1 B0 B7 B6 B5 B4 B3 B2 B1 B0

BYTE 4 BYTE 5
B7 B6 B5 B4 B3 B2 B1 B0 B7 B6 B5 B4 B3 B2 B1 B0

..........

..........

..........
16 Rows

BYTE 30 BYTE 31
B7 B6 B5 B4 B3 B2 B1 B0 B7 B6 B5 B4 B3 B2 B1 B0

BYTE 32 BYTE 33
B7 B6 B5 B4 B3 B2 B1 B0 B7 B6 B5 B4 B3 B2 B1 B0

6.2 Dots font address table

Reference
content charset Code scope Characters Address
method
1 15X16dots GB12345 font GB12345 A1A1-F9A9 6866+846 00000 6.3.1.1
2 5X7 dots ASCII font ASCII 20~7F 96 51980 6.3.2.1
3 7X8 dots ASCII font ASCII 20~7F 96 51C80 6.3.2.2
4 6X12 dots ASCII font ASCII 20~7F 96 51F80 6.3.2.3
5 8X16 dots ASCII font ASCII 20~7F 96 52580 6.3.2.4
6 8X16 dots bold ASCII font ASCII 20~7F 96 52D80 6.3.2.5
7 12 dots Arial font ASCII 20~7F 96 53380 6.3.2.6
12 dots Unicode font ( Latin, 6.3.3.4-
8 Unicode 0020-04E9 555 53380
Greek, Cyril ) 6.3.3.6
9 16 dots Arial font ASCII 20~7F 96 56BDE 6.3.2.7
16 dots Unicode font ( Latin, 6.3.3.7-
10 Unicode 0020-04E9 555 56BDE
Greek, Cyril ) 6.3.3.9
11 8X16 dots Latin font Unicode 00A0-0217 376 5B594 6.3.3.1
12 8X16 dots Greek font Unicode 0370-03CF 96 5CD14 6.3.3.2

URL: www.buydisplay.com 17
EastRising Font Chip Datasheet ER3300-1
buydisplay.com

13 8X16 dots Cyril font Unicode 0400-04F9 250 5D314 6.3.3.3


14 JIS0208 index table JIS0208 0101-8794 6398+1644 5E2B4 6.3.1.3
15 BIG5 index table BIG5 A140-C67E 5401+408 62410 6.3.1.2
16 Unicode index table Unicode A0-FF50 651F0 6.3.1.4
17 16 dots Arabia font Unicode 0600~06F9 250 715E0 6.3.3.12
18 16 dots Arabia extendable font Customize B000-B1F1 498 73714 6.3.3.13
19 12 dots Arabia font Unicode 0600~06F9 250 78790 6.3.3.10
20 12 dots Arabia extendable font Customize B000-B1F1 498 7A0F4 6.3.3.11
21 reserved 7DE80

6.3 Calculation of character address


With certain calculation method, the user may obtain certain character dots address using character
code.

6.3.1 Chinese font and Japanese font

6.3.1.1 15X16 dots GB12345 font


Parameters:
GBCode: character code.
MSB: high byte of GBCode.
LSB: low byte of GBCode.
Address: address of character data in chip.
BaseAdd: the base address of the font in chip
Calculation of character address:
BaseAdd=0x00;
if(MSB >=0xA1 && MSB <= 0Xa9 && LSB >=0xA1)
Address =( (MSB - 0xA1) * 94 + (LSB - 0xA1))*32+ BaseAdd;
else if(MSB >=0xB0 && MSB <= 0Xf9 && LSB >=0xA1)
Address = ((MSB - 0xB0) * 94 + (LSB - 0xA1)+ 1038)*32+ BaseAdd;

6.3.1.2 15X16 dots BIG5 basic font


Parameters:
FontCode: character code.
MSB: high byte of FontCode.
LSB: low byte fo FontCode.
Address: address of character data in chip.
BaseAdd: the base address of the font in chip
Big5Table: BIG5 index table. The table address is 0x62410
Big5Index: index of the character in BIG5 index table.
Index:index of the character in font sets。
Calculation of character address:

URL: www.buydisplay.com 18
EastRising Font Chip Datasheet ER3300-1
buydisplay.com
Calculate the index of BIG5
character in BIG5 index table:
Big5Index

According to Big5Index,
Search BIG5 index table,get the
index of character in chip:Index

According to Index,calculate the


address of character matrix data in
chip:Address

BaseAdd=0x00;
if(MSB >=0xA1 && MSB <= 0XC6)
{
if(LSB >=0x40 && LSB <= 0X7E)
Big5Index =(MSB - 0xA1) * 157 + (LSB - 0x40);
else if(LSB >=0XA1 && LSB <= 0XFE)
Big5Index =(MSB - 0xA1) * 157 + 63 + (LSB - 0xA1));
}
Index = Big5Table[Big5Index*2] * 256 + Big5Table[Big5Index*2+1];
Address =Index * 32 + BaseAdd;

6.3.1.3 15X16 dots JIS font


Parameters:
FontCode: character code.
MSB: high byte of FontCode.
LSB: low byte fo FontCode.
Address: address of character data in chip.
BaseAdd: the base address of the font in chip
JISTable: JIS index table. The table address is 0x5E2B4
JISIndex: index of the character in JIS index table.
Index:index of the character in font sets
Calculation of character address:

URL: www.buydisplay.com 19
EastRising Font Chip Datasheet ER3300-1
buydisplay.com
Calculate the index of JIS character
in JIS index table:JISIndex

According to JISIndex,
Search JIS index table,get the index
of character in chip:Index

According to Index,calculate the


address of character matrix data in
chip:Address

BaseAdd=0x00;
if ((MSB >=1 && MSB <= 94) && (LSB >=1 && LSB <= 94) )
{
JISIndex = (MSB –1)*94 +LSB-1;
}
Index = JISTable[JISIndex *2] * 256 + JISTable[JISIndex *2+1] ;
Address =Index * 32 + BaseAdd;

6.3.1.4 15X16 dots Unicode Japanese font


Parameters:
FontCode: character code.
Address: address of character data in chip.
BaseAdd: the base address of the font in chip
UnicodeTable: Unicode index table. The table address is 0x651F0
UnicodeToIndex(): calculate index of the character in Unocode index table.
UnicodeIndex: index of the character in JIS index table.
Index:index of the character in font sets
Calculation of character address:

Calculate the index of Unicode


character in Unicode index table:
UnicodeIndex

According to UnicodeIndex,
Search Unicode index table,get the
index of character in chip:Index

According to Index,calculate the


address of character matrix data in
chip:Address
BaseAdd=0x00;
UnicodeIndex = UnicodeToIndex(FontCode);

URL: www.buydisplay.com 20
EastRising Font Chip Datasheet ER3300-1
buydisplay.com

Index = UnicodeTable [UnicodeIndex *2] * 256 + UnicodeTable [UnicodeIndex *2+1] ;


Address =Index * 32 + BaseAdd;
WORD UnicodeToIndex(WORD code)
{
BYTE result=0;
WORD h;

if(code<=0x20) code = 0x3000;


else if(code<0x7f)
{
code=0xfe57-code-0x21;
}

if(code<=0xa0) result=1;
else if(code<=0x0451) h=code-160;
else if(code< 0x2010) result=1;
else if(code<=0x2642) h=code-160-7102;
else if(code< 0x3000) result=1;
else if(code<=0x33d5) h=code-160-7102-2493;
else if(code< 0x4e00) result=1;
else if(code<=0x9fa5) h=code-160-7102-2493-6698;
else if(code< 0xe76c) result=1;
else if(code<=0xe864) h=code-160-7102-2493-6698-18374;
else if(code< 0xf92c) result=1;
else if(code<=0xfa29) h=code-160-7102-2493-6698-18374-4295;
else if(code< 0xfe30) result=1;
else if(code<=0xfe6b) h=code-160-7102-2493-6698-18374-4295-1030;
else if(code< 0xff01) result=1;
else if(code<=0xff5e) h=code-160-7102-2493-6698-18374-4295-1030-149;
else if(code< 0xffe0) result=1;
else if(code<=0xffe5) h=code-160-7102-2493-6698-18374-4295-1030-149-129;
else result=1;

if(result==1)
{
h = 0x3000-160-7102-2493;
}

return h;
}

6.3.2 ASCII font

6.3.2.1 5X7 dots ASCII font


Parameters:

URL: www.buydisplay.com 21
EastRising Font Chip Datasheet ER3300-1
buydisplay.com
ASCIICode: ASCII code(8 bits)
BaseAdd: the base address of the font in chip
Address: address of character data in chip.
Calculation of character address:
BaseAdd=0x51980
if (ASCIICode >= 0x20) and (ASCIICode <= 0x7E) then
Address = (ASCIICode –0x20 ) * 8+BaseAdd
6.3.2.2 7X8 dots ASCII font
Parameters:
ASCIICode: ASCII code(8 bits)
BaseAdd: the base address of the font in chip
Address: address of character data in chip.
Calculation of character address:
BaseAdd=0x51C80
if (ASCIICode >= 0x20) and (ASCIICode <= 0x7E) then
Address = (ASCIICode –0x20 ) * 8+BaseAdd

6.3.2.3 6X12 dots ASCII font


Parameters:
ASCIICode: ASCII code(8 bits)
BaseAdd: the base address of the font in chip
Address: address of character data in chip.
Calculation of character address:
BaseAdd=0x51F80
if (ASCIICode >= 0x20) and (ASCIICode <= 0x7E) then
Address = (ASCIICode –0x20 ) * 12+BaseAdd

6.3.2.4 8X16 dots ASCII font


Parameters:
ASCIICode: ASCII code(8 bits)
BaseAdd: the base address of the font in chip
Address: address of character data in chip.
Calculation of character address:
BaseAdd=0x52580
if (ASCIICode >= 0x20) and (ASCIICode <= 0x7E) then
Address = (ASCIICode –0x20 ) * 16+BaseAdd

6.3.2.5 8X16 dots ASCII bold font


Parameters:
ASCIICode: ASCII code(8 bits)
BaseAdd: the base address of the font in chip
Address: address of character data in chip.
Calculation of character address:
BaseAdd=0x52D80
if (ASCIICode >= 0x20) and (ASCIICode <= 0x7E) then

URL: www.buydisplay.com 22
EastRising Font Chip Datasheet ER3300-1
buydisplay.com
Address = (ASCIICode –0x20 ) * 16+BaseAdd
6.3.2.6 12 dots arial font
Parameters:
ASCIICode: ASCII code(8 bits)
BaseAdd: the base address of the font in chip
Address: address of character data in chip.
Calculation of character address:
BaseAdd=0x53380
if (ASCIICode >= 0x20) and (ASCIICode <= 0x7E) then
Address = (ASCIICode –0x20 ) * 26 + BaseAdd

6.3.2.7 16 dots arial font


Parameters:
ASCIICode: ASCII code(8 bits)
BaseAdd: the base address of the font in chip
Address: address of character data in chip.
Calculation of character address:
BaseAdd=0x56BDE
if (ASCIICode >= 0x20) and (ASCIICode <= 0x7E) then
Address = (ASCIICode –0x20 ) * 34 + BaseAdd

6.3.3 Unicode font

6.3.3.1 8X16 dots Latin font


Parameters:
BaseAdd: the base address of the font in chip
FontCode: Unicode code (16bits)
Address: address of character data in chip
Calculation of character address:
BaseAdd = 0x5B594
if (FontCode >= 0x00A0) and (FontCode <=0x0217) then
Address = (FontCode–0x00A0) * 16+BaseAdd

6.3.3.2 8X16 dots Greek font


Parameters:
BaseAdd: the base address of the font in chip
FontCode: Unicode code (16bits)
Address: address of character data in chip
Calculation of character address:
BaseAdd = 0x5CD14
if (FontCode >= 0x0370) and (FontCode <=0x03CF) then
Address = (FontCode–0x0370) * 16+BaseAdd

6.3.3.3 8X16 dots Cyril font


Parameters:

URL: www.buydisplay.com 23
EastRising Font Chip Datasheet ER3300-1
buydisplay.com
BaseAdd: the base address of the font in chip
FontCode: Unicode code (16bits)
Address: address of character data in chip
Calculation of character address:
BaseAdd=0x5D314
if (FontCode >= 0x0400) and (FontCode <=0x04F9) then
Address = (FontCode–0x0400) * 16+BaseAdd
6.3.3.4 12 dots Latin font
Parameters:
BaseAdd: the base address of the font in chip
FontCode: Unicode code (16bits)
Address: address of character data in chip
Calculation of character address:
BaseAdd=0x53380
if (FontCode >= 0x0020) and (FontCode <=0x007F) then
Address = (FontCode–0x 0020) * 26+BaseAdd
Else if (FontCode >= 0x00A0) and (FontCode <=0x017F) then
Address = (FontCode–0x0040) * 26+BaseAdd

6.3.3.5 12 dots Breece font


Parameters:
BaseAdd: the base address of the font in chip
FontCode: Unicode code (16bits)
Address: address of character data in chip
Calculation of character address:
BaseAdd=0x53380+350*26
if (FontCode >= 0x0384) and (FontCode <=0x03CE) then
Address = (FontCode–0x0384) * 26+BaseAdd

6.3.3.6 12 dots Cyril font


Parameters:
BaseAdd: the base address of the font in chip
FontCode: Unicode code (16bits)
Address: address of character data in chip
Calculation of character address:
BaseAdd=0x53380+425*26
if (FontCode >= 0x0400) and (FontCode <=0x045F) then
Address = (FontCode–0x0400) * 26+BaseAdd
Else if (FontCode >= 0x0490) and (FontCode <=0x04a3) then
Address = (FontCode–0x 0490+96) * 26+BaseAdd
Else if (FontCode >= 0x04AE) and (FontCode <=0x04B3) then
Address = (FontCode–0x04AE+117) * 26+BaseAdd
Else if (FontCode >= 0x04B8) and (FontCode <=0x04BB) then
Address = (FontCode–0x04B8+122) * 26+BaseAdd
Else if (FontCode >= 0x04D8) and (FontCode <=0x04D9) then

URL: www.buydisplay.com 24
EastRising Font Chip Datasheet ER3300-1
buydisplay.com

Address = (FontCode–0x04D8+126) * 26+BaseAdd


Else if (FontCode >= 0x04E8) and (FontCode <=0x04E9) then
Address = (FontCode–0x04E8+128) * 26+BaseAdd
6.3.3.7 16 dots Latin font
Parameters:
BaseAdd: the base address of the font in chip
FontCode: Unicode code (16bits)
Address: address of character data in chip
Calculation of character address:
BaseAdd=0x56BDE
if (FontCode >= 0x0020) and (FontCode <=0x007F) then
Address = (FontCode–0x0020) * 34+BaseAdd
Else if (FontCode >= 0x00A0) and (FontCode <=0x017F) then
Address = (FontCode–0x0040) * 34+BaseAdd

6.3.3.8 16 dots Greek font


Parameters:
BaseAdd: the base address of the font in chip
FontCode: Unicode code (16bits)
Address: address of character data in chip
Calculation of character address:
BaseAdd=0x56BDE +350*34
if (FontCode >= 0x0384) and (FontCode <=0x03CE) then
Address = (FontCode–0x0384) * 34+BaseAdd

6.3.3.9 16 dots Cyril font


Parameters:
BaseAdd: the base address of the font in chip
FontCode: Unicode code (16bits)
Address: address of character data in chip
Calculation of character address:
BaseAdd=0x56BDE +425*34
if (FontCode >= 0x0400) and (FontCode <=0x045F) then
Address = (FontCode–0x0400) * 34+BaseAdd
Else if (FontCode >= 0x0490) and (FontCode <=0x04a3) then
Address = (FontCode–0x0490+96) * 34+BaseAdd
Else if (FontCode >= 0x04AE) and (FontCode <=0x04B3) then
Address = (FontCode–0x04AE+117) * 34+BaseAdd
Else if (FontCode >= 0x04B8) and (FontCode <=0x04BB) then
Address = (FontCode–0x04B8+122) * 34+BaseAdd
Else if (FontCode >= 0x04D8) and (FontCode <=0x04D9) then
Address = (FontCode–0x04D8+126) * 34+BaseAdd
Else if (FontCode >= 0x04E8) and (FontCode <=0x04E9) then
Address = (FontCode–0x04E8+128) * 34+BaseAdd

URL: www.buydisplay.com 25
EastRising Font Chip Datasheet ER3300-1
buydisplay.com
6.3.3.10 12 dots Arabian font
Parameters:
BaseAdd: the base address of the font in chip
FontCode: Unicode code (16bits)
Address: address of character data in chip
Calculation of character address:
BaseAdd=0x78790
if (FontCode >= 0x0600) and (FontCode <=0x06F9) then
Address = (FontCode–0x0600) * 26+BaseAdd

6.3.3.11 12 dots Arabian extendable font


Parameters:
BaseAdd: the base address of the font in chip
FontCode: Unicode code (16bits)
Address: address of character data in chip
Calculation of character address:
BaseAdd=0x7A0F4
if (FontCode >= 0xB000) and (FontCode <=0XB1F1) then
Address = (FontCode–0xB000) * 26+BaseAdd

6.3.3.12 16 dots Arabian font


Parameters:
BaseAdd: the base address of the font in chip
FontCode: Unicode code (16bits)
Address: address of character data in chip
Calculation of character address:
BaseAdd=0x715E0
if (FontCode >= 0x0600) and (FontCode <=0x06F9) then
Address = (FontCode–0x0600) * 34+BaseAdd

6.3.3.13 16 dots Arabian extendable font


Parameters:
BaseAdd: the base address of the font in chip
FontCode: Unicode code (16bits)
Address: address of character data in chip
Calculation of character address:
BaseAdd=0x73714
if (FontCode >= 0xB000) and (FontCode <=0XB1F1) then
Address = (FontCode–0xB000) * 34+BaseAdd

URL: www.buydisplay.com 26
EastRising Font Chip Datasheet ER3300-1
buydisplay.com

7 Appendix
7.1 Character of GB12345 (846 Non-Chinese characters )
Corresponding codes: A1A1~A9E

GB12345 1 section

URL: www.buydisplay.com 27
EastRising Font Chip Datasheet ER3300-1
buydisplay.com

GB12345 1 section

URL: www.buydisplay.com 28
EastRising Font Chip Datasheet ER3300-1
buydisplay.com

GB12345 1 section

URL: www.buydisplay.com 29
EastRising Font Chip Datasheet ER3300-1
buydisplay.com

7.2 Character of Unicode(Non- Chinese characters)


Contains Latin, Greek, Cyril (456 characters), and Arabian (250 characters)
7.2.1 8×16 dots Latin fonts ( 376 characters)
Corresponding codes: 00A0~0217(contains ASCII)
Character of Unicode (Latin)
00 0 1 2 3 4 5 6 7 8 9 A B C D E F

URL: www.buydisplay.com 30
EastRising Font Chip Datasheet ER3300-1
buydisplay.com
01 0 1 2 3 4 5 6 7 8 9 A B C D E F

01 0 1 2 3 4 5 6 7 8 9 A B C D E F

URL: www.buydisplay.com 31
EastRising Font Chip Datasheet ER3300-1
buydisplay.com

02 0 1 2 3 4 5 6 7 8 9 A B C D E F

URL: www.buydisplay.com 32
EastRising Font Chip Datasheet ER3300-1
buydisplay.com

7.2.2 8×16 dots Cyril fonts(250 characters)

Corresponding codes: 0400~04F9

Character of Unicode (Cyril)


04 0 1 2 3 4 5 6 7 8 9 A B C D E F

URL: www.buydisplay.com 33
EastRising Font Chip Datasheet ER3300-1
buydisplay.com

04 0 1 2 3 4 5 6 7 8 9 A B C D E F

URL: www.buydisplay.com 34
EastRising Font Chip Datasheet ER3300-1
buydisplay.com

7.2.3 8×16 dots Greek fonts (96 characters)

Corresponding codes: 0370~03CF

Character of Unicode (Greek)


03 0 1 2 3 4 5 6 7 8 9 A B C D E F

URL: www.buydisplay.com 35
EastRising Font Chip Datasheet ER3300-1
buydisplay.com

7.2.4 16 dots Arabian fonts(250 characters)

Corresponding codes: 0600~06F9

06 0 1 2 3 4 5 6 7 8 9 A B C D E F
0

06 0 1 2 3 4 5 6 7 8 9 A B C D E F
8

URL: www.buydisplay.com 36
EastRising Font Chip Datasheet ER3300-1
buydisplay.com

7.2.5 16 dots Arabian extendable fonts(498 characters)

B0 0 1 2 3 4 5 6 7 8 9 A B C D E F

URL: www.buydisplay.com 37
EastRising Font Chip Datasheet ER3300-1
buydisplay.com
B1 0 1 2 3 4 5 6 7 8 9 A B C D E F

URL: www.buydisplay.com 38
EastRising Font Chip Datasheet ER3300-1
buydisplay.com

7.3 Character Checklist (150 countries)


Language
No. country Area language
serial
1 Malaysia Asia Malay Latin
2 Brunei Asia Malay, English Latin
3 Indonesia Asia Indonesian Latin
4 Philippines Asia English Latin
5 Sikkim Asia English Latin
6 UK Europe English Latin
7 Ireland Europe English Latin
8 USA North America English Latin
9 Canada North America English, French Latin
10 Australia Oceania English Latin
11 New Zealand Oceania English Latin
12 Germany Europe German Latin
13 Switzerland Europe German, French Latin
14 Austria Europe German Latin
15 Luxemburg Europe German, French Latin
16 Liechtenstein Europe German Latin
17 Italy Europe Italian Latin
18 Vatican Europe Italian Latin
19 San Marino Europe Italian Latin
20 Denmark Europe Denish Latin
21 Iceland Europe Icelandic Latin
22 Norway Europe Norwegian Latin
23 Sweden Europe Swedish Latin
24 Finland Europe Finnish, Swedish Latin
25 Netherlands Europe Dutch Latin
26 Suriname South America Dutch Latin
27 The Faroe Islands Europe Faeroese Latin
28 Portugal Europe Portuguese Latin
29 Brazil South America Portuguese Latin
30 Cape Vrde Africa Portuguese Latin
31 Guinea Bissau Africa Portuguese Latin
32 Sao Tome&Principe Africa Portuguese Latin
33 Angora Africa Portuguese Latin
34 Mozambique Africa Portuguese Latin
35 France Europe French Latin
36 Belgium Europe French, Dutch Latin
37 Monaco Europe French, Italian Latin
38 Haiti North America French Latin
39 Senegal Africa French Latin
40 Mali Africa French Latin
41 Burkina Faso Africa French Latin
42 Guinea Africa French Latin
43 Cote d´lvoir Africa French Latin

URL: www.buydisplay.com 39
EastRising Font Chip Datasheet ER3300-1
buydisplay.com

Language
No. country Area language
serial
44 Togo Africa French Latin
45 Benin Africa French Latin
46 Niger Africa French Latin
47 Cameroon Africa French Latin
48 Chad Africa French Latin
49 Central Africa Rep. Africa French Latin
50 Djibouti Africa French Latin
51 Burundi Africa French Latin
52 Congo,DR Africa French Latin
53 Congo Africa French Latin
54 Gabon Africa French Latin
55 Comoros Africa French Latin
56 Madagascar Africa French Latin
57 Spain Europe Spanish, Catalan Latin
58 Mexico North America Spanish Latin
59 Guatemala North America Spanish Latin
60 Costa Rica North America Spanish Latin
61 Panama North America Spanish Latin
62 Dominican Rep. North America Spanish Latin
63 El Salvador North America Spanish Latin
64 Honduras North America Spanish Latin
65 Nicaragua North America Spanish Latin
66 Puerto Rica North America Spanish Latin
67 Cuba North America Spanish Latin
68 Venezuela South America Spanish Latin
69 Colombia South America Spanish Latin
70 Peru South America Spanish Latin
71 Argentina South America Spanish Latin
72 Ecuador South America Spanish Latin
73 Chile South America Spanish Latin
74 Uruguay South America Spanish Latin
75 Paraguay South America Spanish Latin
76 Bolivia South America Spanish Latin
77 Eq.Guinea Africa Spanish Latin
78 Ceuta&Melilla Africa Spanish Latin
79 Jamaica North America English Latin
80 Belize North America English Latin
81 Trinidad&Tobago North America English Latin
82 Bahamas North America English Latin
83 Antigua&Barbuda North America English Latin
84 Dominica North America English Latin
Saint
85 North America English Latin
Vincent&Grenadines
86 Grenada North America English Latin
87 Cayman Is. North America English Latin

URL: www.buydisplay.com 40
EastRising Font Chip Datasheet ER3300-1
buydisplay.com
Language
No. country Area language
serial
88 St. Kitts-Nevis North America English Latin
89 Tonga Oceania English Latin
90 Fiji Oceania English Latin
91 Solomon Is. Oceania English Latin
92 Vanuatu Oceania English Latin
93 Kiribati Oceania English Latin
94 Nauru Oceania English Latin
95 Marshall Is Rep Oceania English Latin
96 Zimbabwe Africa English Latin
97 Gambia Africa English Latin
98 Sierra Leone Africa English Latin
99 Liberia Africa English Latin
100 Ghana Africa English Latin
101 Nigeria Africa English Latin
102 Uganda Africa English Latin
103 Zambia Africa English Latin
104 Malawi Africa English Latin
105 Seychelles Africa English Latin
106 Mauritius Africa English Latin
107 Botswana Africa English Latin
108 Namibia Africa English Latin
109 Lesotho Africa English Latin
110 South Africa Africa Dutch, English Latin
111 Kenya Africa Swahili Latin
112 Tanzania Africa Swahili Latin
113 Egypt Africa Arabian Arabian
114 Tunisia Africa Arabian Arabian
115 Libyan Arab Jm Africa Arabian Arabian
116 Morocco Africa Arabian Arabian
117 Algeria Africa Arabian Arabian
118 Sudan Africa Arabian Arabian
119 Somalia Africa Arabian Arabian
120 Djibouti Africa Arabian Arabian
121 Mauritania Africa Arabian Arabian
122 Syrian Asia Arabian Arabian
123 United Arab Emirates Asia Arabian Arabian
124 Lebanon Asia Arabian Arabian
125 Yemen Rep. Asia Arabian Arabian
126 Kuwait Asia Arabian Arabian
127 Qatar Asia Arabian Arabian
128 Palestine Asia Arabian Arabian
129 Bahrian Asia Arabian Arabian
130 Oman Asia Arabian Arabian
131 Jordan Asia Arabian Arabian

URL: www.buydisplay.com 41
EastRising Font Chip Datasheet ER3300-1
buydisplay.com
Language
No. country Area language
serial
132 Iraq Asia Arabian Cyril
133 Saudi Arabia Asia Arabian Cyril
134 Russia Europe Russian Cyril
135 Byelorussia Europe Russian Cyril
136 Ukraine Europe Ukrainian Cyril
137 Bulgari Europe Bulgarian Cyril
138 Macedonia Rep. Europe Macedonian Cyril
139 Yugoslavia FR Europe Serbian Cyril
140 Crotia Rep Europe Serbian Cyril
141 Bosnia&Herzegovina Europe Serbian Cyril
142 Azerbaijan Asia Azeri Cyril
143 Kyrgyz Rep. Asia Kirghiz Cyril
144 Tadzhikistan Asia Tadzhikistani Cyril
145 Turkmenistan Asia Turkoman Cyril
146 Uzbekstan Asia Uzbekstani Cyril
147 Kazakhstan Asia Kazak Cyril
148 Mongolia Asia Mongol Cyril
149 Greek Europe Greek Greek
150 Cyprus Asia Greek Greek

In the 150 countries,112 countries are Latin serial language,21 countries are Arabian serial
language, 15 countries are Cyril serial language, 2 countries are Greek serial language.
In the Latin serial countries, 39 countries are English, 22 countires are French, 22 countries are
Spanish, 7 countries are Portuguese, 5 countries are German, 3 countries are Italian, 2 countries are
Malay, 2 countries are Swahili, 10 countries are other Latin language,

URL: www.buydisplay.com 42

You might also like