Silicon Laboratories EC2 User Manual

Page 1
RS232 Adapter
RS232 SERIAL ADAPTER (EC2) USERS GUIDE
1. Contents
The RS232 Serial Adapter (EC2) package contains the following items:
• RS232 Serial Adapter (RS232 to Debug Interface)
• 7” Ribbon Cable
2. RS232 Serial Adapter (EC2)
Notes:
When powering the RS232 Serial Adapter via the DEBUG connector, the input voltage to the DEBUG
connector’s power pin must be 3.0 to 3.6 VDC. Otherwise, the Serial Adapter must be powered directly by connecting the ac/dc adapter to the Serial Adapter’s dc power jack.
The RS232 Serial Adapter requires a target system clock of 32 kHz or greater.
Table 1. RS232 Serial Adapter DEBUG Connector Pin Descriptions
DEBUG connector
Pin # Description
1 3.0 to 3.6 VDC Input
2, 3, 9 GND (Ground)
4TCK (C2D)
5TMS
6TDO
7TDI (C2CK)
8,10 Not Connected
Figure 1. RS232 Serial Adapter Connectors
Rev. 0.1 8/06 Copyright © 2006 by Silicon Laboratories RS232 Adapter
Page 2
RS232 Adapter
3. Hardware Setup using a RS232 Serial Adapter
Connect a target board to a PC running the Silicon Laboratories IDE via the RS232 Serial Adapter (EC2) as shown in Figure 2.
1. Connect one end of a RS232 serial cable to a Serial (COM) Port on the PC.
2. Connect the other end of the RS232 serial cable to the DB-9 connector on the RS232 Serial Adapter.
3. Connect one end of the 10-pin ribbon cable to the RS232 Serial Adapter’s DEBUG header.
4. Connect the other end of the ribbon cable to the target board at the DEBUG or JTAG connector.
5.
Connect a ac/dc power adapter to the power jack on the target board
Notes:
•Use the Reset button in the IDE to reset the target when connected using an RS232 Serial Adapter.
• Remove power from the target board and the
RS232
Serial 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
RS232
Serial Adapter.
• A RS232 Serial Cable is necessary when using the RS232 Serial Adapter. Serial cables are not included with the purchase of the RS232 Serial Adapter.
.
PC
.
AC/DC
Adapter
Target Board
Serial Cable
Serial Adapter
SERIAL ADAPTER EC2
7V – 9VDC
SILICON LABORATORIES
RS232
Ribbon
Cable
JTAG
PWR
STOP
RUN/
P3.7RESET
PWR
SILICON LABORATORIES
MCU
P1.6
Port 2 Port 0
Figure 2. Hardware Setup using an RS232 Serial Adapter (EC2)
Port 4Port 3Port 1
2 Rev. 0.1
Page 3
RS232 Adapter
4. Software Setup using a RS232 Serial Adapter
The Silicon Laboratories Integrated Development Environment (IDE) along with other software tools are provided for device development and debugging. The IDE is available for download from the Silicon Laboratories website and is also available on microcontroller development kit CD-ROMs. Once the IDE has been installed and the hard­ware has been connected as shown in Section 3, follow the steps below to built a project, connect and download to a target board using the Serial Adapter.
1. Select Project
saved project.
2. Before connecting to the target device, several connec-
tion options may need to be set. Open the Connection
Options window (shown in Figure 3) by selecting Options
3. Select RS232 Serial Adapter
Adapter” section.
4. Choose the correct COM Port from the drop-down list and
select the desired Baud Rate.
5. Next, the correct “Debug Interface” must be selected.
Check the Debug Interface corresponding to the Silicon Laboratories device on the target board.
6. Once all the selections are made, click the OK button to
close the window.
7. Click the Connect button in the toolbar or select
Debug
device.
8. Download the project to the target by clicking the
Download Code button in the toolbar.
Connect from the menu to connect to the
Open Project... to open a previously
Connection Options... in the IDE menu.
(EC2)
in the “Serial
9. Save the project when finished with the debug session
to preserve the current target build configuration, editor settings and the location of all open debug views. To
save the project, select Project from the menu. Create a new name for the project and click on Save.
Save Project As...
Rev. 0.1 3
Figure 3. Connection Options
Page 4
RS232 Adapter
5. Schematic
4 Rev. 0.1
Figure 4. RS232 Serial Adapter (EC2) Schematic
Page 5
NOTES:
RS232 Adapter
Rev. 0.1 5
Page 6
RS232 Adapter
CONTACT INFORMATION
Silicon Laboratories Inc. 4635 Boston Lane Austin, TX 78735 Tel: 1+(512) 416-8500 Fax: 1+(512) 416-9669 Toll Free: 1+(877) 444-3032
Email: MCUinfo@silabs.com Internet: www.silabs.com
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 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.
6 Rev. 0.1
Page 7
Mouser Electronics
Authorized Distributor
Click to View Pricing, Inventory, Delivery & Lifecycle Information:
Silicon Laboratories: EC2
Loading...