Datasheet

USB-UART B
Enabling USB-UART B
communication
page 23
If you need to use more than one USB-UART in your
application, you have another USB-UART B connector available
on the board too. Both available USB-UART modules can operate at the
same time, because they are routed to separate microcontroller pins.
USB-UART B communication is being done through a FT232RL
controller, USB connector (CN23), and microcontroller UART
module. To establish this connection, you must connect TX
and RX lines of the FT232RL to the appropriate pins of
the microcontroller. This selection is done using DIP
switches SW12.3 and SW12.4.
When using either USB-UART A or USB-
UART B, make sure to disconnect all
devices and additional boards that
could interfere with the signals
and possibly corrupt the sent or
received data.
In order to use USB-UART B module on EasyMx PRO
v7
STM32, you must rst install FTDI drivers on your computer.
Drivers can be found on Product DVD:
A
v
a
i
l
a
b
l
e
o
n
P
r
o
d
u
c
t
D
V
D
!
DVD://download/eng/software/development-tools/
universal/ftdi/vcp_drivers.zip
EasyMx PRO
v7
DATA BUS
1
2
3
4
5
6
7
8
9
10
11
12
13
14 15
16
17
18
19
20
21
22
23
24
25
26
27
28
TXD
DTR#
RTS#
VCCIO
RXD
RI#
GND
NC
DSR#
DCD#
CTS#
CBUS4
CBUS2
CBUS3
CBUS0
CBUS1
OSCO
OSCI
TEST
AGND
NC
GND
GND
VCC
RESET#
3V3OUT
USBDM
USBDP
FT232RL
U4
FT232RL
VCC-3.3V VCC-5V
C26
100nF
LD73 LD74
RX-LED2
TX-LED2
R30
4K7
R29
2K2
VCC-3.3V VCC-3.3V
R37
4K7
R38
10K
1
2
3
4
VCC
GND
D-
D+
CN23
USB B
C24
100nF
C25
100nF
E6
10uF
VCC-5VVCC-5VVCC-3.3V
USB UA RT B
CONNECTOR
FTDI2-D_P
FTDI2-D_N
RX TX
1 2 3 4 5 6
7
8
O
N
SW12
TX-FTDI2
RX-FTDI2
PD5
PD6
Copyright ©2012 Mikroelektronika.
All rights reserved. MikroElektronika, MikroElektronika logo and other
MikroElektronika trademarks are the property of MikroElektronika.
All other trademarks are the property of their respective owners.
Unauthorised copying, hiring, renting, public performance
and broadcasting of this DVD
is strictly prohibited.
M
I
K
R
O
M
E
D
I
A
B
O
A
R
D
S
M
A
N
U
A
L
S
D
E
V
E
L
O
P
M
E
N
T
B
O
A
R
D
S
S
C
H
E
M
A
T
I
C
S
A
C
C
E
S
S
O
R
Y
B
O
A
R
D
S
E
X
A
M
P
L
E
S
A
D
D
I
T
I
O
N
A
L
S
O
F
T
W
A
R
E
C
O
M
P
I
L
E
R
S
M
I
K
R
O
C
,
M
I
K
R
O
B
A
S
I
C
,
M
I
K
R
O
P
A
S
C
A
L
C
O
M
P
I
L
E
R
S
D
R
I
V
E
R
S
P
R
O
G
R
A
M
M
E
R
S
A
N
D
D
E
B
U
G
G
E
R
S
PRODUCT DVD
www.mikroe.com
www.libstock.co m
In order to enable USB-UART B
communication, you must push
SW12.3 (PD5) and SW12.4 (PD6)
to ON position. This connects the
RX and TX lines to PD5 and PD6
microcontroller pins.
Figure 9-1:
USB-UART B
connection
schematic