background image

C8051F38x-DK

  Rev. 0.1

7

6.1.  System Clock Sources

The C8051F380 device installed on the target board features a calibrated programmable internal oscillator which is
enabled as the system clock source on reset. After reset, the internal oscillator operates at a frequency of 1.5 MHz
(±1.5%) by default but may be configured by software to operate at other frequencies. Therefore, in many
applications an external oscillator is not required. However, if you wish to operate the C8051F380 device at a
frequency not available with the internal oscillator, an external crystal may be used. Refer to the C8051F38x data
sheet for more information on configuring the system clock source.

The target board is designed to facilitate the installation of an external crystal. Remove shorting blocks at headers
J10 and J11 and install the crystal at the pads marked Y1. Install a 10 M

 resistor at R1 and install capacitors at C6

and C7 using values appropriate for the crystal you select. Refer to the C8051F38x data sheet for more information
on the use of external oscillators.

6.2.  Switches and LEDs

Three switches are provided on the target board. Switch RESET is connected to the RESET pin of the C8051F380.
Pressing RESET puts the device into its hardware-reset state. Switches P2.0 and P2.1 are connected to the
C8051F380’s general purpose I/O (GPIO) pins through headers. Pressing P2.0 or P2.1 generates a logic low
signal on the port pin. Remove the shorting blocks from the J12 header to disconnect Switch P2.0 and Switch P2.1
from the port pins. The port pin signals are also routed to pins on the J1 I/O connector. See Table 1 for the port pins
and headers corresponding to each switch.

Three LEDs are also provided on the target board. The red LED labeled PWR LED is used to indicate a power
connection to the target board. The green surface-mount LEDs labeled with port pin names are connected to the
C8051F380’s GPIO pins through headers. Remove the shorting blocks from the header to disconnect the LEDs
from the port pin. The port pin signals are also routed to pins on the J1 I/O connector. See Table 1 for the port pins
and headers corresponding to each LED.

Also included on the C8051F380 target board is a 10 k

 Thumb-wheel Rotary Potentiometer, part number R10.

The Potentiometer is connected to the C8051F380’s P2.5 pin through the J17 header. Remove the shorting block
from the header to disconnect the Potentiometer from the port pin. The port pin signal is also routed to a pin on the
J1 I/O connector. See Table 1 for the port pin and header corresponding to the Potentiometer.

Table 1. Target Board I/O Descriptions

Description

I/O

Header

SW1

Reset

none

SW2

P2.0

J12[1–2]

SW3

P2.1

J12[3–4]

Green LED

P2.2

J12[5–6]

Green LED

P2.3

J12[7–8]

Red LED

PWR

none

Potentiometer

P2.5

J17

Summary of Contents for C8051F38 Series

Page 1: ...nning the Silicon Laboratories 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 boa...

Page 2: ...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 3: ...d 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 conne...

Page 4: ...cond using the interrupt handler with a timer 5 3 Universal Serial Bus USB Application Example The included USB application example requires Windows 98SE 2000 XP operating system This example consists of three parts firmware running on the C8051F380 device a USB device driver running on the host PC and a host application The host application communicates with the C8051F380 via USB allowing the use...

Page 5: ...Found New Hardware wizard Press the Next button 3 Select Search for a suitable driver for my device recommended and press the Next button 4 Select Specify a location under Optional search locations and press the Next button 5 Press the Browse button to locate the SiLabsInt inf driver installation file located by default in the SiLabs MCU Examples C8051F38x C USB_INT directory Once this file is sel...

Page 6: ...J4 Port 2 header J5 Port 3 header J6 Port 4 header J7 Connects the 3V supply net to the VDD supply net J8 USB Power or VDD power selection header J9 Debug connector for debug adapter interface J10 J11 External crystal enable connectors J12 Port I O jumper configuration block J13 96 pin female connector J15 Jumper connection for pin 1 5 to capacitors used when VREF is internally generated J16 Jumpe...

Page 7: ...cted to the C8051F380 s general purpose I O GPIO pins through headers Pressing P2 0 or P2 1 generates a logic low signal on the port pin Remove the shorting blocks from the J12 header to disconnect Switch P2 0 and Switch P2 1 from the port pins The port pin signals are also routed to pins on the J1 I O connector See Table 1 for the port pins and headers corresponding to each switch Three LEDs are ...

Page 8: ...red Configuration J8 The C8051F380 target board can be configured as a self powered USB device to take power from the USB cable instead of the ac dc adapter connected at P1 To configure the target boards as a self powered USB device short the VREGIN and VBUS pins on the J8 header Note When the C8051F380 target board is self powered from the USB the Serial Adapter is not powered from the target boa...

Page 9: ...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 C8051F380 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 connect...

Page 10: ...C8051F38x DK 10 Rev 0 1 7 Schematics Figure 3 C8051F380 Target Board Schematic Page 1 of 2 ...

Page 11: ...C8051F38x DK Rev 0 1 11 Figure 4 C8051F380 Target Board Schematic Page 2 of 2 ...

Page 12: ... Additionally Silicon Laboratories assumes no responsibility 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...

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: