16t202da1j Pacer Components, 16t202da1j Datasheet - Page 9

no-image

16t202da1j

Manufacturer Part Number
16t202da1j
Description
2x16 Lcd Compatible Vfd Module
Manufacturer
Pacer Components
Datasheet
2X16 LCD Compatible VFD Module
5. FUNCTION DESCRIPTIONS
5.1 Registers in VFD Controller
The VFD controller has two 8-bit registers, an instruction register (IR) and a data register (DR). IR stores instruction
codes, such as display clear and cursor shift, and address information for DD-RAM and CG-RAM. The IR can only be
written from the host MPU. DR temporarily stores data to be written into DD-RAM or CG-RAM and temporarily stores
data to be read from DD-RAM or CG-RAM. Data written into the DR from the MPU is automatically written into
DD-RAM or CG-RAM by an internal operation. The DR is also used for data storage when reading data from
DD-RAM or CG-RAM. When address information is written into the IR, data is read and then stored into the DR from
DD-RAM or CG-RAM by internal operation. Data transfer between MPU is then completed when the MPU reads the
DR. After the read, data in DD-RAM or CG-RAM at the next address is sent to the DR for the next read from the MPU.
By the register selector (RS) signal, these two registers can be selected.
* Truth Table for Register Selection
5.1.1 Busy Flag (BF)
When the busy flag is 1, the controller is in the internal operation mode, and the next instruction will not be accepted.
When RS = 0 and R/W = 1, the busy flag is output to DB7. The next instruction must be written after ensuring that the
busy flag is 0.
5.1.2 Address Counter (ACC)
The address counter (ACC) assigns addresses for both DD-RAM and CG-RAM. When an instruction of address is
written into the IR, the address information is sent from the IR to the ACC. Selection of either DD-RAM or CG-RAM
is also determined concurrently by the instruction. After writing into (reading from) DD-RAM or CG-RAM, the ACC
automatically increased by 1 (decreased by 1).
The ACC contents are then output to DB0 to DB6 when RS = 0 and R/W = 1.
5.1.3 Display Data RAM (DD-RAM)
Display data RAM (DD-RAM) stores display data represented in 8-bit character codes. The area in DD-RAM that is
not used for display can be used as general data RAM. See below Table for the relationships between DD-RAM
addresses and positions on the VFD.
5.1.4 Character Generator ROM (CG-ROM)
The character generator ROM (CG-ROM) generates character patterns of 5*7 dots from
8-bit character codes. It can generate 240 kinds of 5*7 dot character patterns. The character
fonts are shown in Appendix-1. The character codes 00H to 0FH are allocated to the
CG-RAM.
5.1.5 Character Generator RAM (CG-RAM)
The CG-RAM stores the pixel information (1 = pixel on, 0 = pixel off) for the eight
user-definable 5*7 characters including cursor. Valid CG-RAM addresses are 00H to 3FH.
CG-RAM not being used to define characters can be used as general purpose RAM (lower 5
* The Relationships between DD-RAM Addresses and Positions on the VFD
2nd ROW
1st ROW
RS
0
0
1
1
M68
R/W
0
1
0
1
1st Column 2nd Column 3rd Column
00 Hex
40 Hex
/RD
1
0
1
0
01 Hex
i80
41Hex
/WR
0
1
0
1
16T202DA1J (Rev. 4.0)
42 Hex
02 Hex
IR write as an internal operation (display clear, etc.)
Read busy flag (DB7) and address counter (DB0 to DB6)
DR write as an internal operation (DR to DD-RAM or CG-RAM)
DR read as an internal operation (DD-RAM or CG-RAM to DR)
Page - 9 of 17
................
................
................
15th Column 16th Column
0E Hex
4E Hex
Operation
0F Hex
4F Hex
Fig.-10 Dot Assignment
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
1
6
2
7
36
3
8
4
9
10
5

Related parts for 16t202da1j