Home
UDP SiM3C1xx MCU Card User's Guide
Contents
1. License Management Single User License Floating License Floating License Administrator FlexLM License Customer Information Computer ID TA CID CCI4Q QSAH6 EQUO Get LIC via Intemet Email Product License ID Code Support Period PK51 Prof Develpers Kit Evaluation Version New License ID Code LIC Close Help Figure 3 Keil pVision4 IDE License Management Window 4 Click on the Get LIC via Internet button to open the Obtaining a License IDE Code LIC window 5 Press OK to open a browser window to the Keil website If the window doesn t open navigate to www keil com license install htm 6 Enter the Silicon Labs Product Serial Number printed on the CD ROM along with any additional required 4 Rev 0 9 SILICON LABS C8051F32x information 7 Once the form is complete click the Submit button An email will be sent to the provided email address with the license activation code 8 Copy the License ID Code LIC from the email 9 Paste the LIC into the New License ID Code LIC text box at the bottom of the License Management window in uVision4 10 Press the Add LIC button The window should now list the PK51 Prof Developers Kit for Silabs as a licensed product 11 Click the Close button Rev 0 9 SILICON LABS C8051F32x 4 Target Board The C8051F32x Development Kit includes a target board with a C8051F320 device pre installed for evaluation and
2. C8051F32x SILICON LABS C8051F32x DEVELOPMENT USER S GUIDE 1 Kit Contents The C8051F32x Development Kit contains the following items C8051F320 Target Board C8051Fxxx Development Kit Quick Start Guide AC to DC Power Adapter USB Debug Adapter USB to Debug Interface USB Cable CD ROM 2 Hardware Setup Using a USB Debug Adapter 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 Connectthe ac dc power adapter to power jack P1 on the target board Notes Use the Reset button in the IDE to reset the target when connected using a USB Debug Adapter Remove power from the target board and the USB Debug Adapter before connecting or disconnecting the ribbon cable from the target board Connecting or disconnecting the cable when the devices have power can damage the device and or the USB Debug Adapter AC DC PC Adapter BH USB Debug Adapter Target Board ON mN e 555559 0 i ug g use Gs 1 jg
3. Digital I O 18 Examples Notes Documentation ADC YES DAC NO Resouces Bu Sample Kit d NEW Hume P e Xs T B Silicon Labs Presentations Silicon Labs Technical University News and Brochures Community Support Figure 2 Simplicity Studio The following Simplicity Studio components are required for the C8051F320 Development Kit m 8051 Products Part Support m Simplicity Developer Platform Download and install Simplicity Studio from www silabs com 8bit software or www silabs com simplicity studio Once installed run Simplicity Studio by selecting Start Silicon Labs Simplicity Studio 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 select from the list of installed parts only the parts to use during development Choosing parts and families in this step affects the displayed or filtered parts in the later device selection menus Choose the C8051F32x family by checking the C8051F32x check box Modify the part selection at any time by accessing the Part Management dialog from the Window Preferences Simplicity Studio Part Management menu item Simplicity Studio ca
4. preliminary software development Numerous input output I O connections are provided to facilitate prototyping using the target board Refer to Figure 4 for the locations of the various I O connectors P1 Power connector accepts input from 7 to 15 VDC unregulated power adapter 36 pin Expansion I O connector Power Target Board from power adapter Port I O Configuration Connector DEBUG connector for Debug Adapter interface DB 9 connector for UARTO RS232 interface Analog I O terminal block Low pass filter connector USB Debug Adapter target board power connector J9 J10 External crystal enable connectors J11 J12 J13 J14 Power Target Board from USB Connects external capacitance to 0 7 Connects R14 Potentiometer to P1 7 USB connector for USB interface P2 4 P2 0 RESET isu o S lt gt 2 o A a Pin 1 Prototyping Area I O Connection Points Figure 4 C8051F320 Target Board Rev 0 9 SILICON LABS C8051F32x 4 1 System Clock Sources The C8051 F320 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
5. 0 9 Updated 3 Software Setup on page 2 Rev 0 9 11 SILICON LABS C8051F32x CONTACT INFORMATION Silicon Laboratories Inc 400 West Cesar Chavez Austin TX 78701 Please visit the Silicon Labs Technical Support web page http www silabs com support and register to submit a technical support request Patent Notice Silicon Labs invests in research and development to help our customers differentiate in the market with innovative low power small size analog intensive mixed signal solutions Silicon Labs extensive patent portfolio is a testament to our unique approach and world class engineering team The information in this document is believed to be accurate in all respects at the time of publication but is subject to change without notice Silicon Laboratories assumes no responsibility for errors and omissions and disclaims responsibility for any consequences resulting from the use of information included herein 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 the application or use of any product or circuit and specifically disclaims any and all liability including without
6. limitation conse quential or incidental damages Silicon Laboratories products are not designed intended or authorized for use in applications intended to support or sustain life or for any other application in which the failure of the Silicon Laboratories product could create a situation where per sonal injury or death may occur Should Buyer purchase or use Silicon Laboratories products for any such unintended or unauthorized ap plication Buyer shall indemnify and hold Silicon Laboratories harmless against all claims and damages Silicon Laboratories and Silicon Labs are trademarks of Silicon Laboratories Inc Other products or brandnames mentioned herein are trademarks or registered trademarks of their respective holders 12 Rev 0 9 e SILICON LABS
7. 2 95 3l 21 5 H Niza 1noi t xu ana S ot vax Fy 100 3 4 9 x 91 vw vza S z C 29 ON 1 4 Li H ca dos O X AMINO NHOQIDHS t O sta OH i QNO anro T 215 us 62 anyo el tA nis e 82 gr 994 i z OL bg ake e Es eur NNO2 85n 026315080 zm snaa g ono Lid Lid z tee zp 919 6 Sid 00A lt 1 9 asoj K Std 519 95124 gu sigh iara kA tui pd 51902 snga 901d 9190 15 19 TL ISF 9 a 1d 52 3H 14 9 AAA nmm iil yl S un H snaa Zap e tid min I En SH td 22 rid wol ane 2 oir O ld 3 31 ab w 453 7979 ae 8 z3 ald anes 190277079 or 99 04 20977 209 xo 9045 5904 BA 1 04 04 Led C 24 504 S 0d zi 8y sa S7d ay 824 tode 1 2 09 2 4H Sza soa Pe 0d x VV vos CH r vod E R1 204 Ltd zd O tH d 2 5 QA 924 ttd CSH eed vod gt 004 ed SH 04 029 OH 2 2 a Em s9 i CSS 528 in mno 1 E ES 1 350 3 1 re e NVV aob g i ano eu 9040 x T ua 913 13534 Wh cs i OL x VVVvzs t T6 9 90 yu m O aaa ua
8. 4 8 Analog I O J6 Several of the C8051F320 target device s port pins are connected to the J6 terminal block Refer to Table 5 for the J6 terminal block connections Table 5 J6 Terminal Block Pin Descriptions Pin Description 1 P2 5 AIN2 5 2 P2 4 AIN2 4 3 GND Ground 4 PO 7 Vref Voltage Reference 4 9 USB Debug Adapter Target Board Power Connector J8 The USB Debug Adapter includes a connection to provide power to the target board This connection is routed from J4 10 to J8 1 Place a shorting block at header J8 2 3 to power the board directly from an ac dc power adapter Place a shorting block at header J8 1 2 to power the board from the USB Debug Adapter Please note that the second option is not supported with either the EC1 or EC2 Serial Adapters 4 10 Low Pass Filter J7 The C8051F320 target board features a low pass filter that may be connected to port pin P2 4 Install a shorting block on J7 1 2 to connect the P2 4 pin of the target device to the low pass filter input The output of the low pass filter is routed to the PWM signal at J1 2 The C8051F320 may be programmed to generate a PWM Pulse Width Modulated waveform which is then input to the low pass filter to implement a user controlled PWM digital to analog converter Refer to Applications Note AN107 Implementing 16 Bit PWM Using the PCA for a discussion on generating a programmable dc voltage level with a PWM waveform and low p
9. Cable 96 5 j 0 H jui B 1 D 95 SILICON LABORATORIES amp 55 ls 5 ES N g fl ak NTC SR 1 D se Fe MCU L 2 5 A P1 6 e a a I LE I n I o a n n L sees becco pocoo Figure 1 Hardware Setup Using a USB Debug Adapter Note The C8051F320 target board has the ability to be powered through the USB cable To enable the USB powered mode move the shorting block located at header J2 to header J11 Rev 0 9 2 14 Copyright 2014 by Silicon Laboratories C8051F32x C8051F32x 3 Software Setup Simplicity Studio greatly reduces development time and complexity with Silicon Labs EFM32 and 8051 MCU products by providing a high powered IDE tools for hardware configuration and links to helpful resources all in one place Once Simplicity Studio is installed the application itself can be used to install additional software and documentation components to aid in the development and evaluation process Simplicity Simplicity Studio Fie Help E m y Studio cB X oX SILICON LABS Product 8051 850 1 rr el 1j b Q Use Parametric Search ES Simplicity IDE Configurator Y Detect Connected Device C8051F850 B GU Software and Kis Core 8051 Flash 8 kB zm A MHz 25 E 0 50 kB Software Application Kit
10. aaa aaa Rev 0 9 10 SILICON LABS C8051F32x DOCUMENT CHANGE LIST Revision 0 6 to Revision 0 7 m Section 1 added USB Debug Adapter and USB Cable Section 2 changed name from Hardware Setup to Hardware Setup using an EC2 Serial Adapter Section 2 added 2 Notes bullets Section 2 removed Note from bottom of page Added Section 3 Hardware Setup using a USB Debug Adapter Section 5 4 2 changed step 2 to include new instructions Section 7 J4 changed Serial Adapter to Debug Adapter Target Board DEBUG Interface Section added 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 Section 7 J8 changed Serial Adapter to USB Debug Adapter DEBUG Connector Pin Descriptions Table changed pin 10 to USB Power USB Debug Adapter Target Board Power Connector J8 Section changed Serial to USB Debug Revision 0 7 to Revision 0 8 Removed EC2 Serial Adapter from Kit Contents Removed Section 2 Hardware Setup using an EC2 Serial Adapter See RS232 Serial Adapter EC2 User s Guide Removed Section 8 EC2 Serial Adapter See RS232 Serial Adapter EC2 User s Guide Removed Section 9 USB Debug Adapter See USB Debug Adapter User s Guide Revision 0 8 to Revision
11. ass filter Rev 0 9 9 SILICON LABS C8051F32x 5 Schematic EJ m l ln isonet 1 026 15082 5 e1nBiJ L IN 0 aso 4 4 M 8 anoj mal 2 ol ange ld ozsouan A iio 031 8Md gt 12 all sa a and idi 1100 el Rm 23 25 E glz 1 NI938A 5 4 15 P once ONI er 9 aan 2 J SNBA ES Wea 12715 404 ON dOd ON d 92d E 9 zd anyo m elu sid na en f 1 d 54 WMd NVV TMd lt I vd a gH E NAA d 904 2 9 d 0d d 2074 om z He 07d d 00d e d o Mh 402 26 2 z 0d A Zod 3 A93ezteds li gr 1 er o 4 11021 1noza S12 4 4204 g SIOX case oe 51
12. bar Alternatively go to Project Build Project 7 Click Debug to download the project to the hardware and start a debug session 8 Press the Resume button to start the code running The LED should blink Be 9 Press the Suspend button to stop the code 10 Press the Reset the device button to reset the target MCU T 11 Press the Disconnect button to return to the development perspective 3 2 Simplicity Studio Help Simplicity Studio includes detailed help information and device documentation within the tool The help contains descriptions for each dialog window To view the documentation for a dialog click the question mark icon in the window This will open a pane specific to the dialog with additional details The documentation within the tool can also be viewed by going to Help gt Help Contents or Help Search Rev 0 9 3 SILICON LABS C8051F32x 3 3 Legacy 8 bit IDE Note Using the Simplicity Studio tools with the C8051F320 Development Kit is recommended See section 3 Software Setup on page 2 for more information Download the 8 bit software from the website www silabs com 8bit software or use the provided installer on the CD ROM to install the software tools for the C8051F32x devices After installation examples can be found in Examples C8051F320_1 in the installation directory At a minimum the C8051F320 DK requires m Silicon Labs IDE Software enabling initial evaluation developmen
13. e 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 C8051F320 target board is a 10 KO Thumb Wheel Rotary Potentiometer part number R14 The Potentiometer is connected to the C8051F320 s GPIO pin through a 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 1 O connector See Table 1 for the port pin and header corresponding to the Potentiometer Table 1 Target Board I O Descriptions Description Header Swi Reset none SW2 P2 0 J3 1 2 SW3 P2 1 J3 3 4 Green LED P2 2 J3 5 6 Green LED P2 3 J3 7 8 Red LED PWR none Potentiometer R14 J13 Rev 0 9 7 SILICON LABS C8051F32x 4 3 Universal Serial Bus USB Interface J14 A Universal Serial Bus USB connector J14 is provided to facilitate connections to the USB interface on the C8051F320 Table 2 shows the J14 pin definitions Table 2 USB Connector Pin Descriptions Pin Description 1 VBUS 2 D 3 D 4 GND Ground 4 4 Expansion I O Connector J1 The 32 pin Expansion I O connector J1 provides access to all signal pins of the C8051F320 device Pins for 3 V digital ground and the output of an on board low pass filte
14. n detect if certain toolchains are not activated If the Licensing Helper is displayed after completing the Setup Environment wizard follow the instructions to activate the toolchain 2 Rev 0 9 SILICON LABS C8051F32x 3 1 Running Blinky Each project has its own source files target configuration SDK configuration and build configurations such as the Debug and Release build configurations The IDE can be used to manage multiple projects in a collection called a workspace Workspace settings are applied globally to all projects within the workspace This can include settings such as key bindings window preferences and code style and formatting options Project actions such as build and debug are context sensitive For example the user must select a project in the Project Explorer view in order to build that project To create a project based on the Blinky example 1 Click the Simplicity IDE tile from the Simplicity Studio home screen 2 Click the Create new project link from the welcome screen or go to gt gt Labs MCU Project 3 In the Kit drop down select C8051F320 Development Kit in the Part drop down select C8051F320 and in the SDK drop down select the desired SDK Click Next 4 Select Example and click Next 5 Under C8051F320 Development Kit in the Blinky folder select F320 1 Blinky and click Finish 6 Click on the project in the Project Explorer and click Build the hammer icon in the top
15. owered from the USB the Serial Adapter is not powered from the target board The Serial Adapter must be powered directly by connecting the ac dc adapter to the Serial Adapters dc power jack Also the RS232 Serial Interface J5 cannot be used when powering the target board from the USB 8 Rev 0 9 SILICON LABS C8051F32x 4 6 Target Board DEBUG Interface J4 The DEBUG connector J4 provides access to the DEBUG C2 pins of the C8051F320 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 4 shows the DEBUG pin definitions Table 4 DEBUG Connector Pin Descriptions Pin Description 1 3 VD 3 3 VDC 2 3 9 GND Ground 4 C2D 5 RST Reset 6 P3 0 7 C2CK 8 Not Connected 10 USB Power 4 7 Serial Interface J5 5232 transceiver circuit and DB 9 J5 connector are provided on the target board to facilitate serial connections to UARTO of the C8051F320 The TX RX RTS and CTS signals of UARTO may be connected to the DB 9 connector and transceiver by installing shorting blocks on header J3 J3 9 10 Install shorting block to connect UARTO TX P0 4 to transceiver J3 11 12 Install shorting block to connect UARTO RX P0 5 to transceiver J3 13 14 Install shorting block to connect UARTO RTS P2 6 to transceiver J3 15 16 Install shorting block to connect UARTO CTS P2 7 to transceiver
16. r are also available A small through hole prototyping area is also provided All I O signals routed to connector J1 are also routed to through hole connection points between J1 and the prototyping area see Figure 4 on page 6 Each connection point is labeled indicating the signal available at the connection point See Table 3 for a list of pin descriptions for J1 Table 3 J1 Pin Descriptions Pin Description Pin Description Pin Description 1 3 VD 3 3 VDC 13 P1 2 25 P2 6 2 PWM Output 14 P1 3 26 P2 7 3 P0 0 15 P1 4 27 P3 0 4 PO 1 16 P1 5 28 RST Reset 5 P0 2 17 P1 6 29 VREGIN 6 P0 3 18 P1 7 30 VDD 7 P0 4 19 P2 0 31 VBUS 8 P0 5 20 P2 1 32 GND Ground 9 P0 6 21 P2 2 10 0 7 22 2 3 11 1 0 23 2 4 12 1 1 24 2 5 4 5 USB Self Powered Configuration 2 J11 The C8051F320 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 remove the shorting block from J2 and install on J11 A shorting block should only be installed on J2 or J11 never both at the same time Install shorting blocks in the following manner J2 ON amp J11 OFF Target Board is powered from the ac dc Adapter at P1 J2 OFF amp J11 ON Target Board is powered from the USB connection Note When the C8051F320 target board is self p
17. required However if you wish to operate the C8051F320 device at a frequency not available with the internal oscillator an external crystal may be used Refer to the C8051F32x 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 J9 and J10 and install the crystal at the pads marked Y1 Install a 10 MO resistor at R9 and install capacitors at C14 and C15 using values appropriate for the crystal you select Refer to the C8051F32x data sheet for more information on the use of external oscillators 4 2 Switches and LEDs Three switches are provided on the target board Switch SW1 is connected to the RESET pin of the C8051F320 Pressing SW1 puts the device into its hardware reset state Switch SW2 and SWS are connected to the C8051F320 s general purpose I O GPIO pins through headers Pressing SW2 SW3 generates a logic low signal on the port pin Remove the shorting blocks from the header to disconnect SW2 and SW3 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 is used to indicate a power connection to the target board The green LEDs labeled with port pin names are connected to the C8051F320 s GPIO pins through headers Remove th
18. t and debugging m Configuration Wizard 2 Initialization code generation software for the C8051F32x devices m Keil C51 Tools Keil 8051 Compiler Assembler Linker toolchain Other software available includes m Keil pVision Driver Driver for the Keil u Vision IDE that enables development and debugging on C8051Fxxx MCUs m Flash Programming Utilities and MCU Production 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 m 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 the latest version of the C51 Keil 8051 toolset This toolset is initially limited to a code size of 2 kB and programs start at code address 0x0800 After registration the code size limit is removed entirely and programs will start at code address 0x0000 To register the Keil toolset 1 Find the Product Serial Number printed on the CD ROM If you no longer have this serial number register on the Silicon Labs website www silabs com 8bit software to obtain the serial number 2 Open the Keil p Vision4 IDE from the installation directory with administrative privileges 3 Select File License Management to open the License Management window
Download Pdf Manuals
Related Search
Related Contents
Fiche de vente (N95 Duckbill) Philips TDA8002C User's Manual Copyright © All rights reserved.
Failed to retrieve file