-
USB2I2C Win10驱动安装.pdf
2021-04-11 22:07:39Win10系统UK532-USB2I2C接口转化芯片驱动安装教程 -
UK532-USB2I2C-DRIVER.zip
2021-04-12 09:46:39UK532-USB2I2C WIN10免数字签名驱动 -
UK532-USB2I2C.zip
2021-04-11 22:00:04UK532-USB2I2C makes it possible to interface different kind of user applications to the PC over USB, without any need of µC controller programming. The Chip can be used as I²C/I2C/IIC/TWI/SMBUS ... -
Linux_USB2I2C驱动安装
2018-12-12 14:46:30Linux_USB2I2C驱动安装安装步骤: 安装步骤: 下载Linux系统下的USB2I2C驱动安装 ,必须下载正确,一般网上给的都是win7上的安装教程和驱动; 我下载的包为DataPkg_USB2I2C.zip: 解压下载好的驱动压缩包:#...Linux_USB2I2C驱动安装
-
下载Linux系统下的USB2I2C驱动安装 ,必须下载正确,一般网上给的都是win7上的安装教程和驱动;
我下载的包为DataPkg_USB2I2C.zip:
-
解压下载好的驱动压缩包:
# unrar x xxxxx.rar
或者是zip包,如果系统提示没安装unrar,先安装unrar后,再进行解压;
-
解压后会生成一个文件夹,该文件夹下的目录结构为:demo、driver、democh34x_pis、lib和readme.txt文件,readme.txt该文件中包含中英文版的驱动安装说明,根据readme.txt说明来就可以;
-
进入/driver目录,执行 make 命令,将生成一系列的文件,其中会生成一个对应于驱动源代码的ko文件,例如ch34x_pis.ko 文件,执行 sudo insmod ch34x_pis.ko 命令即可将该文件加载到Linux内核中;
-
退出/driver目录,进入/demo目录,执行
# make
命令,可以生成两个可执行文件,可以看到两个可执行文件 DEMO 和 DEMO_GUI 文件;
执行方法如下:# sudo ./DEMO
如果执行# ./DEMO
命令,会出现以下情况:
# sudo ./DEMO_GUI
接下来就可以自己的需求进行相应的操作了……
-
-
USB2I2C接口的CMOS图像传感器在线调试系统
2020-07-26 21:13:01文中详细介绍了基于USB2I2C接口实现对CMOS图像传感器的在线调试系统的设计过程,包括固件程序的设计方法,基于WDM模型的驱动程序设计和MFC的应用软件设计开发。 -
基于USB2I2C接口的CMOS图像传感器在线调试系统
2021-01-29 02:39:59该系统由PC机通过USB2I2C开发板访问CMOS图像传感器的寄存器,实现对图像的实时、快速的调整。在线调试系统由软硬件两部分组成,硬件部分利用I2C接口读写CMOS图像传感器的寄存器,软件部分不仅实现了DSP算法(增益 、... -
USB2I2C_VC++.zip
2020-06-14 10:33:54CH341 是一个USB 总线的转接芯片,通过USB总线提供异步串口、打印口、并口以及常用的2线和4 线等同步串行接口。在异步串口方式下,CH341提供串口发送使能、串口接收就绪等交互式的速率控制信号以及常用的MODEM 联络... -
Linux_USB2I2C驱动安装(以CH341驱动安装为例)
2018-12-12 16:10:44Linux_USB2I2C驱动安装安装步骤:(以CH341驱动安装为例) 安装步骤:(以CH341驱动安装为例) 下载Linux系统下的USB2I2C驱动安装 :http://www.wch.cn/downloads/file/202.html 我下载的包为CH341PAR_LINUX.ZIP: ...安装步骤:【以CH341驱动安装为例】
-
下载Linux系统下的USB2I2C驱动安装 :下载地址
我下载的包为CH341PAR_LINUX.ZIP:
-
解压下载好的驱动压缩包:
# unzip CH341PAR_LINUX.ZIP
-
解压后会生成一个文件夹,该文件夹名为 CH341PAR_LINUX ,该目录下的文件有:demo、driver、lib 文件;
-
进入/driver目录,执行
# make
命令,将生成一系列的文件,其中会生成一个对应于驱动源代码 ch34x_pis.c 的ko文件 ch34x_pis.ko 文件,执行
# sudo insmod ch34x_pis.ko
注:该步操作必须在每次系统重启时重新执行,因为该操作是将ch34×_pis.ko文件加载到内存中,当系统重启之后,内存中保存的数据将会被清除;
命令即可将该文件加载到Linux内核中;
执行完该命令后,可以执行# ls /dev
执行结果如下图所示,其中有一个名为 ch34x_pis0 的文件节点,即为刚刚添加成功的节点;
-
退出/driver目录,进入/demo目录,执行
# make
命令,可以生成两个可执行文件,可以看到两个可执行文件 DEMO 和 DEMO_GUI 文件;
说明:在该目录中包含两个Makefile文件,一个为“Makefile”,另一个为“Makefile2”,当#make“Makefile”文件时,只会生成一个“DEMO”可执行文件,如果#make“Makefile2”时,可以生成两个可执行文件“DEMO”和“DEMO_GUI”
执行方法如下:# sudo ./DEMO
如果执行
# ./DEMO
命令,会出现以下情况:
# sudo ./DEMO_GUI
接下来就可以自己的需求进行相应的操作了……!
相关的测试过程,大家可以参考如下链接中的过程进行操作:
https://github.com/zoobab/ch341-parport
-
-
[3.7.11][C][USB2Dynamixel2][mx-64] Issue : groupSyncRead getdata failed in Protocol 2
2020-12-02 12:51:01m using <code>USB2Dynamixel2</code> serial converter</li><li>I'm using `MX-64</li><li>and I'm having an <code>issue</code> : groupSyncRead getdata failed while I tried example sync_read_... -
[3.4.6][C][USB2U2D2][XM430-W350-R] Issue : Error connecting U2D2 via linux
2020-12-02 00:56:18I have followed all the steps for linux64 ubuntu and getting the following error:- <p>Succeeded to open the port! Succeeded to change the baudrate! [TxRxResult] There is no status packet! Press any ... -
UK551-USB2ISP.zip
2021-04-11 22:04:16The Chip can be used as I²C/I2C/IIC/TWI/SMBUS interface to i²C enabled peripheral IC´s. It also offers an 8bit bi-directional databus with EPP/MEM protocol, which could be used to interface HD... -
CubicSDR wtih LimeSDR and USB2
2020-11-27 22:41:23I need 10Mhz or 12Mhz for USB2 (both confirmed working with LimeSuite and GQRX). The two default values are very inappropriate for the LimeSDR on USB2 - 60Mhz would be fine with USB3. Unfortunately, ... -
golang中的usb2can连接
2018-10-03 15:13:44I want the computer to automatically set up <a href="https://www.8devices.com/products/usb2can/" rel="nofollow noreferrer">usb2serial</a> device. <p>My problem is the command that comes from Socket... -
[Master][C++][USB2Dynamixel2][MX64] Issue : Implementing function block
2020-12-02 00:56:16m using <code>USB2Dynamixel2</code> serial converter </li><li> <p>I'm using MX64 </li><li> <p>and I'm having an <code>issue</code> like what: </li></ul> <p>I have a Simulink modell with Image ... -
[3.6.2][C][USB2AX][MX-28] Issue : Realloc fails, there is heap corruption somewhere
2020-12-08 20:13:43Not sure, USB2AX I think? MX-28 <p>There is heap corruption somewhere, causing realloc to fail. full backtrace: <p>https://pastebin.com/raw/FxNW0jWW</p><p>该提问来源于开源项目:ROBOTIS-GIT/... -
[3.6.0][Python][USB2DYNAMIXEL][MX-64] Issue: Unclear type error in C folder
2020-12-01 15:37:38m using <code>USB2Dynamixel2</code> serial converter</li><li>I'm using <code>MX-64AR</code></li><li>and I'm having an <code>issue</code> like what <code>conflicting input type causing the ... -
`[3.5.2][C++][USB2Dynamixel2][L54-50-S500-R Issue : My motor doesn't work`
2020-12-02 09:22:43m using <code>USB2Dynamixel2</code> serial converter</li><li>I'm using <code>L54-50-S500-R</code> and 'M54-60-S250-R'</li><li>and I'm having an <code>issue</code> which is the torque ... -
D400 MIPI hardware error when imager saturates on USB2
2021-01-11 19:11:04| Language | C++ | | Segment | Machine Vision | <h3>Issue Description <p>When a D420, D430, or D435 camera connected via USB 2.0 is exposed to a very bight light that saturates the imager (i... -
[3.7.0][C++][USB2Dynamixel2][MX-12W] Issue : Moving status at ADDR 46 is wrong?
2020-12-01 15:38:08m using <code>USB2Dynamixel2</code> serial converter </li><li> <p>I'm using <code>MX-12W</code></p> </li><li> <p>and I'm having an <code>issue</code> like </li></ul> <p>I am oscillating ... -
[3.5.4][Python][USB2Dynamixel2][MX-28] Issue : Bulk read function does not work
2020-12-02 03:45:46<p>I am attempting to use the BulkRead functionality to simultaneously read the position of many MX-28 motors at once (I realize SyncRead is designed for this, but I intend to BulkRead other values at... -
Incorrect correlation of USB2/USB3 with Amazon Basics 10 port hub HU9002V1ESL
2020-11-24 11:20:31<div><p>When using the Amazon Basics 10 port hub HU9002V1ESL, I have observed that the USB2 and USB3 ports are incorrectly associated, which leads to the ports not turning off correctly. <p>As it can ... -
AWSU036ACH (AC1200) stuck on USB2 and 12 dBm
2020-11-28 01:31:43<p>my AC1200 adapter is stuck in USB2 mode and completely ignores any txpower setting. <p>I am running Linux Mint 18.2 with a 4.11.0-14 kernel. I have tried the 5.1.5 and 5.2.9 version of the rtl8812... -
Boot issue with X835: boot when connected on USB2 but not on USB3
2020-12-31 21:05:24I tried using a USB2 port and it worked??? <p>I setup netconsole to investigate and it boots on USB3 when netconsole is active. <p><strong>To reproduce Connect a X835 with an SSD on a USB3 port of the... -
[3.5.2][C++][USB2Dynamixel2][MX106R][L54-50-S500R][L54-50-S500R] Issue : Cannot combine MX & PRO ...
2020-12-02 19:24:52m using <code>USB2Dynamixel2</code> serial converter </li><li> <p>I'm using four <code>MX106R</code> , one <code>L54-50-S500R</code> and one <code>M54-60-S250-R</code></p> </li><li> <p>and I'm... -
[3.5.4][MATLAB][USB2Dynamixel2][MX-64] Issue : Can't read present position data while in velocity ...
2020-12-01 20:24:33<div><p>Hi, i'm using dynamixel mx-64 servo and commanding it using matlab with no problem , but i cannot read it's position while in velocity operating mode and i get the error below : ... -
I2C从地址之7位,8位和10位详解
2021-01-07 15:29:16经常有用户问我,使用USB2XXX的USB2IIC功能的时候,从机地址应该怎么传递的问题,这个问题的根源在于不同的I2C从机厂商采用了不同的I2C总线地址约定,导致在说I2C总线的时候总是容易搞混,本文主要针对这个问题对I2C...IIC/I2C从地址之7位,8位和10位详解
概述
经常有用户问我,使用USB2XXX的USB2IIC功能的时候,从机地址应该怎么传递的问题,这个问题的根源在于不同的I2C从机厂商采用了不同的I2C总线地址约定,导致在说I2C总线的时候总是容易搞混,本文主要针对这个问题对I2C总线地址进行详细的说明。
7位寻址
在7位寻址过程中,从机地址在启动信号后的第一个字节开始传输,该字节的前7位为从机地址,第8位为读写位,其中0表示写,1表示读。
图1:7位寻址。I2C总线规范规定,标准模式I2C,从机地址为7位长,其次是读/写位。
任何I2C设备都必须遵循这个标准,USB2XXX传输的从机地址即为这7bit地址,不包含读写位,读写位会根据不同的函数自动添加进去。
保留地址
I2C规范保留了两组和8个地址,1111XXX和0000XXX。这些地址用于特殊用途。下表已被取自 I2C规范(2000年)。
从机地址+R/W 描述 0000 0000 呼叫地址 0000 0001 起始字节 0000 001X CBUS地址 0000 010X 保留供不同的总线格式 0000 011X 保留将来用 0000 1XXX HS模式主机码 1111 0XXX 10位从机地址 1111 1XXX 保留将来用 8位地址
一些厂商在提供从机地址的时候说的是包含了读写位的8bit地址,比如他说写地址为0x92,读地址为0x93,如下图所示
图2: 8位寻址
这种情况下,你只需要将这个地址的前7bit提取出来,然后传入USB2XXX的接口函数即可,比如为0x49。
还有一种方式可以判断厂商提供的地址是7bit模式地址还是8bit地址模式的地址,7bit地址模式下,地址的取值范围在0x07到0x78之间,若超过了这个范围,那么这个地址可能就是8bit地址。
图3:有效的7bit地址范围
10位寻址
I2C总线的10bit寻址和7bit寻址是兼容的,这样就可以在同一个总线上同时使用7bit地址和10bit地址模式的设备,在进行10bit地址传输时,第一字节是一个特殊的保留地址来指示当前传输的是10bit地址。
图4:10bit地址寻址
在使用USB2XXX传输10bit地址模式的时候,只需要在初始化的时候配置为10bit地址模式,然后再调用读写数据函数的时候传入正确的10bit地址即可。
参考资料
-
I2C总线中8(7)bit和10bit介绍与区别
2019-11-07 10:32:42经常有用人问我,使用USB2XXX的USB2IIC功能的时候,从机地址应该怎么传递的问题,这个问题的根源在于不同的I2C从机厂商采用了不同的I2C总线地址约定,导致在说I2C总线的时候总是容易搞混,本文主要针对8位和10位I2C...经常有用人问我,使用USB2XXX的USB2IIC功能的时候,从机地址应该怎么传递的问题,这个问题的根源在于不同的I2C从机厂商采用了不同的I2C总线地址约定,导致在说I2C总线的时候总是容易搞混,本文主要针对8位和10位I2C总线地址进行详细的说明。
8位地址
一些厂商在提供从机地址的时候说的是包含了读写位的8bit地址,比如他说写地址为0x92,读地址为0x93,如下图所示
这种情况下,你只需要将这个地址的前7bit提取出来,然后传入USB2XXX的接口函数即可,比如为0x49。
还有一种方式可以判断厂商提供的地址是7bit模式地址还是8bit地址模式的地址,7bit地址模式下,地址的取值范围在0x07到0x78之间,若超过了这个范围,那么这个地址可能就是8bit地址。
10位寻址
I2C总线的10bit寻址和7bit寻址是兼容的,这样就可以在同一个总线上同时使用7bit地址和10bit地址模式的设备,在进行10bit地址传输时,第一字节是一个特殊的保留地址来指示当前传输的是10bit地址。
10bit地址寻址
在使用USB2XXX传输10bit地址模式的时候,只需要在初始化的时候配置为10bit地址模式,然后再调用读写数据函数的时候传入正确的10bit地址即可。
-
[3.7.21][LabVIEW,MATLAB][USB2Dynamixel][AX-12A] Issue : Overload Issue!
2020-12-02 12:51:43m using **USB2Dynamixel**</code> serial converter, but also I have an U2D2 and a CM-530</li><li>I'm using <strong><code>AX-12A</code></strong>, three of them to be exact</li><li>and I'm having... -
[3.5.4][C++][USB2Dynamixel][XM430-W210-T] Issue : [TxRxResult]There is no status packet
2020-12-02 20:50:42The USB2Dynamixel converter that I use, was used in a robot arm with MX dynamixel motors before. Does it make a difference? Any help is appreciated.</p><p>该提问来源于开源项目:ROBOTIS-GIT/... -
[3.7.21][C++][USB2Dynamixel][XM540-W150-R] Issue: Torque Control with XM540-W150 R Dynamixel
2020-12-01 21:12:12m using C++ Language</li><li>I'm using 'USB2Dynamixel' : http://www.robotis.fr/interface/283-u2d2.html</li><li>I'm using 'XM540-W150-R'</li></ul> <p>PROBLEM: <p>I would...