
HT16511
Rev. 1.10
6
September 18, 2003
*
! *
#
! #
! ,
!
!
!
,
! ,
!
!
!
1
!
!
5
! 5
!
4
! 4
2
! 2
!
The key matrix is made up of a 12 4 matrix, as shown below.
The data of each key is stored as illustrated below, and
is read with the read command, starting from the least
significant bit.
LED Port
The LED port belongs to the CMOS output configura-
tion.
Data is written to the LED port with the write command,
starting from the least port s least significant bit. In our
application (see application circuits), the user adopts an
internal NMOS device to a driver LED component by
connecting VDD. When a bit of this port is 0, the corre-
sponding LED lights; when the bit is 1, the LED turns off.
The data of bits 6 through 8 are ignored.
SW Data
The HT16511 provides an extra 4-bit general input port.
The SW data is provided with available binary code. The
SW data is read with the read command, starting from
the least significant bit. Bits 5 through 8 of the SW data
are 0.
Commands
Commands set the display mode and status of the VFD
driver.
The first 1 byte input to the HT16511 through the DI pin
after the CS pin has fallen, is regarded as a command. If
CS is set high while commands/data are transmitted,
serial communication is initialized, and the commands/
data being transmitted are not valid (however, the com-
mands/data previously transmitted remains valid).
Display mode setting commands
These commands initialize the HT16511 and select
the number of segments and the number of grids
(1/8~1/16 duty, 12 segments to 20 segments).
When these commands are executed, the display is
forcibly turned off, and key scanning is also stopped.
To resume display, the display command ON must
be executed. If the same mode is selected, nothing
happens.
,
$
<
<
<
< ,
> "
$
<
<
<
< ,
$ -
$ -
$ -
$ -
,
> "
$ -
#
< #
* ! *
<
<
<
< , < # < *
<
< 4
, ! ,
!
!
# ! #
!
!
+ ! ,
!
+ ! ,
.
"
!
5 ! 5
4 ! 4
!
!
2 ! 2