![NKK SWITCHES IS-Dev Kit-8 Скачать руководство пользователя страница 15](http://html1.mh-extra.com/html/nkk-switches/is-dev-kit-8/is-dev-kit-8_user-manual_1697353015.webp)
IS-Dev Kit-8 User Manual
7850 East Gelding Drive • Scottsdale, AZ 85260-3420
IS-Dev Kit 8 Users Manual A.doc
Page 15 of 31
Toll Free
1.877.2BUYNKK (877.228.9655)
•
Phone
480.991.0942
• Fax
480.998.1435
www.nkkswitches.com
1209
A. A timer is set. If the expected data byte is not received in 64ms, the controller transmits 6CH 6EH and
terminates the routine.
B. If the byte value is not acceptable (invalid range, option, etc.), the controller transmits 6EH and
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. See Section 7.
Communication initiated by the IS-Dev Kit-8
The Dev Kit transmits codes to host via RS232 based on activities stated below. Many of these reporting can
be enable/disabled by the flag setup.
A.
Top switch press is reported as 91H
B.
Top switch Release is reported as C1H
C.
Middle switch press is reported as 92H
D.
Middle switch Release is reported as C2H
E.
Bottom switch press is reported as 93H
F.
Bottom switch Release is reported as C3H
G.
Timer Expire is reported as 94H
H.
Upon changing the image, the image address is reported as FCH followed by the address in HEX so
total of 3 bytes transmitted for each image change.
I.
If there is a communication problem between microcontroller and the microSD flash, the controller
will transmit 6FH to host for each communication failure.
7.
Commands
Command to reboot the controller
The command reboots the controller to power-up state.
command format:
24H
transmit format:
(xxH)
The controller resets itself and transmits 11H when it is ready for operation. Please note there may be other
bytes transmitted before 11H, depending on the state of the controller at the reset time.
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. This command does not effect the controller operation.