USB HID Communications Module for DS3900P2 2 I C Programming General Description Features The DS3900P2 programmer provides bidirectional com- Communicates from PCs to ICs and Select Maxim 2 munication with I C-compatible devices using a PCs Integrated EV Kits Through a USB Port Using the USB port. The DS3900P2 is a small form-factor module HID Class that requires appropriate headers to pass communica- 2 Fast Communication to I C-Compatible Devices tion signals to the device under test. The DS3900P2 is Built-In Pullup Resistors for SDA and SCL Minimize intended to interface with approved Human Interface Required External Hardware Device (HID)-compliant PC software designed by Maxim Connection to Standard Prototyping Boards and EV Integrated. It is intended for evaluation purposes only. Kits Possible Using Header Connectors EV Kit Contents Fully USB Powered Assembled DS3900P2 Circuit Board Can Provide a 3.3V, 250mA Power Rail Micro-USB Cable Fully Assembled and Tested Proven PCB Layout Ribbon Cable USB HID Interface for Windows XP-, Windows Vista-, and Windows 7-Compatible Software RoHS Compliant Ordering Information appears at end of data sheet. 2 DS3900P2 USB I C Programmer Windows, Windows Vista, and Windows XP are registered trademarks of Microsoft Corp. 19-6778 Rev 0 8/13USB HID Communications Module DS3900P2 2 for I C Programming Quick Start Detailed Description of Hardware Required Equipment Designing Hardware to Use the Built-In 2 DS3900P2 EV kit hardware (included) Support for I C Devices The DS3900P2 has custom firmware that uses either the Micro-USB cable (included) master synchronous serial port (MSSP) of the microcon- User-supplied PC with Windows XP, Windows Vista, or 2 troller configured in I C mode or several bit-banging rou- Windows 7 OS with USB Port tines with support for clock stretching. These two modes of A ppr ov ed pr ev ious ly des igned HI D- c om pliant G UI operation are configured through the evaluation software. designed by Maxim Integrated The DS3900P2 has built-in pullup resistors (R11, R12) 2 2 that connect 10k resistors to both I C signals. Customer PCB with I C connection or a previously purchased compatible Maxim Integrated EV kit Upon initial power-up, the DS3900P2 configures itself in 2 I C mode using the MSSP block of the microcontroller Setup Procedure with a SCL clock speed of 400kHz. Note that most evalu- The DS3900P2 communicates with ICs using a PCs ation software configures the DS3900P2 to the desired USB port. The microprocessor on the DS3900P2 com- communication protocol upon initial software execution municates to the PC using its full-speed compatible and during all USB reconnects of the DS3900P2. USB serial interface engine. The USB interface of the For designs that use the DS3900P2 to communicate to DS3900P2 hardware is configured as an HID device 2 I C devices, the following items must be accounted for in and, therefore, does not require a unique/custom device the hardware design: driver. Once properly connected to a PC through a USB cable, Windows should automatically begin installing the Place an appropriate connection on the circuit board. necessary device driver. Once the driver installation is Conn ect GND, SCL, and SDA. 3.3V can also be con- complete, a Windows message appears near the System nected if the DS3900P2 is providing power to the Icon menu indicating that the hardware is ready to use. circuit board. After the hardware is ready to use, open an approved Drive the DS3900P2 with evaluation software provided HID-compliant GUI designed by Maxim Integrated. The by Maxim Integrated. GUI then sends commands of various lengths over the Note: The DS3900P2 ribbon cable mates with stan- USB connection. This provides instruction and data for 2 the DS3900P2 to communicate with the I C-compatible dard 2.54mm (0.100in) 2 x 4 male header connectors. Some Maxim Integrated EV kits provide a 1 x 4 male devices. The DS3900P2 has a 3.3V LDO that supplies power to the microcontroller and optionally to a connected header for this connection. EV kit or PCB. The 3.3V rail supplies up to 250mA. Table 1. Recommended Operating Conditions (Typical values are at V = 3.3V, T = +25C, unless otherwise noted.) (Notes 1, 2) CC A PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS Operating Voltage V 3.3 V CC Supply Current I Current provided by 3.3V 250 mA CC Input Low Voltage V 0.15V V IL CC 0.25V + CC Input High Voltage V V IH 0.8V Output Low Voltage V I = 8.5mA +0.6 V OL OL Ambient Temperature T -40 +85 C A 2 I C Clock Frequency 100 400 kHz Note 1: All voltages listed are with respect to ground. Note 2: Devices are only functionally tested parameters listed are not guaranteed. Maxim Integrated 2 www.maximintegrated.com