User`s manual

Applilet EZ for HCD Controller CHAPTER
4 APPLILET EZ FOR HCD CONTROLLER OPERATION
R20UT0435EJ1200 Rev. 12.00 19
Jul 31, 2014
4.3.4 Serial Command mode
In this mode, the LEDs are dimmed by using commands depending on the type of communication.
Specify the communication format, communication command type, and channels to use for serial communication.
To use this mode, a host controller for serial communication must be connected to the serial communication port of the
evaluation board. For details, refer to the user’s manuals of the microcontroller and evaluation board.
For the command of Serial Command mode, refer to APPENDIX B SERIAL COMMAND MODE COMMUNICATION
COMMANDS.
<1> Select the [Serial Command] button in Dimmer Program and specify from the [by] and [type] drop-down lists the
communication mode and communication command system to be used, respectively.
[by]
Select from UART6
Note 1
, UART0, SPI, and IIC.
UART6 Serial communication is performed in this mode by using UART (universal asynchronous
receiver transmitter) with the TxD6 or RxD6 pin of the device.
UART1 Serial communication is performed in this mode by using UART (universal asynchronous
receiver transmitter) with the TxD1 or RxD1 pin of the device.
UART0 Serial communication is performed in this mode by using UART with the TxD0 or RxD0
pin of the device.
SPI 3-wire serial communication is performed in this mode by using the SI1n, SO1n, or SCK1n
pin of the device. The following pins can be used as enabling pins when using the device
of the evaluation board as the slave. (For details, see the [CSI Property] dialog box
described in CHAPTER 5 WINDOW REFERENCE.)
The INTP0, INTP2, or INTP3 pin: EV-K0-HCD, EV-K0-HCD2, and EZ-0009
The SSI11 pin: EZ-0005 and EZ-0006
Remark n = 0: EV-K0-HCD, EV-K0-HCD2, and EZ-0009
n = 1: EZ-0005 and EZ-0006
IIC Serial communication is performed in this mode via the I
2
C (inter-integrated circuit) bus by
using the SCLn and SDAn pins of the device.
Remark n = 0: EV-K0-HCD, EV-K0-HCD2, and EZ-0009
n = A0: EZ-0005 and EZ-0006