background image

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

12

Rev. 0.3

5.11.  Target Board Pin Assignment Summary

Some GPIO pins of the C8051F338 MCU can have an alternate fixed function. For example, pin 22 on the 'F338
MCU is designated P0.4, and can be used as a GPIO pin. Also, if the UART0 peripheral on the MCU is enabled
using the crossbar registers, the TX signal is routed to this pin. This is shown in the "Alternate Fixed Function"
column. The "Target Board Function" column shows that this pin is used as TX on the 'F338 Target Board. The
"Relevant Headers" column shows that this signal is routed to pin 7 of the J1 header and pin 5 of the J3 header.
More details can be found in the C8051F336/7/8/9 data sheet. Some of the GPIO pins of the C8051F338 have
been used for various functions on the target board. Table 6 summarizes the MCU pin assignments on the target
board, and also shows the various headers associated with each signal.

Table 6. C8051F338 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], TB1[1]

P0.7

19

P0.7

SW2 (switch)

J1[10], J3[3]

P1.0

18

P1.0

CP0A

J1[11], J11[1]

P1.1

17

P1.1

RTS

J1[12], J3[9]

P1.2

16

P1.2

CTS

J1[13], J3[11]

P1.3

15

P1.3

LED

J1[14], J3[1]

P1.4

14

P1.4

AIN

J1[15], TB1[4]

P1.5

13

P1.5

AIN

J1[16], TB1[3]

P1.6

12

P1.6

POT

J1[17], J8[1]

P1.7

11

P1.7

GPIO

J1[18]

P2.0

10

P2.0

CP0+

J1[19], J11[3]

P2.1

9

P2.1

CP0-

J1[20], J11[5]

P2.2

8

P2.2

GPIO

J1[21]

P2.3

7

P2.3

T0

J1[22], J11[7]

P2.4/C2D

6

P2.4

C2D

P2.4/C2D

J1[23]*, J4[6]*, J4[4]

/RST/C2CK

5

/RST

C2CK

/RST/C2CK

J1[24]*, J4[5]*, J4[7]

VDD

4

VDD

VDD

J2[2]

GND

3

GND

GND

J1[25], J1[26], TB1[5]

*Note:  

Headers denoted by this symbol are not directly connected to the MCU pin; the connection might be via one or more 

headers and/or pin-sharing resistor(s). See board schematic for details.

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: