User`s manual
Applilet EZ for HCD Controller CHAPTER
4 APPLILET EZ FOR HCD CONTROLLER OPERATION
R20UT0435EJ1200 Rev. 12.00 20
Jul 31, 2014
[type]
Note 2
Select from ASCII and BINARY.
ASCII Communication by using ASCII codes is performed.
BINARY Communication by using binary data is performed.
<2> Click icon or select Menu [File] [Save] to save the project.
Notes 1. For the EV-K0-HCD, EV-K0-HCD2, and EZ-0009, UART6 cannot be selected when [Enable ‘On Chip
Debug’] is checked in the [Board Property] dialog box.
2. [type] can be set only if UART is selected.
Remark A program that corrects errors in the internal high-speed oscillation clock frequency is generated when the
EV-K0-HCD, EV-K0-HCD2, and EZ-0009 are selected and the CPU clock and communication mode to be
used are set as follows.
CPU clock: Internal high-speed oscillation clock (Set to “Internal osc.” via the [Board
Property] dialog box.)
Communication mode: UART0 or UART1 or UART6 (Select the [Serial Command] option button for the
Dimmer Program, select “UART0” or “UART1” or “UART6” via [by], and select
“ASCII” or “BINARY” via [type].)
This correction program calibrates one frame of receive data in the following format immediately after a reset
(about 100 ms) when the CPU operates with the internal high-speed oscillation clock and serial
communication is to be performed with UART0 or UART6. Accordingly, data for calibration must be
transmitted first from the host controller.
[Format of data for calibration]
1 data frame
Start bit
D0 D1 D2 D3 D4 D5 D6 D7
Stop bit
Baud rate: Selected clock
Parity bit: None
Data length: 8 bits (LSB)
Stop bit: 1 bit
To perform calibration with UART0, connect P00/TI000 and P11/RxD0.
UART reception operation can be started after calibration has ended normally.
When calibration succeeds in ASCII mode, the welcome message is displayed.