C8051F34x-DK
Rev. 0.2
9
6.6. Target Board DEBUG Interface (J9)
The DEBUG connector (J9) provides access to the DEBUG (C2) pins of the C8051F340. It is used to connect the
Serial Adapter or the USB Debug Adapter to the target board for in-circuit debugging and Flash programming.
Table 4 shows the DEBUG pin definitions.
6.7. Serial Interface (P4)
A RS232 transceiver circuit and DB-9 (P4) connector are provided on the target board to facilitate serial
connections to UART0 of the C8051F340. The TX, RX, RTS and CTS signals of UART0 may be connected to the
DB-9 connector and transceiver by installing shorting blocks on header J12.
J12[9-10]- Install shorting block to connect UART0 TX (P0.4) to transceiver.
J12[11-12]- Install shorting block to connect UART0 RX (P0.5) to transceiver.
J12[13-14]- Install shorting block to connect UART0 RTS (P2.6) to transceiver.
J12[15-16]- Install shorting block to connect UART0 CTS (P2.7) to transceiver.
6.8. Analog I/O (P2)
Several of the C8051F340 target device’s port pins are connected to the P2 terminal block. Refer to Table 5 for the
P2 terminal block connections.
6.9. USB Debug Adapter Target Board Power Connector (J19)
The USB Debug Adapter includes a connection to provide power to the target board. This connection is routed
from J9[10] to J19[SER_PWR]. Place a shorting block at header J19[REG_IN-P1_PWR] to power the board
directly from an ac/dc power adapter. Place a shorting block at header J19[REG_IN-SER_PWR] to power the
board from the USB Debug Adapter. Please note that the second option is not supported with either the EC1 or
EC2 Serial Adapters.
Table 4. DEBUG Connector Pin Descriptions
Pin #
Description
1
+3 VD (+3.3 VDC)
2, 3, 9
GND (Ground)
4
C2D
5
/RST (Reset)
6
P3.0
7
C2CK
8
Not Connected
10
USB Power
Table 5. J6 Terminal Block Pin Descriptions
Pin #
Description
1
P1.1 / AIN1.1
2
P1.2 / AIN1.2
3
GND (Ground)
4
P1.5 / VREF (Voltage Reference)
electronic components distributor