background image

C 8 0 5 1 F 3 3 6 / 7 / 8 / 9

8

Rev. 0.3

5.2.  Target Board Power Options and Current Measurement

The C8051F338 target board supports three power options:

1.

12 VDC power using the AC to DC power adapter (P1)

2.

5 VDC USB VBUS power from PC via the USB Debug Adapter (J4)

3.

5 VDC USB VBUS power from PC via the CP2102 USB connector (P2)

All the three power sources are ORed together using reverse-biased diodes (D1, D2, D3), eliminating the need for
headers to choose between the sources. The target board will operate as long as any one of the power sources is
present. The ORed power is regulated to a 3.3V DC voltage using a LDO regulator (U2). The output of the
regulator powers the +3VD net on the target board, and is also connected to one end of the header J2. A shorting
block should be installed on J2 to power the VDD net, which powers the C8051F338 MCU. With the shorting block
removed, a multimeter can be used across J2 to measure the current consumption of the MCU.

5.3.  System Clock Sources

5.3.1. Internal Oscillators

The C8051F338 device installed on the target board features a factory calibrated programmable high-frequency
internal oscillator (24.5 MHz base frequency, ±2%), which is enabled as the system clock source on reset. After
reset, the internal oscillator operates at a frequency of 3.0625 MHz (±2%) by default but may be configured by
software to operate at other frequencies. For low-frequency operation, the C8051F338 features a programmable
low-frequency internal oscillator (80 kHz base frequency, ±10%). Therefore, in many applications an external
oscillator is not required. However, if you wish to operate the C8051F338 device at a frequency not available with
the internal oscillator, an external crystal may be used. Refer to the C8051F336/7/8/9 data sheet for more
information on configuring the system clock source.

5.3.2. External Oscillator Options

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

 resistor at R9 and install capacitors at

C13 and C14 using values appropriate for the crystal you select. If you wish to operate the external oscillator in
capacitor or RC mode, options to install a capacitor or an RC network are also available on the target board.
Populate C14 for capacitor mode, and populate R7 and C14 for RC mode. Refer to the C8051F336/7/8/9 data
sheet for more information on the use of external oscillators.

Summary of Contents for C8051F336

Page 1: ...dapter The target board is connected to a PC running 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 p...

Page 2: ...tudio Simplicity Studio from the start menu or clicking the Simplicity Studio shortcut on the desktop Follow the instructions to install the software and click Simplicity IDE to launch the IDE The first time the project creation wizard runs the Setup Environment wizard will guide the user through the process of configuring the build tools and SDK selection In the Part Selection step of the wizard ...

Page 3: ...the Part drop down select C8051F338 and in the SDK drop down select the desired SDK Click Next 4 Select Example and click Next 5 Under C8051F338 Development Kit in the Blinky folder select F336 9 Blinky and click Finish 6 Click on the project in the Project Explorer and click Build the hammer icon in the top bar Alternatively go to Project Build Project 7 Click Debug to download the project to the...

Page 4: ...ction Programmer Programming utilities for the production line More information on the available programming options can be found on the website http www silabs com products mcu Pages ProgrammingOptions aspx ToolStick Development Tools Software and examples for the ToolStick development platform More information on this platform can be found at www silabs com toolstick The development kit includes...

Page 5: ...U through the UART interface Use the drivers included CD ROM or download the latest drivers from the website www silabs com interface software 1 If using the CD ROM the CP210x Drivers option will launch the appropriate driver installer If downloading the driver package from the website unzip the files to a location and run the appropriate installer for the system x86 or x64 2 Accept the license ag...

Page 6: ... power adapter P2 USB connector connects to PC for serial communication J1 26 pin Expansion I O connector J2 MCU power header VDD J3 Port I O configuration header J4 DEBUG connector for Debug Adapter interface J5 USB connector for UART0 interface J6 Connects pin P0 1 to node IDAC and resistor R2 J7 J8 Connects the potentiometer R14 to pin P1 6 and 3VD J9 J10 External crystal enable connectors J11 ...

Page 7: ...5 shows the positions of the factory default shorting blocks Figure 5 C8051F338 Target Board Shorting Blocks Factory Defaults SW3 P2 CP 2102 U3 F338 U1 P1 DEBUG J4 3VD GND P1 3 D7 USB D4 P0 7 SW2 RESET SW1 TB1 SILICON LABS www silabs com J11 J7 J8 J1 J2 J3 J6 J9 J10 J5 Prototype Area R14 PWR D6 Prototype Area I O Connection Points Pin 2 Pin 1 Pin 2 Pin 1 Pin 2 Pin 1 Pin 1 Pin 2 Pin 1 ...

Page 8: ... 24 5 MHz base frequency 2 which is enabled as the system clock source on reset After reset the internal oscillator operates at a frequency of 3 0625 MHz 2 by default but may be configured by software to operate at other frequencies For low frequency operation the C8051F338 features a programmable low frequency internal oscillator 80 kHz base frequency 10 Therefore in many applications an external...

Page 9: ...at can sense the state of the switch All the four shorting blocks should be present on header J11 to properly connect this switch to the MCU Three LEDs are provided on the target board to serve as indicators The red LED labeled PWR is used to indicate the presence of power to the target board The green LED labeled with port pin name P1 3 is connected to the C8051F338 s GPIO pin P1 3 through the he...

Page 10: ... a list of pin descriptions for J1 5 6 Target Board DEBUG Interface J4 The DEBUG connector J4 provides access to the DEBUG C2 pins of the C8051F338 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 1 3 VD 3 3 VDC 14 P...

Page 11: ...38 target board also features a Current to Voltage 1 K load resistor that may be connected to the 10 bit current mode Digital to Analog Converter IDAC output that can be enabled on port pin P0 1 Install a shorting block on J6 to connect port pin P0 1 of the target device to the load resistor If enabled by software the IDAC signal is then routed to the J1 2 and TB1 2 connectors 5 10 C2 Pin Sharing ...

Page 12: ...8 Target Board Pin Assignments and Headers MCU Pin Name Pin Primary Function Alternate Fixed Function Target Board Function Relevant Headers P0 0 2 P0 0 VREF VREF J1 3 TB1 6 J5 1 P0 1 1 P0 1 IDAC IDAC J1 4 J1 2 TB1 2 J6 1 P0 2 24 P0 2 XTAL1 XTAL1 J1 5 J9 2 P0 3 23 P0 3 XTAL2 XTAL2 J1 6 J10 2 P0 4 22 P0 4 TX_MCU TX_MCU J1 7 J3 5 P0 5 21 P0 5 RX_MCU RX_MCU J1 8 J3 7 P0 6 20 P0 6 CNVSTR CNVSTR J1 9 T...

Page 13: ...C8051F336 7 8 9 Rev 0 3 13 6 Schematics Figure 6 C8051F338 Target Board Schematic Page 1 of 2 ...

Page 14: ...C8051F336 7 8 9 14 Rev 0 3 Figure 7 C8051F338 Target Board Schematic Page 2 of 2 ...

Page 15: ...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...

Page 16: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information Silicon Laboratories C8051F336DK ...

Reviews: