Silicon Laboratories SiM3 Series User Manual

32-Bit SiM3xxxx USB Debug Adapter
32-B
IT SiM3XXXX USB DEBUG ADAPTER USERS GUIDE
1. Introduction
The 32-bit USB Debug Adapter (UDA) provides the interface between the PC’s USB port and the Silicon Labs 32­bit target device’s in-system debug/programming circuitry. The attached 10-pin debug ribbon cable connects the adapter to the target board and the target device’s debug interface.
devices that can be referred to as “Silicon Labs 32-bit MCUs”, including EFM32, EZR32, and EFR32 devices.
Figure 1. USB Debug Adapter
2. Relevant Documentation
Application notes can be found on the 32-bit MCU Application Notes web page: www.silabs.com/32bit-software.
AN667: Getting Started with the Silicon Labs Precision32 IDE—Describes the software setup and
debugging process using the USB Debug Adapter.
AN678: Precision32 Si32FlashUtility Command-Line Programmer User’s Guide—The programming
utility and DLL discussed in this document uses the USB Debug Adapter to program the memory space of 32- bit devices.
Rev. 0.2 3/17 Copyright © 2017 by Silicon Laboratories 32-Bit SiM3xxxx USB Debug Adapter
32-Bit SiM3xxxx USB Debug Adapter
123
4
9
8
7
6
5
10
3. Pinout Specification
The 32-Bit USB Debug Adapter supports both JTAG and Serial Wire debug interfaces, and the adapter is powered from the USB connection to the PC. The adapter uses the standard ARM CoreSight 10-pin connector. Table 1 shows the pin definitions for the UDA keyed connector. The part number for the matching shrouded and keyed con­nector for a PCB is FTSH-105-01-F-F-K from Samtec. More information on the CoreSight connectors can be found here: http://www.keil.com/coresight/connectors.asp.
The USB Debug Adapter can automatically change the communication voltage level based on the level detected on pin 1 of the connector.
Note: The USB Debug Adapter requires a target system clock of 4 kHz or greater.
Table 1. USB Debug Adapter Debug Connector Pin Descriptions
Pin # Description Details
1 VREF This is the I/O reference voltage and should
normally be connected to the I/O voltage on the
device (VIO, or VDD on devices without VIO). 2 SWDIO / TMS Serial Wire Data I/O or JTAG TMS 3 GND (Ground) 4 SWCLK / TCK Serial Wire Clock or JTAG TCK 5 GND (Ground) 6 SWO / TDO Serial Wire Output (for Serial Wire Viewer or
SWV) or JTAG TDO 7 Not Connected 8TDI JTAG TDI 9 GND (Ground)
10 RESETB This pin should be connected to the RESETB
pin of the device.
Figure 2. 32-Bit USB Debug Adapter Connector
2 Rev. 0.2
32-Bit SiM3xxxx USB Debug Adapter
1
2
3
4. Minimum C2 Programming Connections
The minimum required program ming connections for the Serial Wire interface are VREF (pin 1), SWDIO (pin 2), SWCLK (pin 4), and ground (pins 3, 5, or 9). RESETB (pin 10) is highly recommended for debugging purposes, but is not required for production programming.
5. Hardware Setup using a USB Debug Adapter
Connect a 32-bit target board to a PC running the Silicon Laboratories Precision32 IDE via the USB Debug Adapter as shown in Figure 3.
1. Connect the USB Debug Adapter’s 10-pin ribbon cable to the 10-pin CoreSight connector on the target board.
2. Connect one end of a standard 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. Power the target board.
Notes:
•Use the Reset / Restart 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. Conn ecting or disconnecting the cable whe n the devices have power can damage the device and/or the USB Debug Adapter.
Figure 3. Hardware Setup using a USB Debug Adapter
6. USB Drivers
The USB Debug Adapter uses the Human Interface Device (HID) USB interface to communicate with the PC. Since most operating systems have this driver automatically built in, no drivers need to be installed to use the UDA.
Rev. 0.2 3
Loading...
+ 5 hidden pages