background image

C8051F02x-DK

Rev. 0.6

7

6.4.  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 C8051F020. The TX, RX, RTS and CTS signals of UART0 may be connected to the DB-9
connector and transceiver by installing shorting blocks on headers J6, J8, J9 and J10.

J6

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

J9

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

J8

- Install shorting block to connect UART0 RTS (P4.0) to the transceiver.

J10 - Install shorting block to connect UART0 CTS (P4.1) to the transceiver.

6.5.  Analog I/O (J11, J20)

Several C8051F020 analog signals are routed to the J20 terminal block and the J11 connector. Header J11 pro-
vides the ability to connect DAC0 and DAC1 outputs to several different analog inputs by installing a shorting block
between a DAC output and an analog input on adjacent pins of J11. Refer to Table 3 for J20 terminal block connec-
tions and Table 4 for J11 pin definitions.

Table 3.  J20 Terminal Block Pin Descriptions

Pin #

Description

1

CP0+

2

CP0-

3

DAC0

4

DAC1

5

AIN0.0

6

AIN0.1

7

VREF0

8

ADND (Analog Ground)

Table 4.  J11 Connector Pin Descriptions

Pin #

Description

1

CP0+

2

CP0-

3

DAC0

4

DAC1

5

CP1+

6

CP1-

7

AIN0.0

8

AIN0.1

9

DAC0

10

DAC1

11

AIN0.6

12

AIN0.7

Summary of Contents for C8051F02x-DK

Page 1: ...ess mainly focus on the distribution of electronic components Line cards we deal with include Microchip ALPS ROHM Xilinx Pulse ON Everlight and Freescale Main products comprise IC Modules Potentiometer IC Socket Relay Connector Our parts cover such applications as commercial industrial and automotives areas We are looking forward to setting up business relationship with you and hope to provide you...

Page 2: ...ories IDE via the USB Debug Adapter as shown in Figure 1 1 Connect the USB Debug Adapter to the JTAG 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 3: ...pment 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 4 kB 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 Silicon L...

Page 4: ...n the Build 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 Be...

Page 5: ...names are identical to those used in the C8051F02x 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 6: ... 7 pin J3 Connects LED D3 to P1 6 pin J4 JTAG connector for Debug Adapter interface J5 DB 9 connector for UART0 RS232 interface J6 Connector for UART0 TX P0 0 J8 Connector for UART0 RTS P4 0 J9 Connector for UART0 RX P0 1 J10 Connector for UART0 CTS P4 1 J11 Analog loopback connector J12 J19 Port 0 7 connectors J20 Analog I O terminal block J22 VREF connector J23 VDD Monitor Disable J24 96 pin Exp...

Page 7: ...k from the header to disconnect SW2 from the port pins The port pin signal is also routed to a pin on the J24 I O connector See Table 1 for the port pins and headers corresponding to each switch Two LEDs are also provided on the target board The red LED labeled PWR is used to indicate a power connection to the target board The green LED labeled with a port pin name is connected to the C8051F020 s ...

Page 8: ...r J10 Install shorting block to connect UART0 CTS P4 1 to the transceiver 6 5 Analog I O J11 J20 Several C8051F020 analog signals are routed to the J20 terminal block and the J11 connector Header J11 pro vides the ability to connect DAC0 and DAC1 outputs to several different analog inputs by installing a shorting block between a DAC output and an analog input on adjacent pins of J11 Refer to Table...

Page 9: ...isable J23 The VDD Monitor of the C8051F020 may be disabled by moving the shorting block on J23 from pins 1 2 to pins 2 3 as shown in Figure 3 Figure 3 VDD Monitor Hardware Setup 6 8 VREF Connector J22 The VREF connector J22 can be used to connect the VREF Voltage Reference output of the C8051F020 to any or all of its voltage reference inputs Install shorting blocks on J22 in the following manner ...

Page 10: ...2 3 3 VDC B 1 DGND Digital Gnd C 1 XTAL1 A 2 MONEN B 2 P1 7 C 2 P1 6 A 3 P1 5 B 3 P1 4 C 3 P1 3 A 4 P1 2 B 4 P1 1 C 4 P1 0 A 5 P2 7 B 5 P2 6 C 5 P2 5 A 6 P2 4 B 6 P2 3 C 6 P2 2 A 7 P2 1 B 7 P2 0 C 7 P3 7 A 8 P3 6 B 8 P3 5 C 8 P3 4 A 9 P3 3 B 9 P3 2 C 9 P3 1 A 10 P3 0 B 10 P0 7 C 10 P0 6 A 11 P0 5 B 11 P0 4 C 11 P0 3 A 12 P0 2 B 12 P0 1 C 12 P0 0 A 13 P7 7 B 13 P7 6 C 13 P7 5 A 14 P7 4 B 14 P7 3 C ...

Page 11: ...C8051F02x DK 10 Rev 0 6 7 Schematic Figure 4 C8051F020 Target Board Schematic ...

Page 12: ... USB Debug Adapter DEBUG Connector Pin Descriptions Table 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 Added J8 and J10 to the figure in the Target Board section Added J8 and J10 to the connector list Revision 0 5 to Revision 0 6 R...

Page 13: ...or health which if it fails can be reasonably expected to result in significant personal injury or death Silicon Laboratories products are generally not intended for military applications Silicon Laboratories products shall under no circumstances be used in weapons of mass destruction including but not limited to nuclear biological or chemical weapons or missiles capable of delivering such weapons...

Reviews: