Hi,@Artur Petukhov
I have aquestion about Synchronous Display Interface Timing Characteristics in i.MX 6DQ data sheet.
There is a specification of data holdup/setup timing in figure 71 and Table 70.
I think this LCD interface only output clock, data and controll signal to LCD. So, I wonder why there is setup time specification. I suppose usually data delay time and hold time from clock edge are specified for output signal.
I attched a doc.
I checked below, but I couldn't understand clearly.
https://community.nxp.com/message/597894
Best Regards,
Sugiyama
Hi,
Artur
Possibly does "Tdsu" mean a time from local start point to data valid?
" _______ ___|___ _______ ___"
"IPP_DISP_CLK_N| |_______| | |_______| |_______| "
" Tdicu |<->|"
" ________________________| |_______________ ___________"
" Tdsu(Typ)________________________XXXXX_______________X___________"
" Tdicd-1.24 |<-------->||<- 1.24"
" ________________________| |_______________ ____"
" Tdsu(min)_________________________XXXXXXXXXXX_______________X____"
" | <-- local start point"
Normally, data setup mean from data valid to edge for data latch.
" ___________ __________"
" data enable |_________________|"
" Tdsu |<------>|"
" ____________ |________|__ _______"
" DATA ____________XXXXXXXX____________X_______"
Best regards,
Ishii.
Hello Artur
Thank you for your comment and sorry for my late reply.
If DISP_CLK_UP = 0x00 and DISP_CLK_DOWN=0x02,
IP18 Tdsu(Min) will larger than Tdus(Typ) value.
We use following register setting
DI_CLK = 108MHz
DISP_CLK_PERIOD = 0x20
DI_CLK _PERIOD = 0x10
DISP_CLK_UP = 0x00
DISP_CLK_DOWN = 0x02
in this time
Tdiclk = 9.26nsec
Tdicd = 1/2(9.26ns * ceil( 2x (0x02/2) / (0x10/16) ) = 9.26
Tdicu = 1/2(9.26ns * ceil( 2x (0x00/2) / (0x10/16) ) = 0
Tdus(Min) = Tdicd - 1.24 = 9.26 - 1.24 = 8.02
Tdsu(Typ) = Tdicu = 0
So Tdus(Min): 8.02 > Tdsu(Typ): 0
In this case, how do we think about it?
Best regards,
Ishii.
art please continue with the follow up
Actually, there are just some confusing names for the timing parameters. And, you are right, here IP19 can be treated as the Data Delay time and IP18 - as the Data Hold time parameters.
Have a great day,
Artur
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi, Artur,
Thank you for clarifing it.
Thanks,
Sugiyama
Yes, your understanding is correct.
Best Regards,
Artur
Hello Artur,
I'm very confuse about IPP_DISP_CLK porarity in Figure 71 in IMX6DQAEC.
Mr Sugiyama say in attached document, that Figure 71 is missed,
Between local start point and falling edge of IPP_DISP_CLK is Tdicd.
Between local start point and rising edge of IPP_DISP_CLK is Tdicu.
But you say A.2(Answer of Q2) in thread About setup/hold time of synchronous display in i.MX6DQ.
to Figure 71 is correct.
Which is a correct answer?
If it is not clear, we can not discuss about table 70 in IMX6DQAEC,
because it is very ambiguous about IP18, IP19 meening.
My goal is to understand how to define each register value to fit a requirement of each LCD panel.
For it, please express a meaning of each timing parameter like,
IP18 : time from IPP_DATA valid to falling edge of IPP_DISP_CLK if IPP_DISP_CLK is not inverted..
IP19: time from falling edge of IPP_DISP_CLK, if IPP_DISP_CLK is not inverted.
Note: DISP_CLK_DOWN > DISP_CLK_UP.
Best regards,
Ishii.
Dear Takayuki Ishii,
Yes, you are right. In case of IPP_DISP_CLK is not inverted, these timings can be treated as follows.
IP18: IPP_DATA valid to falling edge of IPP_DISP_CLK.
IP19: falling edge of IPP_DISP_CLK to IPP_DATA invalid.
Best Regards,
Artur
Hi,
Artur
Thank you for your response.
Which timing does it triggered a data transition?
Local start time is correct?
Best regards,
Ishii.
Yes, you are right. The local start point triggers the data transfer according to the timings above.
Best Regards,
Artur
Hi Artur,
Thank you for your kindly support.
But I can not explain this logic to my customer yet.
Following are register value by Linux BSP 4.1.15 + i.MX6QSabre-SDP
Please inform me, how design IPU timing to fit LCD panel specification.
Best regards,
Ishii.
Hi
Can anyone comment to me?
Best regard,
Ishii.
Hi, Artur,
Thanks for review and answer.
Best Regards,
Sugiyama