R8C/3MK Group
USB-to-Serial Communication Conversion Demo Board
R0K5R8C3MDU30BR Instruction Manual
R01AN1051EJ0100 Rev.1.00
Page 20 of 38
Mar 21, 2012
(1)You input the following command from the terminal software, and select the serial function.
“U” Command : USB-to-UART communication conversion
“I” Command : USB-to-I
2
C communication conversion
“S” Command : USB-to-SSU communication conversion
When the display shows “OK You select XXX Demo!”, the demo selection is done.
Figure 18 shows selecting the UART demo, Figure 19 shows selecting the I
2
C demo and Figure 20 shows
selecting the SSU demo.
Figure 18 Display of Selecting USB-to-UART Communication Conversion
Figure 19 Display of Selecting USB-to-I
2
C Communication Conversion
Figure 20 Display of Selecting USB-to-SSU Communication Conversion
4) Outline of USB-to-UART communication conversion
(1) Enter the COM number in the terminal software.
(2) Set the communication speed
Set baud rate from 600bps to115200bps
(3) Set all other parameters for serial port
Set the following for the program in the demo board.
Data length: 8 bits; parity: none; stop bit: 1 bit; flow control: none
In the case of sending large-volume data from USB Host at low communication speed, it is possible to
overflow the USB receive block in this product. Avoiding this issue, you may set the flow control in the
application software of USB Host side to pause and restart USB communication. When sending large-volume
data at the following speed, you enable the flow control and set the transmit delay parameter in the application
software of USB Host side.
2400bps, 1200bps Flow Control: “Hardware”, Transmit delay parameter: more than 1ms/char
600bps
Flow Control: “Hardware”, Transmit delay parameters: more than 20ms/char and
more than 20ms/line
The example of data communication is shown Figure 11. Figure 12shows the example of the setting
parameters for serial port on the terminal software.
OK You select URT Demo !
OK You select IIC Demo !
OK You select SSU Demo !