IS-Dev Kit-2 Users Manual
7850 East Gelding Drive • Scottsdale, AZ 85260-3420
IS-Dev Kit-2 Users Manual A.doc
Page 7 of 15
Toll Free 1.877.2BUYNKK (877.228.9655) Phone 480.991.0942 • Fax 480.998.1435
www.nkkswitches.com • Email engineering@nkkswitches.com 0110
3. Overview
The IS-Dev Kit-1 has a flash EEPROM that can hold up to 255 images and attributes. The EEPROM is
rated for 100,000 write cycle.
These images and Attributes can be downloaded to the IS-Dev Kit-1 via RS232 communication.
The IS-Dev Kit-1 has internal RAM to hold the data for two images and attributes. These data are used
to refresh the LCD displays and backlighting.
Upon switch presses, timer expired or command from host the data can be read from any location of
EEPROM to internal RAM.
Host also can change the data on the internal RAM directly.
The switch activity and timer expires are reported via RS232.
Power-Up (Steps 1,2,3)
Upon power-up or reset, controller performs the following steps:
Step 1: Check if the RAM has been programmed. Compare the check string to EEPROM string.
A. If the strings are not the same, the EEPRM is virgin and its data is not acceptable. Step 2 will be
executed. (first time)
B. If the strings are the same, the data from RAM is acceptable. Step 2 is omitted and Step 3 is
executed.
Step 2: Write all the default initialize values to EEPROM as follows:
A. Put “LED DOWN” as the image for location one.
B. Put “LED UP” as the image for location two.
C. Put "Blank Font Memory" as the image for location three.
D. Put LED #1 backlighting on for location 1, 2 and 3.
E. Put “00H 00H 03H 03H 10H 10H” as attribute for location #1.
F. Put “00H 00H 00H 00H 00H 00H” as attribute for location #2 and #3.
G. Write the virgin check string.
Step 3
A. Initialize and load the data from location 1 and 2 of EEPROM to internal RAM for switch #1
and #2 respectfully.
B. initialize UART.
IS-Dev Kit-2 Users Manual
7850 East Gelding Drive • Scottsdale, AZ 85260-3420
IS-Dev Kit-2 Users Manual A.doc
Page 8 of 15
Toll Free 1.877.2BUYNKK (877.228.9655) Phone 480.991.0942 • Fax 480.998.1435
www.nkkswitches.com • Email engineering@nkkswitches.com 0110
Operation
Step 4:
A. If the switch one is pressed: Transmit 81H to host, if the data is from location 1 then adjust down
the backlight brightness else execute the attribute. Put LED#1 on for switch 1.
B. If the switch two is pressed: Transmit 82H to host, if the data is from location 2 then adjust up the
backlight brightness else execute the attribute. Put LED#1 on for switch 2.
C. If the timer is expired: Transmit 83H to host and execute the timer attribute.
D. If the switch one is released: Transmit B1H to host. Put LED color according to data on switch
one.
E. If the switch one is released: Transmit B2H to host. Put LED color according to data on switch
two.
F. Checks the host communication buffer for data. If there is data, process them.
G. Go to step 4 section A
IS-Dev Kit-2 Users Manual
7850 East Gelding Drive • Scottsdale, AZ 85260-3420
IS-Dev Kit-2 Users Manual A.doc
Page 9 of 15
Toll Free 1.877.2BUYNKK (877.228.9655) Phone 480.991.0942 • Fax 480.998.1435
www.nkkswitches.com • Email engineering@nkkswitches.com 0110
4. Communication Protocol
The controller communicates with the host serially. The Controller receives the data via an interrupt routine
that places the data on the circular receive buffer.
When the Controller detects data in the circular receive buffer (Step 4 section F), it reads one byte and
executes the following:
A. If the byte is a command, the controller transmits a 61H and it executes the subroutine for the
command and upon completion of command the controller transmits 79H. All of the commands are
explained in detail in this section.
B. If the byte is not a command, it ignores the byte.
When the controller executes a subroutine and expects additional information:
A. A timer is set. If the expected data byte is not received in 50 ms, the controller transmits 6EH,
terminates the routine.
B. If the byte value is not acceptable (invalid range, option, etc.), the controller transmits 6EH, terminates
the routine.
Commands are one byte in the range of 20H to 2FH and 01H and are transmitted in hex format.
The proper format for all command options and data is specified for each command.
Command to reboot the controller
The command reboots the controller to power-up state.
command format:
24H
transmit format: (xxH)
Command to check communication
The command is used to check if the controller is on-line.
command format:
01H
transmit format: (xxH)
The controller transmits back 61H to the host.
Command to download a Legend block
This command downloads a Legend Block from the host to the EEPROM location.
command format:
28H
[Address]
[Legend Block]
transmit format: (xxH) (xxAH) (xxAH)

IS-DEV KIT-2

Mfr. #:
Manufacturer:
NKK Switches
Description:
Switch Development Tools Two Switch Dev Kit IS SERIES
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet