background image

C8051F540DK

Rev. 0.1

7

7.  Target Board

The C8051F540 Development Kit includes a target board with a 

C8051F540 

(Side A) and 

C8051F542 

(Side B)

device pre-installed for evaluation and preliminary software development. Numerous input/output (I/O) connections
are provided to facilitate prototyping using the target board. Refer to Figure 3 for the locations of the various I/O
connectors. Figure 4 on page 9 shows the factory default shorting block positions. A summary of the signal names
and headers is provided in Table 9 on page 15.

P4

Header to choose b5V from Debug Adapter (P2) or +5V from on-board regulator (U4)

J18

Connect V_HIGH node from TB1 LIN header to +5V regulator input for board power

P1

Power connector (accepts input from 7 to 15 VDC unregulated power adapter)

P5

USB connector (connects to PC for serial communication)

TB1

Shared LIN Connector for Side A and B MCUs for external nodes

J1-J3

Side A: Port 0 through Port 2 headers

J8

Side A: Co5V net to VIO and VREGIN of the MCU

J9, J10

Side A: External crystal enable connectors

J13

Side A: Connects decoupling capacitors C28 and C29 for MCU VREF (P0.0)

J15

Side A: Connects VIO to VIO_A_SRC which powers the R22 potentiometer, the RST_A

pin pull-up, and P1.4_A Switch pull-up.

J16

Side A: Connects P1.3_A LED and P1.4_A Switch to MCU port pins

J17

Side A: Connects MCU to two separate transceivers (UART(U3), and LIN(T2))

J20

Side A: Connects R27 potentiometer to port pin 1.2

P2

Side A: DEBUG connector for Debug Adapter interface

TB3

Side A: Power supply terminal block

J4

Side B: Co5V net to VIO and VREGIN of the MCU

J5-7

Side B: Port 0 through Port 2 headers

J11

Side B: Connects P1.3_B LED and P1.4_B Switch to MCU port pins

J12

Side B: Connects MCU to LIN transceiver (T1)

J19

Side B: Connects decoupling capacitors C41 and C42 for MCU VREF (P0.0)

P3

Side B: DEBUG connector for Debug Adapter interface

Summary of Contents for C8051F540DK

Page 1: ...nt Environment IDE Keil 8051 Development Tools macro assembler linker evaluation C compiler Source code examples and register definition files Documentation C8051F540 Development Kit User s Guide this document Optional Third Party Tools CD AC to DC Power Adapter USB Debug Adapter USB to Debug Interface Two USB Cables 3 Hardware Setup Refer to Figure 1 for a diagram of the hardware configuration 1 ...

Page 2: ...lities and code examples perform the following steps 1 Click on the Install Development Tools button on the installation utility s startup screen 2 In the Kit Selection box that appears choose the C8051F540DK development kit from the list of options 3 In the next screen choose Components to be Installed The programs necessary to download and debug on the MCU are the Silicon Labs IDE and the Keil 8...

Page 3: ...cess connect the included USB cable between the host computer and the USB connector P5 on the C8051F540 Target Board Windows will automatically finish the driver installation Information windows will pop up from the taskbar to show the installation progress 6 If needed the driver files can be uninstalled by selecting Silicon Laboratories CP210x USB to UART Bridge Driver Removal option in the Add o...

Page 4: ...ect download after build in the Project Target Build Configuration dialog If errors occur during the build process the IDE will not attempt the download 8 Click on the Go button green circle in the toolbar or by selecting Debug Go from the menu to start run ning the firmware The LED on the target board will start blinking 5 1 2 2 Creating a New Project Use the following steps to create a new proje...

Page 5: ...der the Help menu in Configuration Wizard 2 For more information please refer to the Configuration Wizard 2 documentation The documentation and software are available from the Downloads webpage www silabs com mcudownloads 5 3 Keil uVision2 and uVision3 Silicon Laboratories Drivers As an alternative to the Silicon Laboratories IDE the µVision debug driver allows the Keil µVision IDE to communicate ...

Page 6: ...e a blinking LED example which configures the green LED on the target board to blink at a fixed rate Also included are examples for each of peripherals of the MCU such as the UART 6 1 Register Definition Files Register definition files C8051F540 inc C8051F540_defs h and compiler_defs h define all SFR registers and bit addressable control status bits These files are installed into the SiLabs MCU Ex...

Page 7: ...TB1 Shared LIN Connector for Side A and B MCUs for external nodes J1 J3 Side A Port 0 through Port 2 headers J8 Side A Connects 5V net to VIO and VREGIN of the MCU J9 J10 Side A External crystal enable connectors J13 Side A Connects decoupling capacitors C28 and C29 for MCU VREF P0 0 J15 Side A Connects VIO to VIO_A_SRC which powers the R22 potentiometer the RST_A pin pull up and P1 4_A Switch pul...

