IPU DI clock of i.mx6

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

IPU DI clock of i.mx6

Jump to solution
715 Views
宗標廖
Contributor V

Hello, Community

I have two questions about IPU DI clock of i.mx6.

Q1:

In page 2943 of IMX6SDLRM(Rev.2 04/2015), there is description as bellow.

-------------------------------------------------------------------------------------------------

DOWN - This parameter defines the offset from the beginning of the "RUN section"

to the negation of the signal; it is defined by the di#_cnt_down_<N> field, where N

is the counter's index. In case where DOWN < UP the waveform will have a 50%

duty cycle.

--------------------------------------------------------------------------------------------------

In the bold part above,what does the waveform refer to? Is it refer to the waveform of display's

interface clock?

But according to my test,I found that the duty cycle of the waveform of display's interface clock is

just related to IPU_DI#_BS_CLKGEN0 and IPU_DI#_BS_CLKGEN1. If di#_disp_clk_up is set

to 0, and di#_disp_clk_down is set to the half of di#_disp_clk_period, then the clock's waveform

will have a 50% duty cycle.

Is my opinion right?

Q2:

According to my test and the BSP source code(L3.14.28), I found that the

componnent_size_i field and di0_access_size_i field of IPU_DI#_DW_GEN_i must be smaller than

di#_disp_clk_period field of IPU_DI#_BS_CLKGEN0.

Why cannot di0_access_size_i be equal to di#_disp_clk_period? Please tell me the reason.

Best Regards.

ZongbiaoLiao

Labels (4)
0 Kudos
1 Solution
519 Views
art
NXP Employee
NXP Employee

Q. Is it refer to the waveform of display's interface clock?

A. No, it refers to the IPU PIN synchronous signal waveforms, generated by IPU counters 1 to 9, as defined in the IPU_DIx_SW_GEN0_y and IPU_DIx_SW_GEN1_y registers, where x is the number of corresponding Display Interface module (0 or 1) and y is the number of corresponding counter (1 to 9).

Q. I found that the duty cycle of the waveform of display's interface clock is just related to IPU_DI#_BS_CLKGEN0 and IPU_DI#_BS_CLKGEN1.

A. Yes, these registers contain the fields that define the display clock waveform.

Q. If di#_disp_clk_up is set to 0, and di#_disp_clk_down is set to the half of di#_disp_clk_period, then the clock's waveform will have a 50% duty cycle.

A. Yes, this is correct.

Q. Why cannot di0_access_size_i be equal to di#_disp_clk_period?

A. IPU should have at least one extra clock in the display clock period to switch data on the display bus.


Have a great day,
Artur

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

View solution in original post

0 Kudos
1 Reply
520 Views
art
NXP Employee
NXP Employee

Q. Is it refer to the waveform of display's interface clock?

A. No, it refers to the IPU PIN synchronous signal waveforms, generated by IPU counters 1 to 9, as defined in the IPU_DIx_SW_GEN0_y and IPU_DIx_SW_GEN1_y registers, where x is the number of corresponding Display Interface module (0 or 1) and y is the number of corresponding counter (1 to 9).

Q. I found that the duty cycle of the waveform of display's interface clock is just related to IPU_DI#_BS_CLKGEN0 and IPU_DI#_BS_CLKGEN1.

A. Yes, these registers contain the fields that define the display clock waveform.

Q. If di#_disp_clk_up is set to 0, and di#_disp_clk_down is set to the half of di#_disp_clk_period, then the clock's waveform will have a 50% duty cycle.

A. Yes, this is correct.

Q. Why cannot di0_access_size_i be equal to di#_disp_clk_period?

A. IPU should have at least one extra clock in the display clock period to switch data on the display bus.


Have a great day,
Artur

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

0 Kudos