User`s manual

Applilet EZ for HCD Controller
APPENDIX B SERIAL COMMAND MODE COMMUNICATION COMMANDS
R20UT0435EJ1200 Rev. 12.00 43
Jul 31, 2014
B.1.1 Details of basic format 1 (host target)
startcode block
2 [byte] data, each byte consisting of 8 bits fixed to 0. It is required when transmitting data from a host device to a
target device.
command block
1 [byte] data consisting of 8 bits. The meaning of each bit is as follows.
R/W (1 bit): This bit specifies the flow of information. Whether status acquisition is requested to the target
device or an operation status is set to the target device changes, depending on this bit.
1 (READ): This specifies status acquisition (during reception).
0 (WRITE): This specifies setting (during transmission).
Command (5 bit): These bits specify the items whose status is to be acquired (during reception) or that is to be set
(during transmission). The following two item types exist and their meanings vary, depending on
whether they are set to status acquisition (during reception) or setting (during transmission).
01000 (Duty): This item represents the duty.
Status acquisition (during reception) = When this command is selected, the target device returns as 1
[byte] data the duty setting value of the channel instructed with
“Ch”. Refer to B.1.2 for details.
Setting (during transmission) = When this command is selected, the duty of the channel instructed
with “Ch” is set by using the value specified by “parameter”.
10000 (Status): This item represents the status
Note
.
Status acquisition (during reception) = Status acquisition (during reception) = When this command is
selected, the target device returns as 1 [byte] data the current
status. Refer to B.1.2 for details.
Setting (during transmission) = When this command is selected, the value specified by
“parameter” is used to set the status of the target device.
1000 0000 (0x80): Shutdown (sets the EN pin to low level)
0000 0000 (0x00): Enable status (sets the EN pin to high level)
Ch (2 bit): These bits specify the target channel.
00 Channel 1
01 Channel 2
10 Channel 3
11 Channel 4
Note Do not use the status command for EZ-0005, which does not use a constant-current driver IC, because no
status acquisition or status specification command is provided in EZ-0005.