Question about Sensor Interface Timing in i.MX6S

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Question about Sensor Interface Timing in i.MX6S

Jump to solution
858 Views
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

Labels (3)
0 Kudos
1 Solution
713 Views
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!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
5 Replies
714 Views
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 Kudos
713 Views
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

713 Views
ko-hey
Senior Contributor II

Igor

Would you follow and answer this question ?

Ko-hey

0 Kudos
713 Views
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

713 Views
ko-hey
Senior Contributor II

That's right.

Thank you.

Ko-hey

0 Kudos