TI中文支持网
TI专业的中文技术问题搜集分享网站

OPT3101EVM 出现 Operation I2C Register Read Failed.

#======

#Executing .. OPT3101/OPT3101EVMrevE3_Demo/devInit.py

#Start Time 2020-06-09 19:39:37.197000

Registers View – Reset property was not found

#================ ERRORS:0, WARNINGS:1 ================#

#================ ERRORS:0, WARNINGS:0 ================#

DEVR; Sending reset pulse to device

Operation I2C Register Read Failed.

Operation I2C Register Read Failed.

Operation I2C Register Read Failed.

                     … …

Operation I2C Register Read Failed.

Operation I2C Register Read Failed.

Internal electrical Crosstalk Correction

Operation I2C Register Read Failed.

#Error: %d format: a number is required, not NoneType

# "", line 8, in

# File "", line 146, in intXtalkCalib

# File "core\mDataTypes.py", line 408, in getValue

# File "core\mDataTypes.py", line 461, in readValue

# File "core\mDevice.py", line 383, in readProperty

# TypeError: %d format: a number is required, not NoneType

#

#

#================ ERRORS:145, WARNINGS:1 ================#

#Error: unsupported operand type(s) for &: 'NoneType' and 'int'

# "", line 4, in

# File "core\mDevice.py", line 319, in __setattr__

# File "core\mDataTypes.py", line 401, in setValue

# File "core\mDataTypes.py", line 439, in writeValue

# File "core\mDevice.py", line 367, in writeProperty

# TypeError: unsupported operand type(s) for &: 'NoneType' and 'int'

#

#

#================ ERRORS:1, WARNINGS:0 ================#

Operation I2C Register Read Failed.

#Error: %d format: a number is required, not NoneType

# "", line 1, in

# File "core\mDataTypes.py", line 408, in getValue

# File "core\mDataTypes.py", line 461, in readValue

# File "core\mDevice.py", line 383, in readProperty

# TypeError: %d format: a number is required, not NoneType

#

#

#================ ERRORS:2, WARNINGS:0 ================#

Operation I2C Register Read Failed.

#Error: %d format: a number is required, not NoneType

# "", line 657, in

# File "", line 22, in __init__

# File "", line 404, in readTIllum

# File "core\mDataTypes.py", line 408, in getValue

# File "core\mDataTypes.py", line 461, in readValue

# File "core\mDevice.py", line 383, in readProperty

# TypeError: %d format: a number is required, not NoneType

#

#

#================ ERRORS:2, WARNINGS:0 ================#

CAPE; Sending command to stop capture

No response from the Device

#Done executing .. OPT3101/OPT3101EVMrevE3_Demo/devInit.py

#End Time 2020-06-09 19:39:48.383000

#Execution Time = 11.1859998703 s

#================ ERRORS:1, WARNINGS:0 ================#

Amy Luo:

您好,

您要读取哪个寄存器呢,您可以用示波器测量一下I2C的两个信号波形吗

chuwen li1:

回复 Amy Luo:

不能, 我手头上就只有一个板子.

chuwen li1:

回复 Amy Luo:

按照用户手册操作,打开latte就直接出现这个页面.并出现很多错误提示.

chuwen li1:

回复 Amy Luo:

这条链接里也是这种问题, 但没有详细的解决说明e2e.ti.com/…/2610756The SCL_S and SDA_S pins are shorted when I connected external MCU pins by wire.刚接触,看不懂应该如何操作.我是直接USB链接电脑, 没有插上其他设备.启动Latte直接报错.

Amy Luo:

回复 chuwen li1:

链接中帖子出现这个错误的原因是SCL和SDA引脚短路了。也可以检查下您的板子上SCL和SDA是否短路。
另外也检查下:
1、驱动是否正确安装了
2、是否通过USB信号线连接至PC了

赞(0)
未经允许不得转载:TI中文支持网 » OPT3101EVM 出现 Operation I2C Register Read Failed.
分享到: 更多 (0)