background image

C8051F31x-DK

8

Rev. 0.6

6.5.  Serial Interface (J5)

A RS232 transceiver circuit and DB-9 (J5) connector are provided on the target board to facilitate serial connec-
tions to UART0 of the C8051F310. 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 J3.

J3[5–6]

- Install shorting block to connect UART0 TX (P0.4) to transceiver.

J3[7–8]

- Install shorting block to connect UART0 RX (P0.5) to transceiver.

J3[9–10] - Install shorting block to connect UART0 RTS (P3.1) to transceiver.
J3[11–12] - Install shorting block to connect UART0 CTS (P3.2) to transceiver.

6.6.  Analog I/O (J6)

Several of the C8051F310 target device’s port pins are connected to the J6 terminal block. Refer to Table 4 for the
J6 terminal block connections. Install a shorting block on J7[2-3] to connect the AIN2.4 input to the P2.4 pin of the
target device.

 

6.7.  USB Debug Adapter Target Board Power Connector (J8)

The USB Debug Adapter includes a connection to provide power to the target board. This connection is routed
from J4[10] to J8[1]. Place a shorting block at header J8[2–3] to power the board directly from an ac/dc power
adapter. Place a shorting block at header J8[1–2] 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. 

6.8.  Low-pass Filter (J7)

The C8051F310 target board features a low-pass filter that may be connected to port pin P2.4. Install a shorting
block on J7[1–2] to connect the P2.4 pin of the target device to the low-pass filter input. The output of the low-pass
filter is routed to the PWM signal at J1[2]. The C8051F310 may be programmed to generate a PWM (Pulse-Width
Modulated) waveform which is then input to the low-pass filter to implement a user-controlled PWM digital-to-ana-
log converter. Refer to Applications Note “AN107: Implementing 16-Bit PWM Using the PCA” in the “

documenta-

tion

” directory on the CD-ROM for a discussion on generating a programmable dc voltage level with a PWM

waveform and low-pass filter.

Table 4. J6 Terminal Block Pin Descriptions

Pin #

Description

1

P2.5 / AIN2.5

2

AIN2.4

3

GND (Ground)

4

P0.0 / Vref (Voltage Reference)

Summary of Contents for C8051F31 Series

Page 1: ...ries IDE via the USB Debug Adapter as shown in Figure 1 1 Connect the USB Debug Adapter to the DEBUG connector on the target board with the 10 pin ribbon cable 2 Connect one end of the USB cable to the USB connector on the USB Debug Adapter 3 Connect the other end of the USB cable to a USB Port on the PC 4 Connect the ac dc power adapter to power jack P1 on the target board Notes Use the Reset but...

Page 2: ...lopment kit and is installed during IDE installation The evaluation version of the C51 compiler is the same as the full professional version except code size is limited to 4K bytes and the floating point library is not included The C51 compiler reference manual can be found under the Help menu in the IDE or in the SiLabs MCU hlp directory C51 pdf 4 4 Using the Keil Software 8051 Tools with the Sil...

Page 3: ...ld Make Project button in the toolbar or selecting Project Build Make Project from the menu Note After the project has been built the first time the Build Make Project command will only build the files that have been changed since the previous build To rebuild all files and project dependencies click on the Rebuild All button in the toolbar or select Project Rebuild All from the menu 2 Before conn...

Page 4: ...names are identical to those used in the C8051F31x data sheet Both register definition files are also installed in the default search path used by the Keil Software 8051 tools Therefore when using the Keil 8051 tools included with the development kit A51 C51 it is not necessary to copy a register definition file to each project s file directory 5 2 Blinking LED Example The example source files bli...

Page 5: ...ector accepts input from 7 to 15 VDC unregulated power adapter J1 34 pin Expansion I O connector J3 Port I O Configuration connector J4 DEBUG connector for Debug Adapter interface J5 DB 9 connector for UART0 RS232 interface J6 Analog I O terminal block J7 Low pass filter connector J8 USB Debug Adapter target board power connector J9 J10 External crystal enable connectors Figure 2 C8051F310 Target ...

Page 6: ... sheet for more infor mation on the use of external oscillators 6 2 Switches and LEDs Two switches are provided on the target board Switch SW1 is connected to the RESET pin of the C8051F310 Pressing SW1 puts the device into its hardware reset state Switch SW2 is connected to the C8051F310 s general purpose I O GPIO pin through headers Pressing SW2 generates a logic low signal on the port pin Remov...

Page 7: ...t Board DEBUG Interface J4 The DEBUG connector J4 provides access to the DEBUG C2 pins of the C8051F310 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 3 shows the DEBUG pin definitions Table 2 J1 Pin Descriptions Pin Description Pin Description Pin Description 1 3 VD 3 3 VDC 13 P1 2 25 P2 6 2 PWM Output 14 ...

Page 8: ...vide power to the target board This connection is routed from J4 10 to J8 1 Place a shorting block at header J8 2 3 to power the board directly from an ac dc power adapter Place a shorting block at header J8 1 2 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 6 8 Low pass Filter J7 The C8051F310 target boa...

Page 9: ...C8051F31x DK Rev 0 6 9 7 Schematic Figure 3 C8051F310 Target Board Schematic ...

Page 10: ...e changed pin 4 to C2D Changed jumper to header EC2 Serial Adapter section added EC2 to the section title table title and figure title EC2 Serial Adapter section changed JTAG to DEBUG Added USB Debug Adapter section Section 7 J8 changed Serial Adapter to USB Debug Adapter DEBUG Connector Pin Descriptions Table changed pin 10 to USB Power USB Debug Adapter Target Board Power Connector J8 Section ch...

Page 11: ...C8051F31x DK Rev 0 6 11 NOTES ...

Page 12: ...for the functioning of undescribed features or parameters Silicon Laboratories reserves the right to make changes without further notice Silicon Laboratories makes no warranty rep resentation or guarantee regarding the suitability of its products for any particular purpose nor does Silicon Laboratories assume any liability arising out of the application or use of any product or circuit and specifi...

Page 13: ...андарту ISO 9001 Лицензия ФСБ на осуществление работ с использованием сведений составляющих государственную тайну Поставка специализированных компонентов Xilinx Altera Analog Devices Intersil Interpoint Microsemi Aeroflex Peregrine Syfer Eurofarad Texas Instrument Miteq Cobham E2V MA COM Hittite Mini Circuits General Dynamics и др Помимо этого одним из направлений компании ЭлектроПласт является на...

Reviews: