Cypress技术论坛
直播中

李桂珍

7年用户 235经验值
私信 关注
[问答]

如何配置MIPI时钟

我一直与CX3实现USB摄像头,我有狮子座盒试试我的修改。这些是我以前的文章:1和2。
现在的问题是实现一切工作正确的MIPI配置。问题是,我没有足够的信息来更改设置。
我试图与索尼imx219pq工作,这些参数:
MIPI CSI时钟= 1368 mhzths准备= 47ths零= = = = 87hblanking 1528vblanking 683refclk 19.2 mhzsince这些价值观导致可能的范围内,我已经修改了他们的零= 10 hblanking = 20 vblanking = 200。
但是CX3接收机配置应用程序总是显示错误:
由于价值观是在正确的范围内,我不知道我为什么会得到这个错误。
该值在左侧有什么用(MIPI csi2输入图像传感器)如果从右边部分得到了正在使用的(CX3 MIPI接口配置)?
为什么会出现错误?
为什么一个大hblanking值产生较大的输出像素时钟的最小值?

以上来自于百度翻译


     以下为原文
  I have been working with CX3 to implement a USB camera, and I have the Denebola kit to try my modifications. These are my previous posts: #1 and #2.

The problem right now is to achieve the correct MIPI configuration for everything to work. The problem is, I don't have enough information to change the settings.
I am trying to work with a Sony IMX219PQ, with these parameters:
  • MIPI CSI clock = 1368 MHz
  • THS prepare = 47
  • THS zero = 87
  • Hblanking = 1528
  • Vblanking = 683
  • REFCLK = 19.2 MHz
Since these values lead to impossible ranges, I have modified them: THS zero = 100, Hblanking = 200, Vblanking = 200.
But the CX3 Receiver Configuration application always shows an error:

Since the values are in the right ranges, I don't know why am I getting this error.

What is the use of the values on the left side (MIPI CSI2 Inputs From Image Sensor) if the ones that are being used are obtained from the right section (CX3 MIPI Interface Configuration)?
Why does that error shows up?
Why does a larger Hblanking value leads to a larger Output Pixel Clock min value?

回帖(6)

潘沪城

2018-9-11 14:44:45
嗨,安德烈,
请参考以下我的回复。
1。由于价值观是在正确的范围内,我不知道我为什么会得到这个错误。
你使用的SDK版本是什么?我检查你的参数在我这边。它没有错误。
2。该值在左侧有什么用(MIPI csi2输入图像传感器)如果从右边部分得到了正在使用的(CX3 MIPI接口配置)?
>;>;是的,我们使用输入左边的面板计算/检查参数(范围)在右面板。你可以参考CX3 TRM知道这些时钟值的详细信息。
三。为什么会出现错误?
请让我知道SDK的版本。正如你所看到的,我们得到不同的结果。

以上来自于百度翻译


     以下为原文
  Hi Andrés,
 
Please refer to my reply below.
 
1. Since the values are in the right ranges, I don't know why am I getting this error.
>> Which version of SDK you are using? I check your parameters on my side. It has no error.

2.  What is the use of the values on the left side (MIPI CSI2 Inputs From Image Sensor) if the ones that are being used are obtained from the right section (CX3 MIPI Interface Configuration)?
>> Yes, we use inputs on the left panel to calculate/check the paramters( the range) on the right panel. You may refer to CX3 TRM to know the detailed information of these clock values.
 
3. Why does that error shows up?
>> Please let me know the version of the SDK. As you could see that we get different results.
举报

李桂珍

2018-9-11 15:02:33
引用: 缘来伴一生 发表于 2018-9-11 16:28
嗨,安德烈,
请参考以下我的回复。
1。由于价值观是在正确的范围内,我不知道我为什么会得到这个错误。

谢谢你的回答。
我正在使用SDK版本1.3.4,我现在更新了它。
我发过去后不可能的配置,因为有一定的最小值为框架和行消隐。因此,我尝试了这个新的配置。我甚至放慢了FPS 15所以不会有任何问题。
事情是这样的,输出像素时钟的最小值大于最大值。这是因为V空白值高。此参数控制相机的FPS,所以如果它是低,FPS会很高,结果都是一样的。这是否意味着,CX3不能从这个摄像头读取数据?
我有降低相机的时钟频率的思想,这是唯一可能的解决办法?
我想尽量少改变相机的设置。
编辑:更新,我看到降低CSI时钟值不降低输出像素时钟的最小值。
我看不出解决的办法。希望得到帮助。

以上来自于百度翻译


     以下为原文
  Thanks for your answer.
 
I am using SDK version 1.3.4, I updated it right now.
 
The configuration I sent last post wasn't possible, since there are certain minimum values for frame and line blanking. Therefore, I tried this new configuration. I even slowed the FPS to 15 so there wouldn't be any problem.

The thing is, the Output Pixel Clock minimum value is above the maximum value. This is because the V blanking value is high. This parameter controls the FPS of the camera, so if it is low, the FPS would be high, and the result would be the same. Does this means that CX3 can't read data from this camera?
 
I have thought of reducing the camera clock frequency, is that the only possible solution?
I would like to change the camera settings as little as possible.
 
EDIT: Update, I see that lowering the CSI clock value does not reduce the minimum value of the Output Pixel Clock.
I don't see a solution. Help would be appreciated.
举报

李桂珍

2018-9-11 15:18:35
引用: zbinxiang 发表于 2018-9-11 16:46
谢谢你的回答。
我正在使用SDK版本1.3.4,我现在更新了它。
我发过去后不可能的配置,因为有一定的最小值为框架和行消隐。因此,我尝试了这个新的配置。我甚至放慢了FPS 15所以不会有任何问题。

我不得不把FPS降低到15,相机时钟频率降低到一半。现在,每帧的字节总数接近目标,但视频不能流。
HSYNC、VSYNC和PCLK信号看起来不错,我错过了什么?

以上来自于百度翻译


     以下为原文
  I had to reduce the FPS to 15 and the camera clock frequency to half its value. Now the total amount of bytes per frame is near the objective, but still the video can't be streamed.
HSYNC, VSYNC and PCLK signals look good, what am I missing?
举报

李桂珍

2018-9-11 15:29:51
请在这个项目中感谢您的帮助。请回答我的问题。

以上来自于百度翻译


     以下为原文
  Please, your help would be appreciated in this project. Answer my questions, please.
举报

更多回帖

发帖
×
20
完善资料,
赚取积分