Home

UDP SiM3C1xx MCU Card User's Guide

image

Contents

1. dl GN3dSNS QN9 0 344505 ON ON ON 201242 en AGL Y cla QN9 3 1no NI X L 60W1 en DIANNA 91HV8 0S0dS 3Q0ld NZ NZ N NZ fm 1 e a SNIA AS SNA Zd l 8 34 17 027 85h 3101 ANLO UGX 012 Q AS Sn8A Zd Jnz v Jnr o uSXx 4 l02G038NW ld lt Id i 2 lt AG Md vf 10ZSOUEN lt 75 zd 100 lt 0 8 a o gt tc 14 SILICON LABS C8051F336 7 8 9 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 Sili
2. C8051F336 7 8 9 SILICON LABS C8051F336 DEVELOPMENT KIT USER S GUIDE 1 Relevant Devices The C8051F338 Development Kit is intended as a development platform for the microcontrollers in the C8051F336 7 8 9 MCU family Notes The target board included in this kit is provided with a pre soldered C8051F338 MCU QFN24 package e Code developed on the C8051F338 be easily ported to the other members of this MCU family Refer to the C8051F336 7 8 9 data sheet for the differences between the members of this MCU family e The C8051F336 7 8 9 family of devices are code compatible with the C8051F330 1 2 3 4 5 family of devices 2 Kit Contents The C8051F336 Development Kit contains the following items C8051F338 Target Board C8051Fxxx Development Kit Quick Start Guide AC to DC Power Adapter USB Debug Adapter USB to Debug Interface e USB Cable e CD ROM 3 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 Connect the 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
3. lt 2 5 2 2 A SILICON LABS www silabs com O e e J2 OO O OO OOJ 3yD 06 EN 68886589 LLU UU PWR Pin 1 Prototype Area I O Connection Points Figure 4 C8051F338 Target Board 6 Rev 0 3 SILICON LABS 5 1 Target Board Shorting Blocks Factory Defaults The C8051F338 target board comes from the factory with pre installed shows the positions of the factory default shorting blocks Prototype Area 0O00000000000000000000000 SILICON LABS www silabs com TB1 59252244 1 Prototype Area I O C8051F336 7 8 9 shorting blocks on many headers Figure 5 RESET SW3 70 Pin 2 USB P2 2102 U3 7 gt m Eg J2 D6 EN PWR Connection Points Figure 5 C8051F338 Target Board Shorting Blocks Factory Defaults Rev 0 3 SILICON LABS C8051F336 7 8 9 5 2 Target Board Power Options and Current Measurement The C8051F 338 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
4. 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 C8051F3368 device installed on the target board features a factory calibrated programmable high frequency internal oscillator 24 5 MHz base frequency 296 which is enabled as the system clock source on reset After reset the internal oscillator operates at a frequency of 3 0625 MHz 296 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 cr
5. 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 Target Board P0 7 RESET USB Debug Adapter UsB P2 D4 gt e e e 9 ee Prototype Area Silicon Laboratories USB DEBUG ADAPTER SILICON LABS www silabs com 000000000000000000000000 AC DC Adapter 2 TB1 5555555 595295220 LLLI LIII Figure 1 Hardware Setup Using a USB Debug Adapter Rev 0 3 2 14 Copyright 2014 by Silicon Laboratories C8051F336 7 8 9 C8051F336 7 8 9 4 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 E o Fie Help M Studio cB OX SI
6. target device s port pins are connected to the TB1 terminal block Refer to Table 5 for the TB1 terminal block connections Table 5 TB1 Terminal Block Pin Descriptions P0 6 CNVSTR IDAC 3 BS GND Ground 6 PO0 0 Vref Voltage Reference 5 9 IDAC Connector J6 The C8051F338 target board also features a Current to Voltage 1 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 PO 1 Install a shorting block on J6 to connect port pin PO 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 On the C8051F338 the debug pins C2CK and C2D are shared with the pins RST and P2 4 respectively The target board includes the resistors necessary to enable pin sharing which allow the RST and P2 4 pins to be used normally while simultaneously debugging the device See Application Note AN124 Pin Sharing Techniques for the C2 Interface at www silabs com for more information regarding pin sharing Rev 0 3 11 SILICON LABS C8051F336 7 8 9 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 GPIO pin Also if the UARTO peripheral on the MCU is enabled using the crossba
7. taskbar to show the installation progress 4 If needed the driver files can be uninstalled by selecting Windows Driver Package Silicon Laboratories option in the Programs and Features window Rev 0 3 9 SILICON LABS C8051F336 7 8 9 5 Target Board The C8051F336 Development Kit includes a target board with a C8051F338 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 4 for the locations of the various I O connectors Figure 5 on page 7 shows the factory default shorting block positions A summary of the signal names and headers is provided in Table 6 on page 12 P1 Power connector accepts input from 7 to 15 VDC unregulated 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 UARTO interface J6 Connects pin PO 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 Touch Sense Switch connection header TB1 Analog I O terminal block 7 RESET PIRE J11 sws R14 P1 3 Pin 1 S D7 Opi orn 1 Pin 2 Pin 4 J6 J4 D o
8. the displayed or filtered parts in the later device selection menus Choose the C8051F33x family by checking the C8051F33x check box Modify the part selection at any time by accessing the Part Management dialog from the Window gt Preferences Simplicity Studio Part Management menu item Simplicity Studio can 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 3 e a SILICON LABS C8051F336 7 8 9 4 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 File New Silicon Labs MCU Project 3 In the Kit drop down select C8051F338 Development Kit in the
9. CU 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 header J3 Remove the shorting block from the header to disconnect the LED from the port pin The port pin signal is also routed to a pin on the J1 I O connector Another red LED labeled USB is used to indicate a valid USB connection via the connector P2 See Table 1 for the port pins and headers corresponding to each LED Table 1 Target Board I O Descriptions Headers SW Rese SW P0 7 J3 3 4 SW3 Touch Sense Switch 1 0 P2 0 P2 1 P2 3 Green LED P1 3 P1 3 J3 1 2 Red LED PWR Power Red LED USB ACTIVE USB Active Rev 0 3 9 SILICON LABS C8051F336 7 8 9 5 5 Expansion I O Connector J1 The 26 Expansion I O connector J1 provides access to all signal pins of the C8051F338 device Pins for 3 V digital ground and the output of an on board low pass filter 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 2 for a list of pin descriptions for J1 Table 2 J1 Pin Descriptions Pi
10. LICON LABS Product im C amp 51F850 B GU _111 b Q Use Parametric Search iS nt Simplicity IDE Configurator Y Detect Connected Device C8051F850 B GU Software and Kits Core 8051 Flash 8 kB x 25 D gt 0 50 kB Software Application Kit Digital I O 18 Examples Notes Documentation ADC YES DAC NO v Resources Buy Sample Kit di 4 NEW ESETERE 8 K s E 1 D g O eer Silicon Labs Presentations Silicon Labs Technical University News pun NNNM o o e hes RR 4 and Brochures Community Support Figure 2 Simplicity Studio The following Simplicity Studio components are required for the C8051F338 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
11. 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 hardware and start a debug session 8 Press the Resume button to start the code running The LED should blink 9 Press the Suspend button to stop the code 10 Press the Reset the device button to reset the target MCU any 11 Press the Disconnect button to return to the development perspective 4 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 ee t i 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 Help Contents or Help Search Rev 0 3 3 SILICON LABS C8051F336 7 8 9 4 3 Legacy 8 bit IDE Note Using the Simplicity Studio tools with the C8051F338 Development Kit is recommended See section 4 Software Setup on page 2 for more information Download the 8 bit software from the webs
12. con 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 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 gt Rev 0 3 15 SILICON LABS
13. ite www silabs com 8bit software or use the provided installer on the CD ROM to install the software tools for the C8051F336 7 8 9 devices After installation examples can be found in 8051 336 9 in the installation directory At a minimum the C8051F338 DK requires m Silicon Labs IDE Software enabling initial evaluation development and debugging m Configuration Wizard 2 Initialization code generation software for the C8051F336 7 8 9 devices m Keil C51 Tools Keil 8051 Compiler Assembler Linker toolchain m CP210x Drivers Virtual COM Port VCP drivers for the CP210x COM interface More information on this installation process can be found in Section 4 4 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
14. mail 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 p Vision4 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 4 4 CP210x USB to UART VCP Driver Installation The MCU Card includes a Silicon Labs CP210x USB to UART Bridge Controller Device drivers for the CP210x need to be installed before the PC software can communicate with the MCU 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 agreement and follow the steps to install the driver on the system The installer will let you know when your system is up to date The driver files included in this installation have been certified by Microsoft 3 To complete the installation process connect the included USB cable between the host computer and the COM PORT USB connector J5 on the MCU Card Windows will automatically finish the driver installation Information windows will pop up from the
15. n Description 3 Poo 6 8 os 9 P6 P10 5 6 Target Board DEBUG Interface J4 The DEBUG connector J4 provides access to the DEBUG C2 pins of the C8051F 338 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 Pin Description P1 6 P2 3 Table 3 DEBUG Connector Pin Descriptions Pin amp Description ep Pea 8 NoiComeded amp 10 Rev 0 3 SILICON LABS C8051F336 7 8 9 5 7 Serial Interface J3 A USB to UART bridge circuit U3 and USB connector P2 are provided on the target board to facilitate serial connections to UARTO of the C8051F338 The Silicon Labs CP2102 U3 USB to UART bridge provides data connectivity between the C8051F338 and the PC via a USB port The TX RX RTS and CTS signals of UARTO may be connected to the CP2102 by installing shorting blocks on header J3 The shorting block positions for connecting each of these signals to the CP2102 are listed in Table 4 To use this interface the USB to UART device drivers should be installed as described in Section 4 4 CP210x USB to UART VCP Driver Installation on page 5 Table 4 Serial Interface Header J3 Description UARTO Pin Description TX P0 4 J3 7 8 P0 5 RTS 814 J3 11 12 CTS P1 2 5 8 Analog I O TB1 Several of the C8051F338
16. p 12 Rev 0 3 SILICON LABS C8051F336 7 8 9 6 Schematics dOd ON 919 z oval V Od of 2 10 1 peog 8 23160982 9 4 3222 1858 E 029 lt 71106 LMS al 13538 458 lt a 69 Dq lt 9d lt Lid 8r 21074 lt Ved lt ced X lt d LP 29 O Sid gt gt gt 822 415080 gt Old gt in lt 04 lt 804 lt 909 lt 0 1 34348A 0 0d QN9 G ld oval 8ISAN2 9 0d lal lt 022 v Zd a C 1979 14 01 35075 12 30 14 0 0d lt rod daa nS qi etg 44 0 Su anto ANL aay 9 G41 812 6 0 0d 438A 0 0d 9 5 cor lt tld OLY 93 Slid lt oval 1 9 0d s dOd ON dOd ON TIO dOd ON clo LA dOd ON 1 1 Q 69 gt 6f 0 dOd ON LM Q 13 a o gt tc LABS SILICON C8051F336 7 8 9 z 10 peog 827415080 7 4 JAILOV 850 KR 4 aay a X022 61M o1 voao 815 X022 91 ano t ms 1G 85 72 2 07 anvo ano t 19 99 0 D BH R vedl er gaa 04 023 LLEZEZGZSWN 027 60
17. r 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 Function Function Function Foo 2 Foo vwe VREF Tester st Pos over Wem ma my rm Sw mo 9 m ms mi mi NS NH ma Ge Amm mas w Pa M AN WWE ms m Ps AN JWSTBB ms Por XA wo w Po ce SS mi s mi Ge WES __ s o mmm x ma _______ SEA e Paad Mea ae ela Wo Wb Gb 3 GN 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 am
18. 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 uVision4 IDE from the installation directory with administrative privileges Select File License Management to open the License Management window License Management Single User License Floating License Floating License Administrator FlexLM License Customer Information Computer ID Name CID CCI4Q QSAH6 Company Get LIC via Intemet Email Product License ID Code Support Period PK51 Prof Develpers Kit Evaluation Version New License ID Code LIC 6 Uninstal Figure Keil uVision4 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 amp 4 Rev 0 3 SILICON LABS C8051F336 7 8 9 www keil com license install htm 6 Enter the Silicon Labs Product Serial Number printed on the CD ROM along with any additional required information 7 Once the form is complete click the Submit button An email will be sent to the provided e
19. ystal Remove shorting blocks at headers J9 and J10 and install the crystal at the pads marked Y1 Install a 10 MQ 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 amp 8 Rev 0 3 SILICON LABS C8051F336 7 8 9 5 4 Switches and LEDs Two push button switches are provided on the target board Switch SW1 is connected to the RESET pin of the C8051F338 Pressing SW1 puts the device into its hardware reset state Switch SW2 is connected to the C8051F338 s general purpose I O GPIO pin through headers Pressing SW2 generates a logic low signal the port pin Remove the shorting block from the header to disconnect SW2 from the port pins The port pin signal is also routed to a pin on the J1 I O connector See Table 1 for the port pins and headers corresponding to each switch One touch sensitive contactless switch is provided on the target board The operation of this switch needs appropriate code running on the C8051F338 MCU that 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 M

Download Pdf Manuals

image

Related Search

Related Contents

  Cofrel-7 Câblage et programmation clavier 2002    1D Barcode VCL Components User Manual - Han-soft  Patientenwärmematratze Modell U10X Benutzerhandbuch  Qlink XF200 User`s manual  Herunterladen  57756 BM250 multilingual A5 - Kenwood Spares, Parts & Accessories  SCU-17 USB INTERFACE UNIT    

Copyright © All rights reserved.
Failed to retrieve file