Page 8: ...A J2 LIN_V LIN_OUT GND DEBUG_A P2 R22 SIDE A SIDE B DEBUG_B P3 TB3 RESET_A RESET_B SILICON LABS www silabs com DS2 DS3 DS1 J13 J16 J17 J18 P4 J10 J9 J12 Port 0 B J5 Port 1 B J6 J4 F542 U2 C8051 F540 U1 J19 J7 Port 2 B J11 J15 J8 J14 COMM DS1 P1 3_A PWR LED P1 3_B CP 2102 LIN LIN 2 2 2 2 2 1 1 1 1 1 1 2 1 1 1 1 1 1 2 2 2 2 1 1 2 2 1 TB1 ...

Page 9: ...horting blocks Figure 4 C8051F540 Target Board Shorting Blocks Factory Defaults P1 P5 C8051F540 TB P1 4_B P1 4_A Port 0 A J1 Port 2 A J3 Port 1 A J2 LIN_V LIN_OUT GND DEBUG_A P2 R22 SIDE A SIDE B DEBUG_B P3 TB3 RESET_A RESET_B SILICON LABS www silabs com DS2 DS3 DS1 J13 J16 J17 J18 P4 J10 J9 J12 Port 0 B J5 Port 1 B J6 J4 F542 U2 C8051 F540 U1 J19 J7 Port 2 B J11 J15 J8 J14 COMM DS1 P1 3_A PWR LED...

Page 10: ... Board Power Source P4 TB1 The two 12 V power sources LIN and ac to dc power adapter are ORed together using reverse biased diodes Z1 and Z2 and connected to the input of the LDO regulator U6 The output of the regulator is connected to the 5 V net of the target board through the P4 header A shorting block should be installed on pins P4 2 3 for this purpose The 5 V net powers the MCUs directly 7 3 ...

Page 11: ...ugh a header Remove the shorting block from the header to disconnect the LED from the port pin Similarly a second green LED on Side B is connected to the C8051F542 through another header See Table 1 for the port pins and headers corresponding to each LED 7 5 Target Board Debug Interfaces P2 and P3 The debug connectors P2 DEBUG_A and P3 DEBUG_B provide access to the debug C2 pins of the C8051F540 a...

Page 12: ...T1 transceiver through the J14 header and the C8051F542 Side B is connected to the T2 transceiver through the J12 header The two LIN transceivers are connected to each other and form a LIN network Other external devices can be connected to the LIN network through the TB1 interface The TB1 interface also provides the option for connecting an external power source so that all LIN transceivers can us...

Page 13: ...to external 0 1 µF and 4 7 µF decoupling capacitors The C8051F540 Side A device is connected to the capacitors through the J13 header and the C8051F542 Side B device connects to its own set of capacitors through J19 7 10 Potentiometer J17 The C8051F540 Side A device has the option to connect port pin P1 2 to a 10K linear potentiometer The potentiometer is connected through the J17 header The poten...

Page 14: ...eripherals Header J18 connects the P4 power adapter supply to the V_HIGH node which is used as the power source for the LIN transceivers T1 T2 The shorting block on header J18 can be removed to force the LIN transceivers to use the voltage supply externally supplied on the LIN_V pin on the TB1 header 7 13 C2 Pin Sharing On the C8051F540 Side A the debug pins C2CK and C2D are shared with the pins R...

Page 15: ...able 9 summarizes the C8051F540 MCU Side A pin assignments on the target board and also shows the various headers associated with each signal Table 9 C8051F540 Target Board Pin Assignments and Headers MCU Pin Name Pin Primary Function Alternate Fixed Function Target Board Function Relevant Headers P0 0 8 P0 0 VREF VREF J1 1 J13 1 P0 1 1 P0 1 CNVSTR CNVSTR J1 2 P0 2 32 P0 2 XTAL1 XTAL1 J1 3 J9 2 P0...

Page 16: ...TB3 4 GND 6 GND GND J1 J3 1 TB3 6 GNDA 7 GNDA VDD TB3 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 Table 9 C8051F540 Target Board Pin Assignments and Headers Continued MCU Pin Name Pin Primary Function Alternate Fixed Function Target Board Function Releva...

Page 17: ...C8051F540DK Rev 0 1 17 8 Schematics Figure 5 C8051F540 Target Board Schematic Page 1 of 4 ...

Page 18: ...C8051F540DK 18 Rev 0 1 Figure 6 C8051F540 Target Board Schematic Page 2 of 4 ...

Page 19: ...C8051F540DK Rev 0 1 19 Figure 7 C8051F540 Target Board Schematic Page 3 of 4 ...

Page 20: ...C8051F540DK 20 Rev 0 1 Figure 8 C8051F540 Target Board Schematic Page 4 of 4 ...

Page 21: ...C8051F540DK Rev 0 1 21 NOTES ...

Page 22: ...in 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 ...

Reviews: