0% found this document useful (0 votes)
117 views10 pages

DS9481P-300 USB-to-1-Wire/I2C Adapter

The DS9481P-300 is a USB-to-1-Wire/I2C adapter designed for easy connectivity to 1-Wire and I2C devices, supporting both Windows and Linux operating systems. It features a 6-pin female connector, driver support for various Windows versions, and can create a virtual COM port for communication. The adapter operates in both 1-Wire and I2C modes, allowing for flexible device interaction and includes detailed instructions for installation and usage.

Uploaded by

narami6596
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
117 views10 pages

DS9481P-300 USB-to-1-Wire/I2C Adapter

The DS9481P-300 is a USB-to-1-Wire/I2C adapter designed for easy connectivity to 1-Wire and I2C devices, supporting both Windows and Linux operating systems. It features a 6-pin female connector, driver support for various Windows versions, and can create a virtual COM port for communication. The adapter operates in both 1-Wire and I2C modes, allowing for flexible device interaction and includes detailed instructions for installation and usage.

Uploaded by

narami6596
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Click here to ask about the production status of specific part numbers.

DS9481P-300 Evaluates: 1-Wire Slave and


USB-to-1-Wire/I2C Adapter I2C Devices

General Description Features


The DS9481P-300 is a USB-to-1-Wire®/I2C adapter for ● Driver Support for Windows 10, Windows 7
easy PC connectivity to 1-Wire and I2C devices. The Operating Systems
adapter provides a 6-pin female connector with the sig- ● 1-Wire/I2C USB Adapter Creates a Virtual COM Port
nals to communicate with 1-Wire and I2C devices that on Windows, Linux, and Mac Operating Systems
support a 3.3V data I/O level. The DS9481P-300 driver
runs under Windows® 10, Windows 8, and Windows 7 ● Emulates the DS2480B Command Set
operating systems, both 64-bit and 32-bit versions. The ● 3.3V Read/Write Operation to 1-Wire
virtualized COM port provides a convenient communica- ● Supports Standard and Overdrive 1-Wire
tion interface. Communication
● Strong Pullup to 3.3V Provides the Additional Current
EV Kit Contents Required for 1-Wire EEPROM, Environmental
QTY DESCRIPTION Sensors, and Cryptographic Devices

1 DS9481P-300# USB to 1-Wire/I2C Adapter


● 1-Wire Active Pullup Accommodates Long Lines
● 3.3V I2C Operation with SDA and SCL Pullups
1 USB Type A-to-USB Micro-Type B cable
● Supports I2C Speeds of 100kHz and 400kHz
Ordering Information appears at end of data sheet. ● 6-Pin Female Interface
● Fully Compliant with USB Specification v2.0

DS9481P-300# USB-to-1-Wire/I2C Adapter

Figure 1. DS9418P-300

1-Wire is a registered trademark of Maxim Integrated Products, Inc.


Windows is a registered trademark of Microsoft Corporation.

319-100781; Rev 1; 7/21


DS9481P-300 Evaluates: 1-Wire Slave and
USB-to-1-Wire/I2C Adapter I2C Devices

DS9481P-300# USB-to-1-Wire/I2C Adapter (continued)

Figure 2. DS9481P-300 Top

Figure 3. DS9481P-300 Bottom

Quick Start Procedure


Required Equipment Request the DS9481P-300_drivers.zip package. Follow
this procedure for first-time evaluation:
● DS9481P-300# USB to I2C/1-Wire Adapter (included)
1) Do the following to install the Maxim DS9481P-300
● USB Type A to Micro-USB Type B cable (included) USB to the 1-Wire/I2C Adapter:
● PC with a Windows 10, Windows 8, or Windows 7
a. Extract the DS9481P-300_drivers.zip package and
operating system (64 bit or 32 bit) and a spare USB
open the folder with the DS9481P-300 drivers.
2.0 or higher port
b. Right click the [Link] file and select Install.
● Maxim DS9481P-300 USB to 1-Wire drivers c. Follow the directions of the installation.
Note: In the following sections, software-related items are 2) Follow the steps to install the 1-Wire drivers:
identified in bold. The text in bold refers to items directly a. Download the 1-Wire drivers from:
from the EV kit software. The text in bold and underlined
[Link]
refers to items from the Windows operating system.
ucts/ibutton-one-wire/one-wire/software-tools/
drivers/download-1-wire-ibutton-drivers-for-
[Link]

[Link] Maxim Integrated │ 2


DS9481P-300 Evaluates: 1-Wire Slave and
USB-to-1-Wire/I2C Adapter I2C Devices

b. Choose Operating System from the dropdown. agreement and click Install.
c. From the Select File dropdown, select 32-bit or h. Click Finish to exit the Setup Wizard.
64-bit 1-Wire drivers for the architecture used by 3) Find the enumeration of the virtual COM port by in-
the OS. serting the DS9481P-300 into a spare USB port on
d. Click Download. the computer. Determine the COM port by looking in
e. When prompted by Do you want to run or save Control PanelSystemHardwareDevice Man-
this file?, select Run. ager and expand the Ports (COM and LPT). The port
f. When a security warning says Do you want to is COM39 in the example in Figure 5.
run the software?, select Run. The installation of the DS9481P-300 adapter is complete
g. Read and check the box to accept the license now.

Figure 4. DS9481P-300 and USB Cable

Figure 5. COM Selection

[Link] Maxim Integrated │ 3


DS9481P-300 Evaluates: 1-Wire Slave and
USB-to-1-Wire/I2C Adapter I2C Devices

Detailed Description of Connectors For I2C communication, switch the adapter mode to the
I2C mode. To use 1-Wire mode again under I2C, send
J1 Pinout a command to return to the 1-Wire mode. If device is
Table 1 shows the pinout for J1 on the DS9481P-300. in the I2C mode, return to the 1-Wire mode before clos-
Pin 6 (VCC) supplies 3.3V power to the I2C and 1-Wire ing the software application. This ensures the adapter is
devices that require external power, while Pin 5 (GND) is back into the default mode. See Table 3 and Table 4 for
the corresponding ground return. Pin 4 (1W) is the bidirec- adapter commands, how to develop them, and instruc-
tional 1-Wire data bus, while Pins 2 (SCL) and 3 (SDA) are tions. Maxim Integrated does not have an API or dll for
the I2C communication interface pins. The GPIO (Pin 1) is the I2C interface.
currently not implemented.
To start the operation, set the COM port Baud Rate to
Device Operation 115200 with a read timeout of 1000ms.
The DS9481P-300 supports the 1-Wire and I2C modes. Follow the next recommendation if the OneWireLinkLayer.
By default, the DS9481P starts in the 1-Wire mode on dll is being used when connecting to the adapter:
power-up. ● Declare a variable as [Link].
The DS9481P-300 1-Wire mode emulates the DS2480B PortAdapter USB_adapter=[Link].
operation. Use the 1-Wire SDK to access the 1-Wire com- [Link]
mands under the Windows environment. Download SDK ● Connect the adapter as USB_adapter
and documentation from [Link] =[Link].
com/en/products/ibutton-one-wire/one-wire/software- GetAdapter("DS9097U", portNumber) 'UPDATE
tools/[Link] FROM "{DS9097U_DS9481}" this fixes issue with
After downloading the zip file, extract and navigate to port number not working above COM 15'
SDK\Lib\[Link]\ and use the OneWireLinkLayer. *Example provided in Visual Basic. Consult the
dll to access the 1-Wire commands. [Link] documentation for more informa-
For documentation, navigate to SDK\Docs\Compact. tion.
Net\. Note: The DS9481P-300 commands are sent using basic
writes and reads to the serial port.
Table 1. 1-Wire/I2C J1 Pinout
CONNECTOR PIN SIGNAL NAME Table 2. Micro-USB Type B USB Pinout
1 GPIO (future use) CONNECTOR PIN SIGNAL NAME
2 SCL 1 V+
3 SDA 2 D-
4 1W 3 D+
5 GND 4 DNC
6 VCC 5 V-

Figure 6. USB Connector

[Link] Maxim Integrated │ 4


DS9481P-300 Evaluates: 1-Wire Slave and
USB-to-1-Wire/I2C Adapter I2C Devices

Table 3. DS9481P-300 I2C Commands


COMMAND HEX VALUE PARAMETER RETURN DESCRIPTION RESTRICTIONS

The serial port must be freed from the


Reset Serial Byte Resets the [Link] using Adapter.
C1h None
Adapter to Write Serial Adapter. FreePort() if the adapter is being used
in the 1-Wire mode.

Sets the The adapter must be in the 1-Wire


Enter I2C I2C Byte
E5h None Adapter into Mode. Send a Reset Adapter Command
Mode to Write
I2C Mode. (C1h) to reset the serial port.

Table 4. DS9481P-300 I2C Commands


I2C ASCII HEX PARAMETER RETURN
SIDE EFFECTS DESCRIPTION
COMMAND COMMAND VALUE BYTE VALUE

Clears Error Flag


Start “S” 53h None None Issues an I2C Start.
and error LED.
Stop “P” 50h None None None Issues an I2C Stop.
Repeated Issues an I2C Repeated
“T” 54h None None None
Start Start.

Sets internal Error


I2C Byte to Writes parameter byte to
Write Byte “W” 57h None Flag and illuminates
Write I2C port.
Red LED on error.

Error Flag Byte Sets internal Error Writes parameter byte to


Write Byte I2C Byte to
“Q” 51h 00h = No Error Flag and illuminates I2C port and returns error
Status Write
01h = Error Red LED on error. flag status.

Read Byte I2C Data Byte Reads a byte with master


“R” 52h None None
ACK Read ACK and returns the value.

Read Byte I2C Data Byte Read a byte with master


“N” 4Eh None None
NACK Read NACK and returns the value.

Error Flag Byte


Clears Error Flag
Read Status “H” 48h None 00h = No Error Checks if error flag is set.
and error LED.
01h = Error

Responds with version.


Read Upper nibble is major
“V” 56h None Version Byte None
Version revision and lower nibble is
minor. Ex. 12h = v1.2.

Speed Byte:
Changes I2C speed Sets speed: If the
“F” = 400kHz
between 100kHz parameter byte is “F”, then
anything
Set Mode “M” 4Dh None and 400kHz. The it switches to 400kHz,
else reverts
baud rate register is otherwise reverts to
adapter back
set accordingly. 100kHz.
to 100kHz
Return to I2C Write Returns to 1-Wire Sets the device in 1-Wire
“CO” 43h,4Fh None
1-Wire mode Bytes Mode. Mode.

[Link] Maxim Integrated │ 5


DS9481P-300 Evaluates: 1-Wire Slave and
USB-to-1-Wire/I2C Adapter I2C Devices

Table 5. DS9481P-300 I2C Additional Command


I2C ASCII HEX SUB WRITE
WRITE DATA SIDE EFFECTS DESCRIPTION
COMMAND COMMAND VALUE CMD LENGTH

CRC8 of Sub Sets internal Error Write Only – I2C


Packetized Write Length
“Z” 5Ah 01h Command, Data Flag and illuminates Start, Write Data
Data Byte
and Error Flag Red LED on error. Bytes, I2C Stop.

The DS9481P-300 also supports packetized data as 3) Write to the serial port C1h (reset adapter), then E5h
shown in Table 5. (enter the I2C mode).
4) Wait at least 100ms before sending I2C commands.
Switching Between Modes
To switch to the 1-Wire mode:
By default, the DS9481P starts in 1-Wire mode on power-
up. 1) The adapter must be in the I2C mode. A flag vari-
able can be used in the software to track the adapter
To switch to the I2C mode:
mode.
1) The adapter must be in the default 1-Wire mode. A
2) Write to the serial port CO (43h,4Fh).
flag variable can be used in the software to track the
adapter mode. 3) Release the serial port in the software and use the
[Link] to communicate with the
2) If the adapter is being used by OneWireLinkLayer.
adapter. This reopens the COM port and establishes
dll, release the serial port using [Link]().
communication.

Ordering Information
PART TYPE
DS9481P-300# Adapter
#Denotes RoHS compliant

[Link] Maxim Integrated │ 6


DS9481P-300 Evaluates: 1-Wire Slave and
USB-to-1-Wire/I2C Adapter I2C Devices

DS9481P-300 EV Kit Bill of Materials


DESIGNATOR QTY DESCRIPTION
C1, C2, C4, C7, C9, C11, C12 7 CAP CER 1UF 6.3V 20% X5R 0402
C3, C8, C13 3 CAP CER 0.1UF 6.3V 10% X5R 0402
C5, C6 2 CAP CER 10PF 50V C0G 0603
C10 1 CAP CER 10PF 50V 5% NP0 0402
CN1 1 CONN RCPT STD MICRO USB TYPE B
D1 1 LED ORANGE HIGH BRIGHT USS 0603
FB1, FB2 2 FERRITE CHIP 220 OHM 2200MA 0603
J1 1 CONN RCPT .100” 6POS R/A SGL TIN
Q1 1 MOSFET N-CH 60V 115MA SOT23-3
Q2 1 MOSFET P-CH 20V 2.8A SOT-23
R1 1 RES SMD 10 OHM 5% 1/10W 0603
R2 1 RES SMD 1.5K OHM 5% 1/16W 0402
R3, R6, R7 3 RES SMD 100K OHM 1% 1/16W 0402
R4 1 RES SMD 32.4K OHM 1% 1/16W 0402
R5 1 RES SMD 4.7K OHM 5% 1/10W 0402
R8 1 RES SMD 1K OHM 5% 1/16W 0402
R9 1 RES SMD 2.2K OHM 5% 1/10W 0402
R10 1 RES SMD 499 OHM 1% 1/16W 0402
R11 1 RES SMD 4.99 OHM 1% 1/8W 0805
R12 1 RES SMD 680 OHM 5% 1/10W 0402
R13, R14 2 RES SMD 1.74K OHM 1% 1/10W 0402
RT1 1 PTC Fuse 1206
S1 1 SWITCH TACTILE SPST-NO 0.05A 12V
U1 1 Security Token Microcontroller with RTC and USB
U2 1 High PSRR, Low-Dropout, 150mA Linear Regulator
U3 1 Dual High-Speed Differential ESD Protection IC
U4 40ns Single-Supply Comparator
U5 1 4 Channel +/- 30kv ESD Protector
X1 1 CRYSTAL 12MHZ 10PF SMD
X2 1 Do not Populate

[Link] Maxim Integrated │ 7


DS9481P-300 Evaluates: 1-Wire Slave and
USB-to-1-Wire/I2C Adapter I2C Devices

DS9481P-300 Schematic Diagram

[Link] Maxim Integrated │ 8


DS9481P-300 Evaluates: 1-Wire Slave and
USB-to-1-Wire/I2C Adapter I2C Devices

DS9481P-300 PCB Layout Diagrams

DS9481P-300 PCB Layout Diagram—Top View

DS9481P-300 PCB Layout Diagram—Bottom View

[Link] Maxim Integrated │ 9


DS9481P-300 Evaluates: 1-Wire Slave and
USB-to-1-Wire/I2C Adapter I2C Devices

Revision History
REVISION REVISION PAGES
DESCRIPTION
NUMBER DATE CHANGED
0 6/21 Initial release —
1 7/21 Updated Procedure 2

For pricing, delivery, and ordering information, please visit Maxim Integrated’s online storefront at [Link]

Maxim Integrated cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a Maxim Integrated product. No circuit patent licenses
are implied. Maxim Integrated reserves the right to change the circuitry and specifications without notice at any time.

Maxim Integrated and the Maxim Integrated logo are trademarks of Maxim Integrated Products, Inc. © 2021 Maxim Integrated Products, Inc. │ 10

You might also like