Transcript
CP240 X L C D D EVELOPMENT K I T Q UICK - S TA RT G UIDE Installation
Connect CP240x LCD Development Board to F9xx Target Board
CP240x LCD Development Board R1 5
P0.2
P1.6
J16
P1.5
J4
J11
J13
J5 J4
PW R
H 1
6
Insert Development Kit CD in CD-ROM Drive
VB AT
WALL_PWR +3V D
J14 RESE T IMEASURE J5
D2 LE D
AAA_BAT
J10
J7
J3
VDD/DC+
D1
Connect Power Supply to Target Board
J12 +1V D
J6 www.silabs.com
5
J9 J8
COIN_CELL J2
P 3
U3
SILICON LABS www.silabs.com U 1
IMEASURE
SILICON LABS
4
P0.3
USB POWER
TOUCH SENSE P2 SWITCH .1
F930
J 1
Connect USB Cable to USB Debug Adapter
`
DEBUG
TOUCH SENSE P2 SWITCH .0
CP2400-GQ LCD DEVELOPMENT BOARD
CP2400
3
J2
J17 H 2
O F F O N
S W 4
VBA T
J1 SW5
1 CELL
J15
U 1
Connect USB Debug Adapter to Target Board with DEBUG Cable
2 CELL
P 1
J5
2
F9xx Target Board
POWER OFF BEFORE SWITCHING MODE
1
P2
Connect USB Cable to PC
Note: Target Board may be powered from USB Debug adapter
Note: Some Target Boards include options for alternate power sources. See Development Kit User's Guide for details.
7
Select “Install Development Tools” from the introduction window and follow the on-screen instructions
Silicon Laboratories Inc. 400 West Cesar Chavez Austin, TX 78701 Email:
[email protected] Internet: www.silabs.com
From the Programs list in the Start menu, select Silicon Laboratories and click on the Silicon Laboratories IDE logo
8
Copyright © 2009 by Silicon Laboratories
Note: If autorun does not launch the introduction window, run "SETUP.EXE" directly from the CD.
9
Silicon Laboratories IDE opens
Rev. 0.1 11/09
Example Program 10
Select “Connection Options…” from “Options” menu
11
Connect to Target Board
12
Select “Download Object File…” from “Debug” menu
Select USB Debug Adapter
Next, click Browse and select the hex file “CP240x_Digits_ Example.hex” located at “C:\SiLabs\ MCU\CP240x\ CP240x_LCD_Example”
Select C2 Debug Interface
Click Download
13
Execute example program Digits “01234567” will be shown on the CP240x LCD Development Board
14
Stop execution of example program
15
Application Note 104: Integrating Keil 8051 Tools Into the Silicon Labs IDE has information on unlocking the evaluation compiler from a 2k code size limit to a 4k limit. It can be found on our application notes page here: https://www.silabs.com/products/mcu/ Pages/ApplicationNotes.aspx
The Keil Toolset Serial Number is needed and can be found on the Dev Kit CD
16
Open Project file “CP240x_LCD_Example.wsp” located at “C:\SiLabs\MCU\CP240x\ CP240x_LCD_Example\Source”
17
Click on Build and Download the Program “main.c” to open source file
18
Follow the instructions in the C 2400 and CP2401 Development Kit User’s Guide to modify the project and run other included examples The User’s Guide can be found under “Browse Documentation” in the menu on Step 7 of this Quick Start Guide
If you are having trouble installing and/or using the development kit, please use the following support resources: CP2400 and CP2401 Development Kit User's Guide (click "Browse Documentation" from the CD introduction window) Application Note “AN104: Integrating Keil 8051 Tools Into the Silicon Labs IDE" (contains instructions for obtaining the 4 k limited version of the Keil toolset) Latest versions of Application Notes can be found at https://www.silabs.com/products/mcu/Pages/ApplicationNotes.aspx MCU Knowledgebase (available at www.silabs.com SUPPORT) Contact an Applications Engineer using the online information request form (available at www.silabs.com SUPPORT Contact Technical Support).
2
Rev. 0.1