User`s manual
Applilet EZ for HCD Controller
APPENDIX B SERIAL COMMAND MODE COMMUNICATION COMMANDS
R20UT0435EJ1200 Rev. 12.00 42
Jul 31, 2014
APPENDIX B SERIAL COMMAND MODE COMMUNICATION COMMANDS
This chapter describes the communication commands used between a host device (such as a PC or a microcontroller)
and a target device (the EV-K0-HCD, EV-K0-HCD2, or EZ-00xx evaluation board). An application software that uses the
communication commands can be generated by selecting [Serial Command] in the Applilet EZ for HCD Controller and
determining the communication method. Refer to 4.3.4 for operation details.
Various communications interfaces
Host Machine
(PC, microcontroller, etc.)
Target
(EV-K0-HCD, EV-K0-HCD2,
EZ-0005, EZ-0006, or
EZ-0012 evaluation board)
The communication methods that can be selected with the Serial Command mode are UART6, UART0, IIC, and SPI
(CSI). With UART, binary types and ASCII types of these communication methods can be selected. With IIC and SPI
(CSI), only binary types are supported.
Refer to B.1 Overview of Binary Type, B.2 Overview of ASCII Type for details of each type.
Refer to B.3 for the timings of each communication method.
B.1 Overview of Binary Type
Basic format 1 (host target)
8 bits 8 bits 8 bits1 bit 5 bits 2 bits
startcode
startcode block command block parameter block
startcode parameterstartcodeR/W ch
Basic format 2 (target host)
8 bits
parameter block
parameter
Basic formats 1 and 2 are binary type communication formats. Basic format 1 is used to transmit data from a host
device to a target device and consists of a startcode block, a command block, and a parameter block.
Basic format 2 is used to transmit data from a target device to a host device and consists of only a parameter block.
Details of each block are described below.