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)