Rev. 1.2 (12.2021) MINI-CUBE | SERVICE MANUAL 53
7 ATTACHMENT B: CONNECTION TO A HOST
COMPUTER
Foreword: Hardware data
The Communication between the MINI-CUBE and an external PC may be done in two
possible ways:
1. Using the Direct USB Connection:
In this case, connect a standard USB Cable A-B between the PC Host USB Port
(Rectangular Type A Connector) and the MINI-CUBE Client USB Port (Square Type
B Connector). In this case a
software Driver (STM32_SW)
for MS Windows has to
be installed on the PC (downloadable from the website www.diesse.it), in order to
set the communication with the MINI-CUBE through a virtual COM port over USB.
On the MINI-CUBE the parameter “HOST BY USBH” has
to be set OFF in the Service Menu.
2. Using a serial RS232 COM port on the PC.
In this case the ”MINI CUBE USB-to-Serial adapter“ (code: R30006190) has to be
used.
Connect a standard RS232 straight Cable between the PC RS232 COM port and
the Adapter’s Serial Connector.
Then connect a standard USB cable A-B between the MINI-CUBE Host USB Port
(Rectangular Type A connector) and the Adapter’s Client USB Port (Square Type
B Connector).
On the MINI-CUBE the parameter “HOST BY USBH”
has to be set ON in the Service Menu.
The electrical levels of the signals are of the standard RS232C type.
• The default transmission speed is 9600 bit/s, the data format is of the 8 data bit type,
1 stop bit and no parity bits
• The DB9 Male “RS232C” connector reflects the following pin-out: