cancel
Showing results for 
Search instead for 
Did you mean: 

USB Superspeed Peripherals

siYU_4688301
New Contributor II

你好,

    I use the cyfxusbi2cregmode under INC to operate I2c, which can work normally and catch the correct waveform;However, in other projects, CyCx3UvcAppThread cannot be started by calling CyFxUsbI2cTransfer function I2c. The waveform caught through oscilloscope always catches the waveform initialized by MIPI through I2c (address 0x0E).Anybody can help me?

0 Likes
1 Solution
siYU_4688301
New Contributor II

打印log信息表明没有进去执行这个函数

View solution in original post

0 Likes
4 Replies
YiZ_31
Moderator
Moderator

您好,

CX3的I2C模块会用于内部控制自身的MIPI模块以及外部的sensor。能不能请您用中文解释下 CyCx3UvcAppThread cannot be started by calling CyFxUsbI2cTransfer function I2c.这句话说什么意思?

pastedImage_0.png

0 Likes
siYU_4688301
New Contributor II

就是我在CyCx3UvcAppThread这个线程下调用CyFxUsbI2cTransfe来操作其它的slave设备,发现抓不到I2c操作其它设备的波形,地址肯定是对的因为我用别的板子通过I2c来操作可以读写成功。

0 Likes
YiZ_31
Moderator
Moderator

你用uart打印过CyFxUsbI2cTransfer的返回值是否是success吗?是否有错误代码?

0 Likes
siYU_4688301
New Contributor II

打印log信息表明没有进去执行这个函数

View solution in original post

0 Likes