Question about Sensor Interface Timing in i.MX6S

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Question about Sensor Interface Timing in i.MX6S

跳至解决方案
893 次查看
ko-hey
Senior Contributor II

Hi all

I have a question about Sensor Interface Timings.

Especially, Gated Clock Mode and Non-Gated Clock Mode.

Q1.

Is the data latched at the rising edge of the valid pixel clock ?

In  IMX6SDLIEC Rev. 7, 10/2016 , there are following description for Sensor Interface Timing in Gated Clock Mode.

"Data is latched at the rising edge of the valid pixel clocks."

However, it looks the data is latched at falling edge in the Figure 58 of  IMX6SDLIEC Rev. 7, 10/2016.

Which is correct ?

Q2.

Is the data latched at the rising edge of the valid pixel clock ?

In  IMX6SDLIEC Rev. 7, 10/2016 , there are following description for Sensor Interface Timing in Non-Gated Clock Mode.

"The timing is the same as the gated-clock mode”

However, in the Figure 38-17 and Figure 38-18 of RM, the edge is the oppsite.

Is the data latched at the rising edge of the valid pixel clock in Non-Gated Clock Mode ?

Ko-hey

标签 (3)
0 项奖励
1 解答
748 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Ko-hey

yes data is latched at the rising edge of pixel clock and

this is valid for Non-Gated Clock Mode too. Please note there is

IPUx_CSI0_SENS_CONF[CSI0_SENS_PIX_CLK_POL] bit which selects the

polarity of pixel clock, described in sect.38.5.151 CSI0 Sensor Configuration Register
(IPUx_CSI0_SENS_CONF)
i.MX6SDL Reference Manual

http://cache.freescale.com/files/32bit/doc/ref_manual/IMX6SDLRM.pdf

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
5 回复数
749 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Ko-hey

yes data is latched at the rising edge of pixel clock and

this is valid for Non-Gated Clock Mode too. Please note there is

IPUx_CSI0_SENS_CONF[CSI0_SENS_PIX_CLK_POL] bit which selects the

polarity of pixel clock, described in sect.38.5.151 CSI0 Sensor Configuration Register
(IPUx_CSI0_SENS_CONF)
i.MX6SDL Reference Manual

http://cache.freescale.com/files/32bit/doc/ref_manual/IMX6SDLRM.pdf

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
748 次查看
ko-hey
Senior Contributor II

Hi Igor

Let me confirm more.

According to the Figure 64, the IPUx_CSIx_DATA is latched at falling edge of IPUx_CSIx_PIX_CLK in Gated clock mode.

However, you answered that data is latched at the rising edge of pixel clock.

pastedImage_1.png

So the following figure is wrong. Am I correct ?

If yes, do you have any plan to revise it ?

Ko-hey

748 次查看
ko-hey
Senior Contributor II

Igor

Would you follow and answer this question ?

Ko-hey

0 项奖励
748 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Ko-hey

 

data is latched at the rising edge of pixel clock.

As the polarity of pixel clock can be changed with

IPUx_CSI0_SENS_CONF[CSI0_SENS_PIX_CLK_POL]

so picture above can be consdired as correct too.

Best regards
igor

748 次查看
ko-hey
Senior Contributor II

That's right.

Thank you.

Ko-hey

0 项奖励